final_message does not work with cloud-init 0.7.3

Bug #1286164 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Low
Unassigned

Bug Description

Setup:
Ubuntu UEC saucy 13.10
Cloud-init v0.7.3

I use the user data sample [1] to set a final message in VM logs and I get error message at the end of the logs:
'2014-02-28 14:33:33,288 - util.py[WARNING]: Failed to render final message template' error.

If I made the same test with Ubuntu UEC precise 12.04.3 which uses cloud-init version 0.6.3, it works.

[1] http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config-final-message.txt

Related branches

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

Hi, i've just committed a fix to trunk for this under revision 967.
The documentation and code were just not in-line with each other.

you could have used '$uptime'.
now you can use either '$uptime' or '$timestamp'.
also available are '$datasource' and '$version'.

Changed in cloud-init:
importance: Undecided → Low
status: New → Fix Committed
Joshua Harlow (harlowja)
Changed in cloud-init:
milestone: none → 0.7.7
Scott Moser (smoser)
Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
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.