[SRU] Azure: Precise should use the same instance ID detection as Trusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
In Progress
|
Medium
|
Dan Watkins |
Bug Description
SRU JUSTIFICATION
[IMPACT] On Azure, the InstanceID is currently detected via a fabric provided XML file. With the new CRP stack, this ID is not guaranteed to be stable. As a result instances may go re-provision upon reboot.
[FIX] Use DMI data to detect the instance ID and migrate existing instances to the new ID.
[REGRESSION POTENTIAL] The fix is both in the cloud-init code and in the packaging. If the instance ID is not properly migrated, then a reboot may trigger re-provisioning.
[TEST CASES]
1. Boot instance on Azure.
2. Apply cloud-init from -proposed. A migration message should apply.
3. Get the new instance ID:
$ sudo cat /sys/class/
4. Confirm that /var/lib/
5. Re-install cloud-init and confirm that migration message is NOT displayed.
[TEST CASE 2]
1. Build new cloud-image from -proposed
2. Boot up instance
3. Confirm that /sys/class/
[ORIGINAL REPORT]
The Azure datasource on Trusty utilizes the system-uuid from SMBIOS as a unique VM ID to identify the instance. Precise still uses the older method of obtaining the Instance ID via the wire server, which is not stable in CRP. Precise should move to use the same instance ID detection logic as Trusty.
Related Bugs:
https:/
https:/
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Fix Released |
Changed in cloud-init (Ubuntu Precise): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Precise): | |
assignee: | nobody → Dan Watkins (daniel-thewatkins) |
status: | Confirmed → In Progress |
description: | updated |
summary: |
- Azure: Precise should use the same instance ID detection as Trusty + [SRU] Azure: Precise should use the same instance ID detection as Trusty |
The attached debdiff fixes this for precise.