Activity log for bug #1640556

Date Who What changed Old value New value Message
2016-11-09 17:54:45 Scott Moser bug added bug
2016-11-09 17:55:17 Scott Moser cloud-init (Ubuntu): importance Undecided Medium
2016-11-09 17:55:17 Scott Moser cloud-init (Ubuntu): status New Fix Released
2016-11-09 17:55:27 Scott Moser nominated for series Ubuntu Xenial
2016-11-09 17:55:27 Scott Moser bug task added cloud-init (Ubuntu Xenial)
2016-11-09 17:55:34 Scott Moser cloud-init (Ubuntu Xenial): status New Confirmed
2016-11-09 17:55:36 Scott Moser cloud-init (Ubuntu Xenial): importance Undecided Medium
2016-11-09 18:47:03 Scott Moser description Added to trunk at https://code.launchpad.net/~stgraber/cloud-init/+git/cloud-init/+merge/307127 cloud-init in xenial should be able to configure an lxd 2.3 network also. === Begin SRU Template === [Impact] Support for lxd configuration of networking does not work with lxd 2.3+ as the current path for configuration in cloud-init uses debconf but newer lxd does not support configuration that way. Prior to LXD 2.3, the bridge configuration was done through distro packaging. With 2.3 and higher, this is now done inside LXD itself, so we need to use "lxc network" with 2.3 and higher. All the old code has been thrown out so LXD 2.3 doesn't have any debconf templates and doesn't manage the lxd bridge itself. LXD 2.3 packaging does ship a script which will convert existing users in place, so folks upgrading shouldn't actually notice anything except that /etc/default/lxd-bridge will disappear and they'll need to use "lxc network edit lxdbr0" to configure any extra thing. [Test Case] * Prepare an image with updated cloud-init from proposed. * start instance with user-data like: #cloud-config lxd: bridge: mode: new name: lxdbr1 ipv4_address: 10.5.0.1 ipv4_netmask: 24 ipv4_nat: true * wait for system to boot, check that lxdbr1 is configured as expected. # ip addr show dev lxdbr1 2: lxdbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether 2e:f8:cc:5f:57:81 brd ff:ff:ff:ff:ff:ff inet 10.5.0.1/24 scope global lxdbr1 valid_lft forever preferred_lft forever inet6 fe80::2cf8:ccff:fe5f:5781/64 scope link valid_lft forever preferred_lft forever [Regression Potential] New codepath is taken based on prsence of /etc/default/lxd-bridge. If that file was present and a newer version of lxd installed, then we would take the wrong path. [Other Info] The upstream MP that this was added under can be seen at https://code.launchpad.net/~stgraber/cloud-init/+git/cloud-init/+merge/307127 === End SRU Template === Added to trunk at https://code.launchpad.net/~stgraber/cloud-init/+git/cloud-init/+merge/307127 cloud-init in xenial should be able to configure an lxd 2.3 network also.
2016-11-09 18:47:09 Scott Moser bug task added cloud-init
2016-11-09 18:47:51 Scott Moser cloud-init: importance Undecided Medium
2016-11-09 18:47:51 Scott Moser cloud-init: status New Fix Committed
2016-11-09 18:47:51 Scott Moser cloud-init: assignee Stéphane Graber (stgraber)
2016-11-15 23:31:44 Steve Langasek cloud-init (Ubuntu Xenial): status Confirmed Fix Committed
2016-11-15 23:31:45 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2016-11-15 23:31:48 Steve Langasek bug added subscriber SRU Verification
2016-11-15 23:31:53 Steve Langasek tags verification-needed
2016-11-21 20:22:55 Scott Moser tags verification-needed verification-done
2016-11-24 20:00:36 Launchpad Janitor cloud-init (Ubuntu Xenial): status Fix Committed Fix Released
2016-11-24 20:01:11 Adam Conrad removed subscriber Ubuntu Stable Release Updates Team
2017-09-22 20:48:48 Scott Moser cloud-init: status Fix Committed Fix Released
2023-05-10 18:06:37 James Falcon bug watch added https://github.com/canonical/cloud-init/issues/2759