Page 1 of 1

Cloud Init Broken in AWS AMI 1804_2

Posted: 2018/06/12 19:17:13
by csmithse
The user-data scripts are broken in the AWS AMI for CentOS Linux 7 x86_64 HVM EBS ENA 1804_2 (ami-5490ed2c).

The user_data script doesn't run, and the /var/log/cloud-init.log contains a bunch of debug messages.

It looks like it gets the script from the instance metadata, and writes it to the cloud-init directory...

[DEBUG]: Read from http://169.254.169.254/2009-04-04/user-data (200, 117b) after 1 attempts
[DEBUG]: Writing to /var/lib/cloud/instances/i-############/user-data.txt - wb: [384] 117 bytes

But the user-data script never runs.

Re: Cloud Init Broken in AWS AMI 1804_2

Posted: 2018/06/12 19:45:53
by TrevorH
I'd suggest using http://bugs.centos.org for this.