Public bug reported:

using AWS image ubuntu-raring-13.04-i386-server-20130615 (ami-05831335)

using user-data script containing #cloud-config

#cloud-config
apt_update: true
apt_upgrade: true
packages:
 - <my packages>
runcmd:
<my commands>
output: {all: '| tee -a /var/log/cloud-init-output.log'}

I had this configuration running for several months without any
problems.

Now, the commands under runcmd do not run.
There is nothing in the logs after package installation.

narrowed down problem to this:
if apt statements are removed, problem is fixed, scripts run again. So seems 
that package upgrade messes up execution of the scripts.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  runcmd does not run if cloud-config contains apt directives

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1249828/+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