[SRU] WALinuxAgent/Cloud-init failure for Snappy

Bug #1448885 reported by Ben Howard
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released
Critical
Unassigned
Vivid
Fix Released
High
Unassigned

Bug Description

SRU Justification

[IMPACT] Ubuntu Snappy only boots about ~40% of the time on Azure. This is caused by Cloud-init's reliance on WALinuxAgent to handle some of the boot-time provisioning

[FIX] Backport of the 15.10 Datasource to 15.04.

[Test Case 1] Upgrade from proposed
1. Install cloud-init from proposed
2. Change the hostname via /etc/hostname
3. Reboot
4. Capture VM
5. Boot captured VM
6. Confirm that Cloud-init used WALinuxAgent

[Test Case 2] Disable WALinuxagent provisioning and use cloud-init exclusively
1. Install cloud-init from proposed
2. Run:
$ cat > /etc/cloud/cloud.cfg.d/99-azure-ds.cfg <<EOF
datasource:
  Azure:
    agent_command: "__builtin__"
EOF

$ cat > /etc/default/walinuxagent <<EOF
# Disabled
WALINUXAGENT_ENABLED=0
EOF
3. Shutdown and capture VM
4. Launch captured VM
5. Confirm that waagent is not running
6. Check /var/lib/cloud-init.log for errors

[Test Case 3] New Image Launch
1. Build an Azure image from -proposed, with settings in test case 2
2. Boot image
3. Confirm that the image comes up

[Regression Potential] As this is a backport of the 15.10 Datasource, there is a medium regression potential. The 15.10 Datasource fixes a number of Azure provisioning bugs and is thus desirable.

The updated Datasource includes additional automated testing to confirm code quality.

Related branches

affects: ubuntu → cloud-init (Ubuntu)
Changed in cloud-init (Ubuntu Vivid):
assignee: nobody → Ben Howard (utlemming)
description: updated
description: updated
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Pending SRU.

Changed in cloud-init (Ubuntu Vivid):
importance: Undecided → High
status: New → Fix Committed
Changed in cloud-init (Ubuntu):
status: Triaged → Fix Committed
summary: - WALinuxAgent/Cloud-init failure for Snappy
+ [SRU] WALinuxAgent/Cloud-init failure for Snappy
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Ben, or anyone else affected,

Accepted cloud-init into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-init/0.7.7~bzr1091-0ubuntu2 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!

Changed in cloud-init (Ubuntu):
status: Fix Committed → Fix Released
tags: added: verification-needed
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Marking as verification done. Test cases complete.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.7.7~bzr1091-0ubuntu2

---------------
cloud-init (0.7.7~bzr1091-0ubuntu2) vivid; urgency=medium

  * Backport of 15.10 Azure Datasource to fix various issues:
    - Azure Datasource writes user password in plain text (LP: #1458052).
    - Hostname not preserved across Azure reboots (LP: #1375252).
    - Allow provisioning of Ubuntu Snappy w/out WALinuxAgent (LP: #1448885).

 -- Ben Howard <email address hidden> Mon, 25 May 2015 09:38:58 -0600

Changed in cloud-init (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) 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.

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.