Cloud-init does not run from init, but runs when started manually

Bug #1163536 reported by Ricardo Duarte
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This happens on cloud-init form 12.10 and 13.04. Cloud-init on 12.04 works perfectly.
Cloud-init gets called by init, but does not run.
If I try to manually start cloud-init with the upstart scripts, the following shows:

# start cloud-init
start: Job failed to start

If I run /usr/bin/cloud-init init , everything works

If I the folliwing wrapper, everything works as well:

/usr/bin/cloud-init:

#!/bin/bash
/usr/bin/cloud-init.real $1 $2 $3 $4

Revision history for this message
Ricardo Duarte (rjtd21) wrote :

Log file at /var/log/cloud-init.log is empty.
I'm using the latest ubuntu cloudimg images.

Revision history for this message
Ricardo Duarte (rjtd21) wrote :

More information:

Cloud-init works from upstart (and on boot) when I redirect the stderr output.

The wrapper script becomes:

/usr/bin/cloud-init:

#!/bin/bash
/usr/bin/cloud-init.real $1 $2 $3 $4 > /dev/null 2>&1

Revision history for this message
Scott Moser (smoser) wrote :

Can you give some more information on how you're "using the latest ubuntu cloudimg images" ?
Ie, where are you using them?

I'm not able to even start trying to recreate this on the info here.

Changed in cloud-init (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cloud-init (Ubuntu) because there has been no activity for 60 days.]

Changed in cloud-init (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.