← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155800] Re: Cannot delete / confirm / revert resize an instance if nova-compute crashes after VERIFY_RESIZE

 

This is super old, lots has changed since then, and several folks have
not been able to reproduce. Please re-open if this is still valid.

** Changed in: nova
   Importance: High => Undecided

** Changed in: nova
       Status: Triaged => Invalid

** Changed in: nova
     Assignee: Dan Smith (danms) => (unassigned)

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

Title:
  Cannot delete / confirm / revert resize an instance if nova-compute
  crashes after VERIFY_RESIZE

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  How to reproduce the bug:

  nova boot ... vm1
  nova migrate vm1 (or resize)

  wait for the vm status to reach VERIFY_RESIZE

  stop nova-compute on the host where vm1 is running

  nova delete vm1

  Error: The server has either erred or is incapable of performing the
  requested operation. (HTTP 500) (Request-ID: req-be1379bc-6a5b-
  41f5-a554-60e02acfdb79)

  restart quickly the nova-compute service, before the status becomes "XXX" in:
  nova-manage service list

  Note: the vm is still running on the hypervisor.

  nova show vm1
  VM status is still: VERIFY_RESIZE

  nova resize-confirm vm1

  ERROR: Cannot 'confirmResize' while instance is in task_state deleting
  (HTTP 409) (Request-ID: req-9660c776-ebc3-4397-a8e2-7ad83e8b6a0f)

  nova resize-revert vm1

  ERROR: Cannot 'revertResize' while instance is in task_state deleting
  (HTTP 409) (Request-ID: req-3cf0141b-ee3d-478f-8aa0-89091028a227)

  nova delete vm1

  The server has either erred or is incapable of performing the
  requested operation. (HTTP 500) (Request-ID: req-2cb17333-6cc9-42ca-
  baaa-da88ec90153f)

  nova-api log when running nova delete:
  http://paste.openstack.org/show/33783/

  Notes:

  Tests have been performed using the Hyper-V driver, but the issue
  seems to be unrelated to the driver.

  After stopping nova-compute, by waiting long enough for the service to
  be marked as XXX in "nova-manage service list", issuing "nova delete
  vm1" succeeds.

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