← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1379425] [NEW] REBOOTING_HARD not in expected_task_state

 

Public bug reported:

On hard reboot, the task state is set to REBOOTING_HARD
(https://github.com/openstack/nova/blob/master/nova/compute/api.py#L2213).
This can be verified by rebooting twice in a row: {"conflictingRequest":
{"message": "Cannot 'reboot' while instance is in task_state
rebooting_hard", "code": 409}}. However, REBOOTING_HARD is not in
expected_task_state
(https://github.com/openstack/nova/blob/master/nova/compute/api.py#L2215).
Shouldn't it be?

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: low-hanging-fruit

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

Title:
  REBOOTING_HARD not in expected_task_state

Status in OpenStack Compute (Nova):
  New

Bug description:
  On hard reboot, the task state is set to REBOOTING_HARD
  (https://github.com/openstack/nova/blob/master/nova/compute/api.py#L2213).
  This can be verified by rebooting twice in a row:
  {"conflictingRequest": {"message": "Cannot 'reboot' while instance is
  in task_state rebooting_hard", "code": 409}}. However, REBOOTING_HARD
  is not in expected_task_state
  (https://github.com/openstack/nova/blob/master/nova/compute/api.py#L2215).
  Shouldn't it be?

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


Follow ups

References