** Changed in: cloud-init
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1065116
Title:
cloud-init fails when encountering unexpected header
Status in Init scripts for use on cloud images:
Fix Released
Bug description:
When the cloud-config includes a header other than ('content', 'filename',
'type', 'launch-index') the bootstrap fails with:
File "/usr/lib/python2.7/dist-packages/cloudinit/UserDataHandler.py",
line 127, in explode_cc_archive
msg.add_header(header, ent['header'])
KeyError: 'header'
I assume that the bug stems from the literal key in
/cloudinit/user_data.py:227 and suggest:
- msg.add_header(header, ent['header'])
+ msg.add_header(header, ent[header])
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1065116/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp