OpenStack Compute (Nova)

Race condition causes servers to be undeletable stay in rebuild state.

Reported by Naveed Massjouni on 2012-01-19
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Naveed Massjouni

Bug Description

To recreate:
1) Turn off the nova-compute service
2) Rebuild a server using a valid image id
3) Delete the image
4) Turn on the nova-compute service

Now the server will stay in rebuild state forever. Trying to delete it results in the error message:
"Cannot 'delete' while instance is in vm_state rebuilding"

Thierry Carrez (ttx) on 2012-01-23
Changed in nova:
importance: Undecided → Low
status: New → Confirmed

Fix proposed to branch: master
Review: https://review.openstack.org/3367

Changed in nova:
assignee: nobody → Naveed Massjouni (ironcamel)
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/3367
Committed: http://github.com/openstack/nova/commit/04ca11bd4cf43b4332c02a15edd506868031168a
Submitter: Jenkins
Branch: master

commit 04ca11bd4cf43b4332c02a15edd506868031168a
Author: Naveed Massjouni <email address hidden>
Date: Tue Jan 24 19:12:32 2012 +0000

    Fixing a rebuild race condition bug.

    A race condition caused servers to be undeletable and stay in rebuild state.
    This patch handles exceptions on compute.manager side and sets the state
    of the instances appropriately.

    bug: 918958
    Change-Id: I7369a63174284c5b9ed257cc129f611163d5841d

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers