[Bug 1448885] Re: WALinuxAgent/Cloud-init failure for Snappy

Ben Howard ben.howard at canonical.com
Tue May 26 23:14:47 UTC 2015


** Description changed:

- Ubuntu Snappy only boots about ~40% of the time on Azure. WALinuxAgent
- is failing to come up. Logs are sparse
+ 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.

-- 
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/1448885

Title:
  WALinuxAgent/Cloud-init failure for Snappy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1448885/+subscriptions



More information about the Ubuntu-server-bugs mailing list