openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #13369
Deleting a volume stuck in "attaching" state?
I attempted to attach a volume to a running instance, but later
deleted the instance, leaving the volume stuck in the "attaching"
state:
# nova volume-list
+----+-----------+--------------+------+-------------+-------------+
| ID | Status | Display Name | Size | Volume Type | Attached to |
+----+-----------+--------------+------+-------------+-------------+
| 9 | attaching | None | 1 | None | |
+----+-----------+--------------+------+-------------+-------------+
It doesn't appear to be possible to delete this with "nova
volume-delete":
# nova volume-delete
nova volume-delete 9
ERROR: Invalid volume: Volume status must be available or error (HTTP 400)
Other than directly editing the database (and I've had to do that an
awful lot already), how do I recover from this situation?
--
Lars Kellogg-Stedman <lars@xxxxxxxxxxxxxxxx> |
Senior Technologist | http://ac.seas.harvard.edu/
Academic Computing | http://code.seas.harvard.edu/
Harvard School of Engineering and Applied Sciences |
Follow ups