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
Site Admin
Posts: 33202
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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply