← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1290746] [NEW] Nova should allow HARD_REBOOT to instances in the state REBOOTING_HARD

 

Public bug reported:

Currently when trying to issue a hard reboot to an instance, the logic
in nova/compute/api.py says:

    if (reboot_type == 'HARD' and instance['task_state'] == task_states.REBOOTING_HARD)):
        raise exception.InstanceInvalidState

This mean's there's no user-facing way to rescue an instance that is
stuck in REBOOTING_HARD except for DELETE.

We should allow hard reboot to happen in the state REBOOTING_HARD.  Some
new locking code will be required.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1290746

Title:
  Nova should allow HARD_REBOOT to instances in the state REBOOTING_HARD

Status in OpenStack Compute (Nova):
  New

Bug description:
  Currently when trying to issue a hard reboot to an instance, the logic
  in nova/compute/api.py says:

      if (reboot_type == 'HARD' and instance['task_state'] == task_states.REBOOTING_HARD)):
          raise exception.InstanceInvalidState

  This mean's there's no user-facing way to rescue an instance that is
  stuck in REBOOTING_HARD except for DELETE.

  We should allow hard reboot to happen in the state REBOOTING_HARD.
  Some new locking code will be required.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1290746/+subscriptions


Follow ups

References