Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

final_message does not work with cloud-init 0.7.3 #2431

Closed
ubuntu-server-builder opened this issue May 10, 2023 · 1 comment
Closed

final_message does not work with cloud-init 0.7.3 #2431

ubuntu-server-builder opened this issue May 10, 2023 · 1 comment
Labels
launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #1286164

Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = 2016-08-10T05:32:49.981120+00:00
date_created = 2014-02-28T14:54:21.180036+00:00
date_fix_committed = 2014-03-12T15:02:11.107512+00:00
date_fix_released = 2016-08-10T05:32:49.981120+00:00
id = 1286164
importance = low
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1286164
milestone = 0.7.7
owner = ethuleau
owner_name = Édouard Thuleau
private = False
status = fix_released
submitter = ethuleau
submitter_name = Édouard Thuleau
tags = []
duplicates = []

Launchpad user Édouard Thuleau(ethuleau) wrote on 2014-02-28T14:54:21.180036+00:00

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

@ubuntu-server-builder ubuntu-server-builder added the launchpad Migrated from Launchpad label May 10, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Scott Moser(smoser) wrote on 2014-03-12T15:02:10.060840+00:00

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'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

1 participant