yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76312
[Bug 1798424] Re: Xenial Azure: Make generation of network config from IMDS hotplug scripts configurable opt-in
This bug is believed to be fixed in cloud-init in version 18.5. 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 Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1798424
Title:
Xenial Azure: Make generation of network config from IMDS hotplug
scripts configurable opt-in
Status in cloud-init:
Fix Released
Status in cloud-init package in Ubuntu:
Fix Released
Status in cloud-init source package in Xenial:
Fix Released
Bug description:
=== Begin SRU Template ===
[Impact]
By default, Xenial needs to rely on existing cloud image hotplug scripts and only generate fallback network config (dhcp on eth0) by default. If consumers want to generate dynamic network from Azure's IMDS service, thus removing cloud image hotplug scripts, then a datasource configuration option is surfaced.
[Test Case]
1. Deploy stock Xenial cloud image
2. upgrade cloud-init -proposed
3. Run cloud-init clean --reboot --logs
4. Confirm that network is not sourced from IMDS content and hotplug scripts still exist
5. Add datasource configuration setting Azure: apply_network_config: true
6. Run cloud-init clean --reboot --logs
7. Confirm that network is sourced from IMDS and hotplug scripts are removed.
[Regression Potential]
[Other Info]
Upstream commit at
https://git.launchpad.net/cloud-init/commit/?id=15a75ea1
=== End SRU Template ===
=== Original Description ===
cloud-init v. 18.4-0ubuntu1~16.04.1 in -proposed automatically renders network configuration from Azure's IMDS by default instead of fallback config of dhcp on eth0. This represents a difference in behavior from current Xenial.
On Xenial Azure, Ubuntu cloud images have udev scripts to handle
network hotplug. Azure datasource has the ability to read full network
config from their IMDS service and render hotplugged devices as well
as remove the cloud-image default scripts.
Make the cloud-init hotplug behavior configurable and default it to
off in Xenial.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1798424/+subscriptions
References