Activity log for bug #1315501

Date Who What changed Old value New value Message
2014-05-02 19:42:47 David Moreau Simard bug added bug
2014-05-12 20:15:02 David Moreau Simard description Hi, Reference/context: https://ask.openstack.org/en/question/28297/cloud-init-nonet-waiting-and-fails/ The trusty image provided by http://cloud-images.ubuntu.com/trusty/ contains an eth0 interface configured as dhcp in /etc/network/interfaces.d/eth0. When I boot this image in an Openstack non-dhcp networking environment, cloud-init configures the static IP provided by Neutron directly in /etc/network/interfaces (not interfaces.d). This means I now have two eth0 devices configured, in two different files. Booting 20 VMs with the same image yields around 50-60% of VMs that are not reachable by network. Soft rebooting a VM in this state or doing and "ifdown eth0 && ifup eth0" will make it ping. I removed the the eth0 interface file in /etc/network/interfaces.d/eth0 from the image, booted another round of VMs and all of them worked fine. Now, I see three possible outcomes: - If eth0 is present in /etc/network/interfaces.d, cloud-init configures/re-configures that interface - If eth0 is present in /etc/network/interfaces.d, cloud-init deletes it and configures /etc/network/interfaces - Ubuntu cloud images ships without eth0 being configured by default Hi, Reference/context: https://ask.openstack.org/en/question/28297/cloud-init-nonet-waiting-and-fails/ The trusty image provided by http://cloud-images.ubuntu.com/trusty/ contains an eth0 interface configured as dhcp in /etc/network/interfaces.d/eth0.cfg. When I boot this image in an Openstack non-dhcp networking environment, cloud-init configures the static IP provided by Neutron directly in /etc/network/interfaces (not interfaces.d). This means I now have two eth0 devices configured, in two different files. Booting 20 VMs with the same image yields around 50-60% of VMs that are not reachable by network. Soft rebooting a VM in this state or doing and "ifdown eth0 && ifup eth0" will make it ping. I removed the the eth0 interface file in /etc/network/interfaces.d/eth0.cfg from the image, booted another round of VMs and all of them worked fine. Now, I see three possible outcomes: - If eth0 is present in /etc/network/interfaces.d, cloud-init configures/re-configures that interface - If eth0 is present in /etc/network/interfaces.d, cloud-init deletes it and configures /etc/network/interfaces - Ubuntu cloud images ships without eth0 being configured by default
2014-05-13 16:19:23 Scott Moser cloud-init: status New Confirmed
2014-05-13 16:19:33 Scott Moser cloud-init: importance Undecided High
2014-05-13 16:19:42 Scott Moser bug task added cloud-init (Ubuntu)
2014-05-13 16:19:51 Scott Moser cloud-init (Ubuntu): status New Confirmed
2014-05-13 16:19:52 Scott Moser cloud-init (Ubuntu): importance Undecided High
2014-05-13 20:53:08 arpagon bug added subscriber arpagon
2014-05-23 11:07:47 Jacek Nykis bug added subscriber The Canonical Sysadmins
2014-05-27 08:20:37 Juan Fernandez bug added subscriber Juan Fernandez
2014-05-30 13:22:50 Zoltan Arnold Nagy bug added subscriber Zoltan Arnold Nagy
2014-09-25 17:37:48 Janghoon-Paul Sim bug added subscriber Janghoon-Paul Sim
2014-10-21 18:20:32 SiggyF bug added subscriber SiggyF
2014-10-24 21:43:30 Mark Eyberg removed subscriber Mark Eyberg
2014-10-24 21:46:30 Mark Eyberg bug added subscriber Mark Eyberg
2014-11-11 00:30:06 Mathieu Gagné bug added subscriber Mathieu Gagné
2014-12-23 00:09:31 Roger Ward bug added subscriber Roger Ward
2015-06-26 05:19:19 Yoshi Kadokawa bug added subscriber Yoshi Kadokawa
2015-08-05 08:53:05 Arnaud Morin bug added subscriber Arnaud Morin
2015-08-18 17:52:17 jdoss bug added subscriber jdoss
2015-12-21 18:53:46 Josh Boon bug added subscriber Josh Boon
2016-03-01 01:45:30 mahmoh bug added subscriber M.Morana
2016-06-10 16:49:58 Scott Moser cloud-init: status Confirmed Fix Committed
2016-06-10 16:50:13 Scott Moser cloud-init (Ubuntu): status Confirmed Fix Released
2016-08-10 14:44:25 Scott Moser cloud-init: status Fix Committed Fix Released
2017-04-17 22:35:53 sandeep siroya bug added subscriber sandeep siroya
2017-08-03 05:05:54 Lonre Wang bug added subscriber Long Wang
2018-09-14 19:36:41 Scott Moser attachment added git diff for posterity versus my branch. https://bugs.launchpad.net/cloud-init/+bug/1315501/+attachment/5188906/+files/1315501-trusty.diff
2023-05-10 02:34:09 James Falcon bug watch added https://github.com/canonical/cloud-init/issues/2449