Cloud Init Broken in AWS AMI 1804_2

Issues related to applications and software problems
Post Reply
csmithse
Posts: 1
Joined: 2018/06/12 18:58:28

Cloud Init Broken in AWS AMI 1804_2

Post by csmithse » 2018/06/12 19:17:13

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.

User avatar
TrevorH
Forum Moderator
Posts: 23205
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cloud Init Broken in AWS AMI 1804_2

Post by TrevorH » 2018/06/12 19:45:53

I'd suggest using http://bugs.centos.org for this.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply