yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70615
[Bug 1640342] Re: Base64 encoded userdata scripts don't execute
[Expired for cloud-init because there has been no activity for 60 days.]
** Changed in: cloud-init
Status: Incomplete => Expired
--
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/1640342
Title:
Base64 encoded userdata scripts don't execute
Status in cloud-init:
Expired
Bug description:
To replicate, attempt to pass in the example script from the doc here:
http://cloudinit.readthedocs.io/en/latest/topics/format.html#user-
data-script
with base64 encoding.
I tried using the AWS-SDK for Ruby V2 with a very simple base64
encoded script (which worked fine in trusty), and the sample script
from above in the AWS EC2 console's launch-instance wizard (which
looks like it's also doing base64 encoding behind the scenes).
Attached are log files from passing the documentation's sample script
into an Ubuntu 16.04 EC2 instance (ami-40d28157) by pasting the script
into the user-data textbox of the launch instance wizard (which seems
to do base64 encoding).
Evidence it failed to run:
-There was no /root/output.txt,
-"Hello World" is nowhere in "/var/log/cloud-init-output.log"
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1640342/+subscriptions
References