There is no way to cleanup a volume in a "creating" or "deleting" state

Bug #1119479 reported by Andrea Frittoli
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Undecided
Unassigned

Bug Description

It is not possible to remove a volume stuck in "creating" or "deleting" state.

$ nova volume-list
+--------------------------------------+----------+--------------------+--
| ID | Status | Display Name |
+--------------------------------------+----------+--------------------+--
| 138c1238-f038-4b72-85e4-1bc206618ca2 | creating | Volume-151905 | 1
+--------------------------------------+----------+--------------------+--
$ cinder --insecure delete 138c1238-f038-4b72-85e4-1bc206618ca2
ERROR: Invalid volume: Volume status must be available or error (HTTP 400) (Request-ID: req-a3189a72-2702-4573-ad93-204272190317)
$ nova volume-delete 138c1238-f038-4b72-85e4-1bc206618ca2
ERROR: Invalid volume: Volume status must be available or error (HTTP 400) (Request-ID: req-3a980e1c-b3e4-4cbb-8c0f-7ff52db91ea4)

Similar to:
https://bugs.launchpad.net/nova/+bug/944383
https://bugs.launchpad.net/nova/+bug/953594

description: updated
summary: - There is no way to cleanup a volume in an "creating" state
+ There is no way to cleanup a volume in a "creating" or "deleting" state
Chuck Short (zulcss)
affects: nova → cinder
Revision history for this message
Chuck Short (zulcss) wrote :
Changed in cinder:
status: New → Invalid
status: Invalid → Fix Committed
affects: cinder → python-cinderclient
Revision history for this message
John Griffith (john-griffith) wrote :
Changed in python-cinderclient:
milestone: none → 1.3.1
status: Fix Committed → Fix Released
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.