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

feita há 4 anos495 visualizações
1 Resposta
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.

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas