[Bug 1103881] Re: cloud-final is never executed if upstart is upgraded during initialization of the image

Scott Moser smoser at ubuntu.com
Wed Apr 3 20:03:36 UTC 2013


** Description changed:

  During a cloud image initialization, the service cloud-final is never
  executed if the cloud-config script contains an "upgrade" directive and
  upstart is part of the upgraded packages:
  
  TESTCASE:
  1. Download a cloud image from http://cloud-images.ubuntu.com/raring/ with an outdated version of upstart (e.g 2013.01.23 - I saved this image, if you need it and it is not available from the mirror just ask)
  2. Prepare a cloud-config script with the directives (example cloud-config script used by lp:auto-package-testing attached):
  
  apt_update: true
  apt_upgrade: true
  
  3. Initialize the cloud image with this cloud-config script
  
  EXPECTED RESULT:
  Installation finish
  
  ACTUAL RESULT
  The service cloud-final is never executed and the flag boot-finished is not present.
  
  cloud-init logs of a failed installation attached.
  
  Related bugs:
-  * bug 1080841: should reload configuration if an upstart job is added
-  * bug 1124384: reload-configuration can confuse upstart
+  * bug 1080841: should reload configuration if an upstart job is added
+  * bug 1124384: reload-configuration can confuse upstart
+  * bug 1163669: cloud-init fails to install juju agent after bootstrap 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: cloud-init (not installed)
  ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
  Uname: Linux 3.8.0-1-generic x86_64
  ApportVersion: 2.8-0ubuntu2
  Architecture: amd64
  Date: Thu Jan 24 09:08:19 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: cloud-init
  UpgradeStatus: Upgraded to raring on 2012-01-31 (358 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1103881

Title:
  cloud-final is never executed if upstart is upgraded during
  initialization of the image

Status in “cloud-init” package in Ubuntu:
  Confirmed
Status in “upstart” package in Ubuntu:
  Confirmed

Bug description:
  During a cloud image initialization, the service cloud-final is never
  executed if the cloud-config script contains an "upgrade" directive
  and upstart is part of the upgraded packages:

  TESTCASE:
  1. Download a cloud image from http://cloud-images.ubuntu.com/raring/ with an outdated version of upstart (e.g 2013.01.23 - I saved this image, if you need it and it is not available from the mirror just ask)
  2. Prepare a cloud-config script with the directives (example cloud-config script used by lp:auto-package-testing attached):

  apt_update: true
  apt_upgrade: true

  3. Initialize the cloud image with this cloud-config script

  EXPECTED RESULT:
  Installation finish

  ACTUAL RESULT
  The service cloud-final is never executed and the flag boot-finished is not present.

  cloud-init logs of a failed installation attached.

  Related bugs:
   * bug 1080841: should reload configuration if an upstart job is added
   * bug 1124384: reload-configuration can confuse upstart
   * bug 1163669: cloud-init fails to install juju agent after bootstrap 

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: cloud-init (not installed)
  ProcVersionSignature: Ubuntu 3.8.0-1.5-generic 3.8.0-rc4
  Uname: Linux 3.8.0-1-generic x86_64
  ApportVersion: 2.8-0ubuntu2
  Architecture: amd64
  Date: Thu Jan 24 09:08:19 2013
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: cloud-init
  UpgradeStatus: Upgraded to raring on 2012-01-31 (358 days ago)

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




More information about the foundations-bugs mailing list