← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1329538] [NEW] Failed delete leaves instance in undeletable state

 

Public bug reported:

A recent change changed the task_state behavior of instance deletes:

https://review.openstack.org/#/c/58829/

This leaves the task_state unmodified after a failed delete. Since the
task_state is unmodified, subsequent attempts to delete the instance are
skipped with the message "Instance is already in deleting state,
ignoring this request".

This is because the task_state remains 'deleting' and the delete code
thinks another delete is already happening.

At a minimum, an admin needs to intervene and reset the task_state. This
is a regression from previous behavior where retrying a delete would
attempt to delete the instance again.

This has been causing problems for the OpenStack CI infrastructure where
some instances initially failed to delete and reissuing delete requests
doesn't work.

** 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/1329538

Title:
  Failed delete leaves instance in undeletable state

Status in OpenStack Compute (Nova):
  New

Bug description:
  A recent change changed the task_state behavior of instance deletes:

  https://review.openstack.org/#/c/58829/

  This leaves the task_state unmodified after a failed delete. Since the
  task_state is unmodified, subsequent attempts to delete the instance
  are skipped with the message "Instance is already in deleting state,
  ignoring this request".

  This is because the task_state remains 'deleting' and the delete code
  thinks another delete is already happening.

  At a minimum, an admin needs to intervene and reset the task_state.
  This is a regression from previous behavior where retrying a delete
  would attempt to delete the instance again.

  This has been causing problems for the OpenStack CI infrastructure
  where some instances initially failed to delete and reissuing delete
  requests doesn't work.

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


Follow ups

References