cloud-init on xenial may generate network config on every boot

Bug #1819913 reported by Ryan Harper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Undecided
Dan Watkins

Bug Description

On at least EC2 with cloud-init xenial release, the Ec2 datasource allows the EventType.BOOT
event to update metadata and will regenerate network configuration on each boot. Cloud-init releases newer than Xenial are not affected since cloud-init will detect
which datasource to use and does not perform searching.

Related branches

Revision history for this message
Ryan Harper (raharper) wrote :

cloud-init collect-logs from ec2 instance.

Dan Watkins (oddbloke)
Changed in cloud-init:
status: New → In Progress
assignee: nobody → Dan Watkins (daniel-thewatkins)
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

This bug is fixed with commit f2fd6eac to cloud-init on branch master.
To view that commit see the following URL:
https://git.launchpad.net/cloud-init/commit/?id=f2fd6eac

Changed in cloud-init:
status: In Progress → Fix Committed
Revision history for this message
Chad Smith (chad.smith) wrote : Fixed in cloud-init version 19.1.

This bug is believed to be fixed in cloud-init in version 19.1. 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
Revision history for this message
Chad Smith (chad.smith) wrote :

The content fixing this was subsequently reverted due to causing tracebacks on upgrade path
https://git.launchpad.net/cloud-init/commit/?id=6322c2ddf4b68a8e7cc467a07fb20a1d151a2ef3

reopening until a resolution is provided

Changed in cloud-init:
status: Fix Released → New
Chad Smith (chad.smith)
Changed in cloud-init:
status: New → Confirmed
Revision history for this message
Chad Smith (chad.smith) wrote : Fixed in cloud-init version 19.3.

This bug is believed to be fixed in cloud-init in version 19.3. 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: Confirmed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.