[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-09-22 Thread Scott Moser
This bug is believed to be fixed in cloud-init in 17.1. If this is still a problem for you, please make a comment and set the state back to New Thank you. ** Changed in: cloud-init Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-06-27 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 0.7.9-153-g16a7302f- 0ubuntu1~16.04.1 --- cloud-init (0.7.9-153-g16a7302f-0ubuntu1~16.04.1) xenial-proposed; urgency=medium * New upstream snapshot. - net: fix reading and rendering addresses in cidr format. [Dimitri John

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-06-27 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 0.7.9-153-g16a7302f- 0ubuntu1~16.10.1 --- cloud-init (0.7.9-153-g16a7302f-0ubuntu1~16.10.1) yakkety-proposed; urgency=medium * New upstream snapshot. - net: fix reading and rendering addresses in cidr format. [Dimitri John

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-06-27 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 0.7.9-153-g16a7302f- 0ubuntu1~17.04.1 --- cloud-init (0.7.9-153-g16a7302f-0ubuntu1~17.04.1) zesty-proposed; urgency=medium * New upstream snapshot. - net: fix reading and rendering addresses in cidr format. [Dimitri John

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-06-16 Thread Chad Smith
Validated snappy discovery on xenial yakkety and zesty based on /etc/os- relase ID=ubuntu-core: for name in test-xenial test-yakkety test-zesty; do lxc exec $name -- sed -i 's/ID=ubuntu$/ID=ubuntu-core$/' /etc/os-release; echo $name ; lxc exec $name -- cat /etc/os-release; lxc exec

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-06-13 Thread Brian Murray
Hello Ryan, 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/0.7.9-153-g16a7302f-0ubuntu1~16.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-06-13 Thread Brian Murray
Hello Ryan, or anyone else affected, Accepted cloud-init into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud- init/0.7.9-153-g16a7302f-0ubuntu1~16.10.1 in a few hours, and then in the -proposed repository. Please help us by testing

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-06-13 Thread Brian Murray
Hello Ryan, 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/0.7.9-153-g16a7302f-0ubuntu1~17.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-06-01 Thread Scott Moser
** Description changed: + === Begin SRU Template === + [Impact] + Cloud-init when running in Ubuntu core does not recognize it is + running on a 'snappy. As a result the snappy specific code paths are not + taken. + + [Test Case] + There are fairly extensive unit tests added to cover the code

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-05-26 Thread Scott Moser
** Also affects: cloud-init (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Zesty) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Yakkety) Importance: Undecided Status: New ** Changed in: cloud-init

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-05-23 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 0.7.9-144-g2825a917-0ubuntu1 --- cloud-init (0.7.9-144-g2825a917-0ubuntu1) artful; urgency=medium * New upstream snapshot. - flake8: move the pinned version of flake8 up to 3.3.0 - tests: Apply workaround for snapd bug in test

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-05-16 Thread Scott Moser
** Also affects: cloud-init Importance: Undecided Status: New ** Changed in: cloud-init Status: New => Fix Committed ** Changed in: cloud-init Importance: Undecided => Medium ** Changed in: cloud-init (Ubuntu) Status: New => Confirmed ** Changed in: cloud-init

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-05-16 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/324126 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1689944 Title: util.system_is_snappy needs

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-05-16 Thread Oliver Grawert
the cleanest way is to check /etc/os-release, it has been changed to reflect ubuntu-core (iirc in the late 15.04 images) and will not change, so this should be the preferred way. if you dont have rootfs access when needing the info, then parsing /proc/cmdline for snap_* vars should be ok too.

[Bug 1689944] Re: util.system_is_snappy needs additional checks

2017-05-11 Thread Ryan Harper
Also, ubuntu-core image has some required kernel flags in /proc/cmdline $ cat /proc/cmdline BOOT_IMAGE=(loop)/kernel.img root=LABEL=writable snap_core=core_x1.snap snap_kernel=pc-kernel_x1.snap ro net.ifnames=0 init=/lib/systemd/systemd console=tty1 console=ttyS0 panic=-1 Specifically,