[Bug 1035279] [NEW] instance hangs at grub prompt after reboot followed by euca-reboot-instances

Launchpad Bug Tracker 1035279 at bugs.launchpad.net
Fri Jul 8 22:48:44 UTC 2016


You have been subscribed to a public bug:

This issue has been reproduced on Diablo and Essex so far.

When doing "sudo reboot" in an instance shortly followed by "euca-
reboot-instances {instanceID}", once the instaces comes back up, it is
no longer accessible interactively. The kernel is still executing
commands but it stucked in the early boot phases

If only "sudo reboot" from within the instance or "euca-reboot-
instances" is used, network connectivity comes back as expected.

This can be reproduced by using the following steps :

# On the compute node
sudo -s
source creds/novarc
# start instance
instanceid=`euca-run-instances -k novaadmin -t m1.tiny ami-00000006 | grep INSTANCE | awk '{print $2}'`
# wait for instance to start
sleep 60
# reboot the instance with reboot command
ssh -i creds/novaadmin_.key ubuntu@`euca-describe-instances $instanceid | grep INSTANCE | awk '{print $4}'` 'sudo reboot'
# wait 20 seconds
sleep 20
# reboot instance with euca-reboot-instance command
euca-reboot-instances $instanceid

Now euca-describe-instances will show the instance as running, but it is
is unreachable via ssh. The kvm process for the instance is still
visible and running.

Related bugs:
  * bug 872244: grub2 recordfail logic prevents headless system from rebooting after power outage
  * bug 669481:  Timeout should not be -1 if $recordfail

** Affects: ubuntu-on-ec2
     Importance: Undecided
         Status: Fix Released

** Affects: grub2 (Ubuntu)
     Importance: High
     Assignee: Ben Howard (utlemming)
         Status: Fix Released

** Affects: grub2 (Ubuntu Oneiric)
     Importance: High
         Status: Fix Released

** Affects: grub2 (Ubuntu Precise)
     Importance: High
     Assignee: Scott Moser (smoser)
         Status: Fix Released


** Tags: cloud-images cloud-images-build
-- 
instance hangs at grub prompt after reboot followed by euca-reboot-instances
https://bugs.launchpad.net/bugs/1035279
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub2 in Ubuntu.



More information about the foundations-bugs mailing list