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 年前檢視次數 495 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南