← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment

 

** Also affects: maas/2.4
   Importance: Undecided
       Status: New

** Changed in: maas/2.4
    Milestone: None => 2.4.x

** Changed in: maas/2.4
       Status: New => Triaged

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1607345

Title:
  Collect all logs needed to debug curtin/cloud-init for each deployment

Status in cloud-init:
  Fix Released
Status in MAAS:
  Triaged
Status in MAAS 2.4 series:
  Triaged
Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-init source package in Xenial:
  Fix Released
Status in cloud-init source package in Zesty:
  Fix Released

Bug description:
  According to https://bugs.launchpad.net/maas/+bug/1604962/comments/12,
  these logs are needed to debug curtin/cloud-init issues but aren't
  collected automatically by MAAS:

  - /var/log/cloud-init*
  - /run/cloud-init*
  - /var/log/cloud
  - /tmp/install.log

  We need these to be automatically collected by MAAS so we can
  automatically collect them as artifacts in the case of failures in
  OIL.  curtin/cloud-init issues can be race conditions that are
  difficult to reproduce manually, so we need to grab the logs required
  to debug the first time it happens.

  
  http://pad.lv/1607345
  https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1607345

  === Begin SRU Template ===
  [Impact]
  ubuntu-bug cloud-init now collects cloud-init-related information for a bug-report

  [Test Case]

  # Launch instance under test
  $ for release in xenial zesty;
    do
      ref=$release-proposed;
      lxc-proposed-snapshot --proposed --publish $release $ref;
      lxc launch $ref $name;
      sleep 10;
      lxc exec $name ubuntu-bug cloud-init  # And follow the prompts to report a bogus bug
    done

  [Regression Potential]
  Worst case scenario is the apport wrapper doesn't work and the developer has to file a bug manually instead.

  [Other Info]
  Upstream commit at
    https://git.launchpad.net/cloud-init/commit/?id=ca2730e2ac86b05f7e6

  === End SRU Template ===

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions