[SRU] update walinuxagent to 2.0.8

Bug #1360471 reported by Ben Howard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
walinuxagent (Ubuntu)
Medium
Unassigned
Precise
Medium
Unassigned
Trusty
Medium
Unassigned
Utopic
Medium
Unassigned

Bug Description

SRU justification

Impact : Microsoft has released an update to the 2.0.x series for WALinuxagent. There are several notable fixes:
  - reporting of SSH host keys for Ubuntu to the fabric
  - fix for extension timeout handling
  - multiple fixes for extension handler in status report and heartbeat

Fix : Updating to v2.0.8 fixes these bugs.

Test Case :
 * First boot
   - build new images from -proposed
   - confirm that instance boots
   - run against extension
   - confirm that portal captures SSH host keys
 * Capture (VM Snapshot)
   - boot instance on Azure
   - upgrade from -proposed
   - shut instances down
   - capture instance
   - boot capture instance
   - confirm that portal capture SSH host keys
   - confirm instance has new identity
   - check /var/log/{cloud-init,waagent}.log for errors

Regression : regression potential is low, as these changes tighten up the code and fix a broken feature.

[ORIGINAL REPORT]

We have tagged a new release for WALinuxAgent (2.0.7): https://github.com/Azure/WALinuxAgent/releases/tag/WALinuxAgent-2.0.7. Ubuntu's walinuxagent package is currently based on 2.0.5, so there are several fixes in 2.0.6 and 2.0.7 that are important to pick up.

Specifically, there are a number of fixes for extension handling, provisioning and the new feature for adding a "readme" warning to the resource disk. For 12.04, here are the relevant fixes to look at.

Fixes to extension handling
https://github.com/Azure/WALinuxAgent/commit/fd0aa07e0a08eaf285c4d4ce2b2aaf7698d3fd9d
https://github.com/Azure/WALinuxAgent/commit/f445aff063aa8aa59c1dca7e065e68f64904ae43
https://github.com/Azure/WALinuxAgent/commit/3f93680589116d28acdfdd594fe6942b52c139e4

Add README warning to resource disk
https://github.com/Azure/WALinuxAgent/commit/78f97d9885725d6ca5fc749d3f9708f496920e97#diff-d41d8cd98f00b204e9800998ecf8427e
https://github.com/Azure/WALinuxAgent/commit/2321b9cd92988843ebea4f031d99b09c0054ee13
https://github.com/Azure/WALinuxAgent/commit/f574932748ec66eccca74e643e369b61eab81bf8

Fixes for SSH server and host key handling (report host key to fabric)
https://github.com/Azure/WALinuxAgent/commit/62252f3f9162235aabc82f896efbab756935e141
https://github.com/Azure/WALinuxAgent/commit/71020f9913629bbe20fb76d424fb88e14a673dd3

Please let us know if you have questions/concerns about any of these patches.

Revision history for this message
Stephen A. Zarkos (stevez) wrote :

Hello,

Our Linux agent team found a bug while testing a VM extension and has tagged a new release, v2.0.8. Please package this version instead.

The relevant change in v2.0.8 is the following and should be applied to all:
https://github.com/Azure/WALinuxAgent/commit/cbcd69b70876dbcc3db2a9b8c041b1bca10cf186

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

Delaying this work until v2.0.8 is released. However, if 2.0.8 is going to be a while, I think that it would be prudent to land 2.0.7 in 14.10.

summary: - update walinuxagent to 2.0.7
+ update walinuxagent to 2.0.8
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote : Re: update walinuxagent to 2.0.8
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Tested v.2.0.8 and confirmed it works. Uploaded it to 14.10.

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

Confirmed that backport to 12.04 works. Attached proposed debdiff.

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

Confirmed that backport to 14.04 works. Attached proposed debdiff

Changed in walinuxagent (Ubuntu Trusty):
importance: Undecided → Medium
Changed in walinuxagent (Ubuntu Precise):
importance: Undecided → Medium
Changed in walinuxagent (Ubuntu Trusty):
status: New → Confirmed
Changed in walinuxagent (Ubuntu Precise):
status: New → Confirmed
Changed in walinuxagent (Ubuntu Trusty):
assignee: nobody → Ben Howard (utlemming)
Changed in walinuxagent (Ubuntu Precise):
assignee: nobody → Ben Howard (utlemming)
summary: - update walinuxagent to 2.0.8
+ [SRU] update walinuxagent to 2.0.8
tags: added: patch
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

v2.0.8 is in Utopic now. Daily builds have passed automated testing.

Changed in walinuxagent (Ubuntu Utopic):
importance: Medium → Low
importance: Low → Medium
status: Confirmed → Fix Released
description: updated
description: updated
description: updated
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Uploaded 12.04 and 14.04 versions; pending acceptance into -proposed.

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

Hello Ben, or anyone else affected,

Accepted walinuxagent into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/walinuxagent/2.0.8-0ubuntu1~14.04.0 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 walinuxagent (Ubuntu Trusty):
status: Confirmed → Fix Committed
Revision history for this message
Chris J Arges (arges) wrote :

Hello Ben, or anyone else affected,

Accepted walinuxagent into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/walinuxagent/2.0.8-0ubuntu1~12.04.0 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 walinuxagent (Ubuntu Precise):
status: Confirmed → Fix Committed
Revision history for this message
Ben Howard (darkmuggle-deactivatedaccount) wrote :

Ran test cases against current set of images and confirmed that the upgrade works. Building new images from -proposed now.

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

Images build from -proposed and confirmed test cases. Marking as 'verification-done'.

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

This bug was fixed in the package walinuxagent - 2.0.8-0ubuntu1~12.04.0

---------------
walinuxagent (2.0.8-0ubuntu1~12.04.0) precise; urgency=medium

  * Backport from 14.10 to 12.04 (LP: #1360471).
 -- Ben Howard <email address hidden> Fri, 29 Aug 2014 11:10:13 -0600

Changed in walinuxagent (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for walinuxagent 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package walinuxagent - 2.0.8-0ubuntu1~14.04.0

---------------
walinuxagent (2.0.8-0ubuntu1~14.04.0) trusty; urgency=medium

  * Straight backport to 14.04 from 14.10 (LP: #1360471).
 -- Ben Howard <email address hidden> Fri, 29 Aug 2014 10:59:29 -0600

Changed in walinuxagent (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers