[Bug 1316357] Re: Network interface IP address not set on first boot if config drive used
Exact same bug as https://bugs.launchpad.net/ubuntu/+source/cloud- init/+bug/1315501 Workaround given by David Moreau Simard works: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1315501/comments/11 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1316357 Title: Network interface IP address not set on first boot if config drive used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1316357/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1316357] Re: Network interface IP address not set on first boot if config drive used
Is there any progress on this bug ? The solution/workaround I am currently using for this issue is that it appears if any network interface is configured prior to cloud-init running, that interface has an ifup done before cloud-init ever starts. Cloud-init then replaces the information for the network interfaces with the information from the datasource. Cloud-init then calls an ifup. This ifup is a no-op if that interface was already up prior to cloud-init starting. If Cloud-init instead does an 'ifdown' then 'ifup' after writing the network interfaces, the interface will come up as expected, reading the new network interface information. BTW, this same scenario happens with RHEL and SLES so maybe the fix could be done at a baseclass level. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1316357 Title: Network interface IP address not set on first boot if config drive used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1316357/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1316357] Re: Network interface IP address not set on first boot if config drive used
So I tihnk that the real solution for this bug is to somehow stop network devices from coming up until after cloud-init has searched for local datasources. There is still a case that would be odd if: - instance has /etc/network/interfaces configured for 'auto eth0' - instance has no local datasource - network datasource (openstack) had a network interfaces config for eth0. at that point, the network would have already been up, and I'm really just not keen on bouncing networking. Perhaps in that case, write the network config and then reboot, to come back up configured correctly. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1316357 Title: Network interface IP address not set on first boot if config drive used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1316357/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1316357] Re: Network interface IP address not set on first boot if config drive used
** Changed in: cloud-init (Ubuntu) Importance: Undecided => Medium ** Changed in: cloud-init (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1316357 Title: Network interface IP address not set on first boot if config drive used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1316357/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs