Delete while creating: fails to terminate, stays in build state forever and not possible to terminate vm after

Bug #893582 reported by Satya Sanjibani Routray
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Johannes Erdfelt

Bug Description

1. Create a VM
2. While the VM state is build try to terminate the VM (nova delete <vm ID>)

Observation: Vm state stays in build and afterward its not possible to delete the vm and nova delete wont throw any error although its not deleting the vm

Expected result: VM should get terminated cleanly irrespective of the state of VM.

Tags: concurrency
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Medium
status: New → Confirmed
Thierry Carrez (ttx)
summary: - Terminating VM while the VM state is build fails to terminate the VM and
- VM stays in build state forever and its not possible to terminate the vm
- after
+ Delete while creating: fails to terminate, stays in build state forever
+ and not possible to terminate vm after
tags: added: concurrency
Changed in nova:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
Revision history for this message
Johannes Erdfelt (johannes.erdfelt) wrote :

This was fixed in commit 0514bc9d5e92ed0eb6671349e8ff37d7f58aab85 by preventing deletes during build.

Changed in nova:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.