[SRU] add cloud-init datasource for Cloud Sigma to 12.04

Bug #1363260 reported by Ben Howard
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

[Impact] CloudSigma is not supported by Cloud-init for 12.04. This SRU is a cloud-enablement request.

[Test Case]
1. Build image from -proposed, upload it to CloudSigma, OpenStack, Windows Azure, EC2 and Joyent
   - confirm that non-CloudSigma Clouds boot
   - confirm that /var/lib/cloud-init.log is clean of CloudSigma Datasource errors
   - confirm that CloudSigma boots and is accessable via SSH
   - confirm that CloudSigma /var/log/cloud-init.log is clean of datasource errors
2. Upgrade cloud-init on EC2, OpenStack, Windows Azure, and Joyent
   - install from -proposed
   - reboot instance
   - confirm that CloudSigma DS is ignored

[Regression Potential] Low for existing instances. The CloudSigma Datasource will be enabled by default. However, for existing instances Cloud-init is configured to use a white list of datasources: the new CloudSigma Datasource will be ignored.

The is also low for new images. The CloudSigma Datasource has several guards to prevent it from being the controlling datasource. The Datasource is, however, turned on by default. It is a code backport from the 14.04/14.10 datasource.
    - it will not run on ARM hardware
    - it checks the hypervisor to make sure that it is on CloudSigma
    - it includes timeouts to prevent it from hanging an instance

tags: added: cpc-requirement
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
tags: added: patch
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Added tested debdiff against CloudSigma.

description: updated
summary: - add cloud-init datasource for Cloud Sigma to 12.04
+ [SRU] add cloud-init datasource for Cloud Sigma to 12.04
Revision history for this message
Viktor Petersson (vpetersson) wrote :

I just tried this, but couldn't get it to work. Perhaps I'm doing something wrong.

Here's what I did:

 * Fetched the latest Precise image
 * Mounted and chrooted into the env
 * Installed the three packages from here (https://launchpad.net/~utlemming/+archive/ubuntu/lp1363260/+packages)
 * Uploaded the disk image and booted created a machine that used the image

Judging by the cloud-init.log from the VM, it doesn't seem like the provider was properly picked up.

Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

The reason for the failure is that for 12.04 the DataSource is not enabled by default. If you edit /etc/cloud/cloud.d/90-dpkg.cfg and set it to "CloudSigma" it should work.

Revision history for this message
Viktor Petersson (vpetersson) wrote :

Per today's discussion, I'll hold off until the first test build.

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Ben, or anyone else affected,

Accepted cloud-init into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/cloud-init/0.6.3-0ubuntu1.14 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Verified patch works. Marked as verification-done.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for cloud-init has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in cloud-init (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.6.3-0ubuntu1.14

---------------
cloud-init (0.6.3-0ubuntu1.14) precise-proposed; urgency=medium

  * debian/patches/lp-1363260-add-cloudsigma_ds.patch: backport from
    14.04/14.10 CloudSigma datasource to enable CloudSigma (LP: #1363260).
  * debian/patches/lp-1336855-grub_xvda.patch: include xvda devices for
    consideration for grub configuration (LP: #1336855).
    - added logic to postinst to fix broken grub installations
 -- Ben Howard <email address hidden> Fri, 29 Aug 2014 15:40:23 -0600

Changed in cloud-init (Ubuntu Precise):
status: New → Fix Released
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.