Article 4YHKA cloud-init fails to start on AWS ubuntu instance

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:
cloud-init[542]: IsADirectoryError: [Errno 21] Is a directory: '/var/lib/cloud/instance'
Full log is attached.
Attached Files
log.giferror.log (45.3 KB)
latest?d=yIl2AUoC8zA latest?i=PYwnr2Ap3Q8:t_y1gOxcuGU:F7zBnMy latest?i=PYwnr2Ap3Q8:t_y1gOxcuGU:V_sGLiP latest?d=qj6IDK7rITs latest?i=PYwnr2Ap3Q8:t_y1gOxcuGU:gIN9vFwPYwnr2Ap3Q8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments