[Bug 1382481] Re: Support for CloudStack's basic networking in Precise
Vincent Bernat
bernat at debian.org
Tue May 5 14:43:37 UTC 2015
Proposed fix for this issue.
** Description changed:
- 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.
+ SRU Justification
+
+ [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. rm /var/lib/cloud
+ 3. reboot
+ 4. Check userdata is now correctly retrieved (in /var/lib/cloud/instances*/cloud-config.txt)
+
+ [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.
** Tags added: verification-done
** Summary changed:
- Support for CloudStack's basic networking in Precise
+ [SRU] Support for CloudStack's basic networking in Precise
** Patch added: "debiff against 0.6.3-0ubuntu1.17.dsc"
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1382481/+attachment/4391439/+files/debdiff-cloudinit-lp-1382481-cloudstack-vr.patch
** Description changed:
SRU Justification
[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. rm /var/lib/cloud
- 3. reboot
- 4. Check userdata is now correctly retrieved (in /var/lib/cloud/instances*/cloud-config.txt)
+ 2. Install the fixed .deb.
+ 3. rm /var/lib/cloud
+ 4. reboot
+ 5. Check userdata is now correctly retrieved (in /var/lib/cloud/instances*/cloud-config.txt)
[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.
+ - 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.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1382481
Title:
[SRU] Support for CloudStack's basic networking in Precise
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1382481/+subscriptions
More information about the Ubuntu-server-bugs
mailing list