Ec2 Linux instance stuck on boot fetching keys from metadata server

0

Hi,
Hopefully someone can help. Just rebooted our of our Ec2 instances and it is now stuck on boot.

The server log shows where it is stuck

		Welcome to Oracle Linux Server
ip_local_port_range: prefer different parity for start/end values.
Starting udev: %G  [ OK  ]
Setting hostname <hostname>:  [  OK  ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext4 (1) -- /] fsck.ext4 -a /dev/xvde1 
/dev/xvde1: clean, 82719/655360 files, 1144008/2621184 blocks
[  OK  ]
Remounting root filesystem in read-write mode:  [  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling /etc/fstab swaps:  [  OK  ]
Entering non-interactive startup
Calling the system activity data collector (sadc)... 
Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  
Determining IP information for eth0... done.
[  OK  ]
Starting auditd: [  OK  ]
Starting system logger: [ OK ]
Fetching list of trusted keys from metadata server...

Any pointers would be much appreciated as it won't continue through the rest of the boot sequence until it fetches the public key from the metadata server.

Cheers
PJ

asked 4 years ago462 views
1 Answer
0

Found that the issue was down to the network configuration.

I eventually found the issue by stopping the instance and detaching the boot volume, I then mounted it onto another EC2 instance and drilled down into the logs.

answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions