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

已提问 4 年前513 查看次数
1 回答
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.

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则