yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75735
[Bug 1798424] Re: Xenial Azure: Make generation of network config from IMDS hotplug scripts configurable opt-in
This bug was fixed in the package cloud-init - 18.4-22-g6062595b-
0ubuntu1
---------------
cloud-init (18.4-22-g6062595b-0ubuntu1) disco; urgency=medium
* New upstream snapshot.
- azure: retry imds polling on requests.Timeout (LP: #1800223)
- azure: Accept variation in error msg from mount for ntfs volumes
[Jason Zions] (LP: #1799338)
- azure: fix regression introduced when persisting ephemeral dhcp lease
[Aswin Rajamannar]
- azure: add udev rules to create cloud-init Gen2 disk name symlinks
(LP: #1797480)
- tests: ec2 mock missing httpretty user-data and instance-identity routes
- azure: remove /etc/netplan/90-hotplug-azure.yaml when net from IMDS
- azure: report ready to fabric after reprovision and reduce logging
[Aswin Rajamannar] (LP: #1799594)
- query: better error when missing read permission on instance-data
- instance-data: fallback to instance-data.json if sensitive is absent.
(LP: #1798189)
- docs: remove colon from network v1 config example. [Tomer Cohen]
- Add cloud-id binary to packages for SUSE [Jason Zions]
- systemd: On SUSE ensure cloud-init.service runs before wicked
[Robert Schweikert] (LP: #1799709)
- update detection of openSUSE variants [Robert Schweikert]
- azure: Add apply_network_config option to disable network from IMDS
(LP: #1798424)
- Correct spelling in an error message (udevadm). [Katie McLaughlin]
-- Chad Smith <chad.smith@xxxxxxxxxxxxx> Mon, 12 Nov 2018 20:33:12
-0700
** Changed in: cloud-init (Ubuntu)
Status: New => 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 Committed
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