[SRU] Support for CloudStack's basic networking in Precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Justification
** SRU for 12.04 only **
[IMPACT] Users of a CloudStack platform using basic networking are unable to retrieve user data because they query the default gateway instead of the virtual router. With basic networking, the default gateway is not the virtual router (it could be any router). Without user data, the VM is left unconfigured without any SSH key to login.
[TEST CASE]
1. Spawn an Ubuntu Precise VM.
2. Install the fixed .deb.
3. rm /var/lib/cloud
4. reboot
5. Check userdata is now correctly retrieved (in /var/lib/
[REGRESSION POTENTIAL]
- Inexistant for non CloudStack source.
- Need testing for CloudStack with advanced networking.
- Only a backport of what is already working fine in Trusty.
[ORIGINAL REPORT]
cloud-init in Precise is unable to handle CloudStack because it tries to query the default gateway instead of the virtual router. This is fixed in later versions of cloud-init but it would be convenient to backport the fix in the precise-updates. Attached is a patch fixing that. Tested with CloudStack 4.3 and works fine.
Related branches
tags: |
added: sru removed: verification-done |
Hey!
I see that there has been some updates to cloud-init in Precise but this change was not even considered. Without this change, this data source cannot work when CloudStack is configured with basic networking (in this case, the virtual router is not the gateway). What should be done for this bug report to be considered?