** Description changed:

- The variable used to determine whether or not it is packaged was not
- being exported. This results in two version of waaagent running.
+ [Impact]
+ All Azure instances that upgrade to agent 1.3 will have two versions of 
waagent (the script responisable for bootstrap on Azure) running. This may 
cause a race condition in the bootstrap, causing rebundled images to fail 
provisioning. 
+ 
+ [Test Case]
+ New Image test (built with -proposed packages)
+    - Confirm that /etc/init/waagent is missing
+    - Confirm that "dpkg -S waagent" is present in /var/log/waagent.log
+ Upgrade Image test:
+    - upgrade image using update in main
+    - Confirm that two agents are running: 
+         status waagent
+         status walinuxagent
+    - upgrade to -proposed
+    - Confirm waagent init job is missing
+         status waagent (should return "status: Unknown job: waagent")
+    - Confirm that "dpkg -s waagent" is present in /var/log/waagent.log
+ 
+ [Regression potential]
+ The regression potential is low, as this patch more intelligently determines 
whether or not walinuxagent is installed by using dpkg.
  
  ---
- Original bug report
+ Updated bug report:
+ 
+ The variable used to determine whether or not it is packaged was not
+ being exported properly. This results in two version of waaagent
+ running.
+ 
+ ---
+ Original bug report:
  
  A typo in the verb that instructs the package whether or not it in a package 
has the incorrect verb.
  The verb should be WAXLINUXAGENT_PACKAGED=1 not WALINUXAGENT_PACKAGED=1
  
  This results in two version of the walinuxagent being executed.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to walinuxagent in Ubuntu.
https://bugs.launchpad.net/bugs/1111690

Title:
  [SRU] walinuxagent IsPackaged() logic is broken, runs two instances of
  waagent

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1111690/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to