[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
This bug has not seen any activity in the last 6 months, so it is being automatically closed. If you are still experiencing this issue, please feel free to re-open. MAAS Team ** Changed in: maas Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: cloud-init (Ubuntu Zesty) Status: Fix Released => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
Cloud-init will likely need a couple of fixes to support this feature: - A new reporting handler which will POST collected cloud-init logs on cloud-init failure/exception conditions - Add #cloud-config support for reporting: opaquekey_maas_errorlogs: type: postlogs endpoint: http://yourendpoint consumer_key: con_key token_key: tk_key token_secret: tk_secret -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: cloud-init (Ubuntu) Status: Fix Released => Confirmed ** Changed in: cloud-init (Ubuntu Xenial) Status: Fix Released => Confirmed ** Changed in: cloud-init Importance: Wishlist => Medium ** Changed in: cloud-init Assignee: Chad Smith (chad.smith) => (unassigned) ** Description changed: - 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: + Re-opening this bug as confirmed because the previous SRU content + released only provided only 'cloud-init collect-logs'. A command line + tool which tars all cloud-init install logs and artifacts for triage. + + However, those fixes did not provide any configuration options for MAAS + to request that those logs are automatically published to MAAS upon + error. + + + Cloud-init should provide cloud-config which allows consumers to specify an endpoint and oauth credentials to which cloud-init will automatically POST all compressed cloud-init log artifacts. + + + === Original 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 + 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 + https://git.launchpad.net/cloud-init/commit/?id=ca2730e2ac86b05f7e6 === End SRU Template === -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: cloud-init Status: Fix Released => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: maas Milestone: 2.5.x => 2.6.0 ** No longer affects: maas/2.4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
Can someone please reopen this for cloud-init, since the fix wasn't the right one? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: maas Milestone: 2.5.0 => 2.5.x -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: maas Milestone: 2.5.0beta2 => 2.5.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: maas Milestone: 2.5.0beta1 => 2.5.0beta2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: maas Milestone: 2.5.0alpha2 => 2.5.0beta1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: maas Milestone: 2.5.x => 2.5.0alpha2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: maas Importance: Wishlist => High ** Changed in: maas/2.4 Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
Marking as incomplete for MAAS for the lack of a better status until cloud-init supports sending logs back, so that it is not confused with the cloud-init status. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
For the wider audience, this issue has *not* really been fixed in cloud- init for MAAS to be able to use it to collect logs. SO cloud-init needs to address this before MAAS can start collecting logs. ** Changed in: maas Status: Triaged => Incomplete ** Changed in: maas/2.4 Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Changed in: maas Milestone: 2.3.x => 2.5.x -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
** Tags added: cdo-qa foundations-engine -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
This bug was fixed in the package cloud-init - 17.1-27-geb292c18-0ubuntu1~16.04.1 --- cloud-init (17.1-27-geb292c18-0ubuntu1~16.04.1) xenial-proposed; urgency=medium * New upstream snapshot. - EC2: Limit network config to fallback nic, fix local-ipv4 only instances. (LP: #1728152) - Gentoo: Use "rc-service" rather than "service". [Carlos Konstanski] cloud-init (17.1-25-g17a15f9e-0ubuntu1~16.04.1) xenial-proposed; urgency=medium * New upstream snapshot. - resizefs: Fix regression when system booted with root=PARTUUID= (LP: #1725067) - tools: make yum package installation more reliable - citest: fix remaining warnings raised by integration tests. - citest: show the class actual class name in results. - ntp: fix config module schema to allow empty ntp config (LP: #1724951) - tools: disable fastestmirror if using proxy [Joshua Powers] cloud-init (17.1-18-gd4f70470-0ubuntu1~16.04.2) xenial-proposed; urgency=medium * cherry-pick 41152f1: schema: Log debug instead of warning when jsonschema is absent (LP: #1724354) cloud-init (17.1-18-gd4f70470-0ubuntu1~16.04.1) xenial-proposed; urgency=medium * drop the following cherry picks, now incorporated in snapshot. + debian/patches/cpick-a2f8ce9c-Do-not-provide-systemd-fsck-drop... * debian/copyright: dep5 updates, reorganize, add Apache 2.0 license. (LP: #1718681) * debian/control: drop dependency on python3-prettytable * debian/rules: install rsyslog file with 0644 mode instead of 0755. * debian/rules, debian/apport-launcher.py: add an apport hook. (LP: #1607345) * New upstream snapshot. (LP: #1721847) - simpletable: Fix get_string method to return table-formatted string - net: Handle bridge stp values of 0 and convert to boolean type [Chad Smith] - tools: Give specific --abbrev=8 to "git describe" - network: bridge_stp value not always correct [Ryan Harper] - tests: re-enable tox with nocloud-kvm support [Joshua Powers] - systemd: remove limit on tasks created by cloud-init-final.service. [Robert Schweikert] - suse: Support addition of zypper repos via cloud-config. [Robert Schweikert] - tests: Combine integration configs and testcases [Joshua Powers] - Azure, CloudStack: Support reading dhcp options from systemd-networkd. [Dimitri John Ledkov] - packages/debian/copyright: remove mention of boto and MIT license - systemd: only mention Before=apt-daily.service on debian based distros. [Robert Schweikert] - Add missing simpletable and simpletable tests for failed merge [Chad Smith] - Remove prettytable dependency, introduce simpletable [Andrew Jorgensen] - debian/copyright: dep5 updates, reorganize, add Apache 2.0 license. [Joshua Powers] - tests: remove dependency on shlex [Joshua Powers] - AltCloud: Trust PATH for udevadm and modprobe. - DataSourceOVF: use util.find_devs_with(TYPE=iso9660) [Ryan Harper] - tests: remove a temp file used in bootcmd tests. - release 17.1 - doc: document GCE datasource. [Arnd Hannemann] - suse: updates to templates to support openSUSE and SLES. [Robert Schweikert] - suse: Copy sysvinit files from redhat with slight changes. [Robert Schweikert] - docs: fix sphinx module schema documentation [Chad Smith] - tests: Add cloudinit package to all test targets [Chad Smith] - Makefile: No longer look for yaml files in obsolete ./bin/. - tests: fix ds-identify unit tests to set EC2_STRICT_ID_DEFAULT. - ec2: Fix maybe_perform_dhcp_discovery to use /var/tmp as a tmpdir [Chad Smith] - Azure: wait longer for SSH pub keys to arrive. [Paul Meyer] - GCE: Fix usage of user-data. - cmdline: add collect-logs subcommand. [Chad Smith] - CloudStack: consider dhclient lease files named with a hyphen. - resizefs: Drop check for read-only device file, do not warn on overlayroot. [Chad Smith] - tests: Enable the NoCloud KVM platform [Joshua Powers] - resizefs: pass mount point to xfs_growfs [Dusty Mabe] - vmware: Enable nics before sending the SUCCESS event. [Sankar Tanguturi] - cloud-config modules: honor distros definitions in each module [Chad Smith] - chef: Add option to pin chef omnibus install version [Ethan Apodaca] - tests: execute: support command as string [Joshua Powers] - schema and docs: Add jsonschema to resizefs and bootcmd modules [Chad Smith] - tools: Add xkvm script, wrapper around qemu-system [Joshua Powers] - vmware customization: return network config format [Sankar Tanguturi] - Ec2: only attempt to operate at local mode on known platforms. - Use /run/cloud-init for tempfile operations. - ds-identify: Make OpenStack return maybe on arch other than intel. - tests: mock missed openstack metadata uri network_data.json [Chad Smith] - relocate
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
This bug was fixed in the package cloud-init - 17.1-27-geb292c18-0ubuntu1~17.04.1 --- cloud-init (17.1-27-geb292c18-0ubuntu1~17.04.1) zesty-proposed; urgency=medium * New upstream snapshot. - EC2: Limit network config to fallback nic, fix local-ipv4 only instances. (LP: #1728152) - Gentoo: Use "rc-service" rather than "service". [Carlos Konstanski] cloud-init (17.1-25-g17a15f9e-0ubuntu1~17.04.1) zesty-proposed; urgency=medium * New upstream snapshot. - resizefs: Fix regression when system booted with root=PARTUUID= (LP: #1725067) - tools: make yum package installation more reliable - citest: fix remaining warnings raised by integration tests. - citest: show the class actual class name in results. - ntp: fix config module schema to allow empty ntp config (LP: #1724951) - tools: disable fastestmirror if using proxy [Joshua Powers] cloud-init (17.1-18-gd4f70470-0ubuntu1~17.04.2) zesty-proposed; urgency=medium * cherry-pick 41152f1: schema: Log debug instead of warning when jsonschema is absent (LP: #1724354) cloud-init (17.1-18-gd4f70470-0ubuntu1~17.04.1) zesty-proposed; urgency=medium * drop the following cherry picks, now incorporated in snapshot. + debian/patches/cpick-a2f8ce9c-Do-not-provide-systemd-fsck-drop... * debian/copyright: dep5 updates, reorganize, add Apache 2.0 license. (LP: #1718681) * debian/control: drop dependency on python3-prettytable * debian/rules: install rsyslog file with 0644 mode instead of 0755. * debian/rules, debian/apport-launcher.py: add an apport hook. (LP: #1607345) * New upstream snapshot (LP: #1721847) - simpletable: Fix get_string method to return table-formatted string - net: Handle bridge stp values of 0 and convert to boolean type [Chad Smith] - tools: Give specific --abbrev=8 to "git describe" - network: bridge_stp value not always correct [Ryan Harper] - tests: re-enable tox with nocloud-kvm support [Joshua Powers] - systemd: remove limit on tasks created by cloud-init-final.service. [Robert Schweikert] - suse: Support addition of zypper repos via cloud-config. [Robert Schweikert] - tests: Combine integration configs and testcases [Joshua Powers] - Azure, CloudStack: Support reading dhcp options from systemd-networkd. [Dimitri John Ledkov] - packages/debian/copyright: remove mention of boto and MIT license - systemd: only mention Before=apt-daily.service on debian based distros. [Robert Schweikert] - Add missing simpletable and simpletable tests for failed merge [Chad Smith] - Remove prettytable dependency, introduce simpletable [Andrew Jorgensen] - debian/copyright: dep5 updates, reorganize, add Apache 2.0 license. [Joshua Powers] - tests: remove dependency on shlex [Joshua Powers] - AltCloud: Trust PATH for udevadm and modprobe. - DataSourceOVF: use util.find_devs_with(TYPE=iso9660) [Ryan Harper] - tests: remove a temp file used in bootcmd tests. - release 17.1 - doc: document GCE datasource. [Arnd Hannemann] - suse: updates to templates to support openSUSE and SLES. [Robert Schweikert] - suse: Copy sysvinit files from redhat with slight changes. [Robert Schweikert] - docs: fix sphinx module schema documentation [Chad Smith] - tests: Add cloudinit package to all test targets [Chad Smith] - Makefile: No longer look for yaml files in obsolete ./bin/. - tests: fix ds-identify unit tests to set EC2_STRICT_ID_DEFAULT. - ec2: Fix maybe_perform_dhcp_discovery to use /var/tmp as a tmpdir [Chad Smith] - Azure: wait longer for SSH pub keys to arrive. [Paul Meyer] - GCE: Fix usage of user-data. - cmdline: add collect-logs subcommand. [Chad Smith] - CloudStack: consider dhclient lease files named with a hyphen. - resizefs: Drop check for read-only device file, do not warn on overlayroot. [Chad Smith] - tests: Enable the NoCloud KVM platform [Joshua Powers] - resizefs: pass mount point to xfs_growfs [Dusty Mabe] - vmware: Enable nics before sending the SUCCESS event. [Sankar Tanguturi] - cloud-config modules: honor distros definitions in each module [Chad Smith] - chef: Add option to pin chef omnibus install version [Ethan Apodaca] - tests: execute: support command as string [Joshua Powers] - schema and docs: Add jsonschema to resizefs and bootcmd modules [Chad Smith] - tools: Add xkvm script, wrapper around qemu-system [Joshua Powers] - vmware customization: return network config format [Sankar Tanguturi] - Ec2: only attempt to operate at local mode on known platforms. - Use /run/cloud-init for tempfile operations. - ds-identify: Make OpenStack return maybe on arch other than intel. - tests: mock missed openstack metadata uri network_data.json [Chad Smith] - relocate
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
=== abridged SRU Verification output === for release in xenial zesty; > do > ref=$release-proposed; > name=test-$release; > lxc-proposed-snapshot --proposed --publish $release $ref; > lxc launch $ref $name; > sleep 10; > lxc exec $name ubuntu-bug cloud-init > done Creating xenial-proposed-232735567 [sudo] password for csmith: --proposed -- ... The following packages will be upgraded: cloud-init Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 cloud-init all 17.1-27-geb292c18-0ubuntu1~16.04.1 [341 kB] ... Starting test-xenial *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. . *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Is this machine running in a cloud environment? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Please select the cloud vendor or environment in which this instance is running Choices: 1: Amazon - Ec2 2: AliYun 3: AltCloud 4: Azure 5: Bigstep 6: CloudSigma 7: CloudStack 8: DigitalOcean 9: GCE - Google Compute Engine 10: MAAS 11: NoCloud 12: OpenNebula 13: OpenStack 14: OVF 15: Scaleway 16: SmartOS 17: VMware 18: Other C: Cancel Please choose (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/C): 4 . *** Your user-data or cloud-config file can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (79.1 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): v What would you like to do? Your options are: S: Send report (79.1 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): c --- zesty Creating zesty-proposed-2228631772 --proposed -- The following packages will be upgraded: cloud-init ... Get:1 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 cloud-init all 17.1-27-geb292c18-0ubuntu1~17.04.1 [339 kB] ... Starting test-zesty *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. . *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y PCI (sysfs) *** Is this machine running in a cloud environment? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Please select the cloud vendor or environment in which this instance is running Choices: 1: Amazon - Ec2 2: AliYun 3: AltCloud 4: Azure 5: Bigstep 6: CloudSigma 7: CloudStack 8: DigitalOcean 9: GCE - Google Compute Engine 10: MAAS 11: NoCloud 12: OpenNebula 13: OpenStack 14: OVF 15: Scaleway 16: SmartOS 17: VMware 18: Other C: Cancel Please choose (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/C): 8 *** Your user-data or cloud-config file can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (86.8 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): v What would you like to do? Your options are: S: Send report (86.8 KB) V: View report K: Keep report file for sending later or copying to somewhere else I:
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
Hello Jason, or anyone else affected, Accepted cloud-init into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud- init/17.1-27-geb292c18-0ubuntu1~16.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Tags removed: verification-done-xenial ** Tags added: verification-needed-xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
Hello Jason, or anyone else affected, Accepted cloud-init into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud- init/17.1-27-geb292c18-0ubuntu1~17.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-zesty to verification-done-zesty. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-zesty. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Tags removed: verification-done verification-done-zesty ** Tags added: verification-needed verification-needed-zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
=== cloud-init SRU Verification output === --- xenial root@test-xenial:~# ubuntu-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. . *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Is this machine running in a cloud environment? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Please select the cloud vendor or environment in which this instance is running Choices: 1: Amazon - Ec2 2: AliYun 3: AltCloud 4: Azure 5: Bigstep 6: CloudSigma 7: CloudStack 8: DigitalOcean 9: GCE - Google Compute Engine 10: MAAS 11: NoCloud 12: OpenNebula 13: OpenStack 14: OVF 15: Scaleway 16: SmartOS 17: VMware 18: Other C: Cancel Please choose (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/C): 6 . *** Your user-data or cloud-config file can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (85.6 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): v What would you like to do? Your options are: S: Send report (85.6 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.7_ilbqj5.apport root@test-xenial:~# egrep 'user_data|Cloud|lshw' /tmp/apport.cloud-init.7_ilbqj5.apport CloudName: CloudSigma Cloud-init v. 17.1 running 'init-local' at Mon, 16 Oct 2017 20:21:45 +. Up 0.00 seconds. Cloud-init v. 17.1 running 'init' at Mon, 16 Oct 2017 20:21:49 +. Up 4.00 seconds. Cloud-init v. 17.1 running 'modules:config' at Mon, 16 Oct 2017 20:21:50 +. Up 5.00 seconds. Cloud-init v. 17.1 running 'modules:final' at Mon, 16 Oct 2017 20:21:51 +. Up 6.00 seconds. Cloud-init v. 17.1 finished at Mon, 16 Oct 2017 20:22:26 +. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]. Up 41.00 seconds lshw.txt: user_data.txt: ---zesty root@test-zesty:~# ubuntu-bug cloud-init *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. *** Your device details (lshw) may be useful to developers when addressing this bug, but gathering it requires admin privileges. Would you like to include this info? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Is this machine running in a cloud environment? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y *** Please select the cloud vendor or environment in which this instance is running Choices: 1: Amazon - Ec2 2: AliYun 3: AltCloud 4: Azure 5: Bigstep 6: CloudSigma 7: CloudStack 8: DigitalOcean 9: GCE - Google Compute Engine 10: MAAS 11: NoCloud 12: OpenNebula 13: OpenStack 14: OVF 15: Scaleway 16: SmartOS 17: VMware 18: Other C: Cancel Please choose (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/C): 5 *** Your user-data or cloud-config file can optionally be provided from /var/lib/cloud/instance/user-data.txt and could be useful to developers when addressing this bug. Do you wish to attach user-data to this bug? What would you like to do? Your options are: Y: Yes N: No C: Cancel Please choose (Y/N/C): y .. *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are: S: Send report (102.7 KB) V: View report K: Keep report file for sending later or copying to somewhere else I: Cancel and ignore future crashes of this program version C: Cancel Please choose (S/V/K/I/C): k Problem report file: /tmp/apport.cloud-init.c2rk91_3.apport root@test-zesty:~# egrep 'user_data|cloud|lshw' /tmp/apport.cloud-init.c2rk91_3.apport cloud-guest-utils 0.30-0ubuntu2 Oct 16 20:25:24 hostname systemd[1]: cloud-init-local.service:
[Bug 1607345] Re: Collect all logs needed to debug curtin/cloud-init for each deployment
This bug is missing the SRU template but I believe this is just adding an apport hook so I'll let it in without one. However, we should have one before accepting the package into -updates. ** Also affects: cloud-init (Ubuntu) Importance: Undecided Status: New ** Changed in: cloud-init (Ubuntu Zesty) Status: New => Fix Committed ** Tags added: verification-needed verification-needed-zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607345 Title: Collect all logs needed to debug curtin/cloud-init for each deployment To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1607345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs