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

preguntada hace 4 años495 visualizaciones
1 Respuesta
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 hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas