cloud-init fails to start on AWS ubuntu instance
by sashkello from LinuxQuestions.org on (#4YHKA)
Hi all!
I've mistakenly force-detached a root volume from an AWS EC2 instance and it looks like something got broken along the way. I do know how to detach and edit it on another instance, but have no idea what exactly I need to fix.
At the moment it fails one of the checks:
"Instance reachability check failed"
The logs seem to indicate something wrong with cloud-init:
Attached Files


I've mistakenly force-detached a root volume from an AWS EC2 instance and it looks like something got broken along the way. I do know how to detach and edit it on another instance, but have no idea what exactly I need to fix.
At the moment it fails one of the checks:
"Instance reachability check failed"
The logs seem to indicate something wrong with cloud-init:
cloud-init[542]: IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance'Full log is attached.
Attached Files
![]() | error.log (45.3 KB) |