← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1377138] [NEW] Hard-rebooting suspending/resuming/pausing/unpausing VMs failed

 

Public bug reported:

Hard-rebooting Suspending, resuming, pausing and unpausing VMs will fail
without exception.InstanceInvalidState exception but with
UnexpectedTaskStateError().

@check_instance_state() of nova.compute.api.API.reboot() allows them,
but

instance.save(expected_task_state=[None, task_states.REBOOTING,
                                           task_states.REBOOT_PENDING,
                                           task_states.REBOOT_STARTED])

doesn't allow them. We need to append
task_states.SUSPENDING/RESUMING/PAUSING/UNPAUSING.

** Affects: nova
     Importance: Undecided
     Assignee: Akira Yoshiyama (yosshy)
         Status: In Progress

-- 
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/1377138

Title:
  Hard-rebooting suspending/resuming/pausing/unpausing VMs failed

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  Hard-rebooting Suspending, resuming, pausing and unpausing VMs will
  fail without exception.InstanceInvalidState exception but with
  UnexpectedTaskStateError().

  @check_instance_state() of nova.compute.api.API.reboot() allows them,
  but

  instance.save(expected_task_state=[None, task_states.REBOOTING,
                                             task_states.REBOOT_PENDING,
                                             task_states.REBOOT_STARTED])

  doesn't allow them. We need to append
  task_states.SUSPENDING/RESUMING/PAUSING/UNPAUSING.

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


Follow ups

References