[FFE] support for /run/cloud-init/status.json

Bug #1284439 reported by Scott Moser
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Fix Released

Bug Description

Users commonly have issues with cloud-init, and ask questions like did it run.
Tools often want to know if cloud-init finished and if so , with what status.

This FFE is to add a feature that covers those two topics.

cloud-init will now update /var/lib/cloud/data/status.json and /var/lib/cloud/data/result.json .

It will also update symlinks to those files from /run/cloud-init to ensure that these are not stale on boot.

Then, consumers can wait for 'result.json' to appear or can read status.json at almost any point in boot.

The merge upstream proposal for this code is at:

Related branches

Revision history for this message
Dave Walker (davewalker) wrote :

This feels like a reasonable change both for user debugging and developer feedback. Feels like a minimal impact, and the code looks clean.

FFe granted.

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

This bug was fixed in the package cloud-init - 0.7.5~bzr964-0ubuntu1

cloud-init (0.7.5~bzr964-0ubuntu1) trusty; urgency=medium

  * New upstream snapshot.
    * SmartOS, AltCloud: disable running on arm systems due to bug
      (LP: #1243287, #1285686) [Oleg Strikov]
    * Allow running a command to seed random, default is 'pollinate -q'
      (LP: #1286316) [Dustin Kirkland]
    * Write status to /run/cloud-init/status.json for consumption by
      other programs (LP: #1284439)
    * fix output of network information to not include 'addr:' (LP: #1285185)
 -- Scott Moser <email address hidden> Mon, 03 Mar 2014 16:59:27 -0500

Changed in cloud-init (Ubuntu):
status: Fix Committed → Fix Released
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.