cinder volume on RBD not released after failure of zun
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
New
|
Undecided
|
Unassigned |
Bug Description
Make zun-compute succeed to mount RBD but fail to prepare the fs (e.g. by missing the tools).
The container will fail to start. Removing it forcibly does not release the volume and it is stuck in the following state (zun-test):
+------
| ID | Name | Status | Size | Attached to |
+------
| a72fbec8-
| 9e90fa84-
| 59229cd7-
+------
Horizon errors out on showing details or attachments.
I will try to debug it more later.
Side bug: cinder has no idea that it's not an ID of instance but container.