cinder provider fails to detach/remove if volume doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Andrew Wilkins | ||
2.3 |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
If you create cinder storage for a charm, then remove the Cinder volume directly, then Juju will be unable to remove the volume entity. This is due to a bug in the Goose client, which misinterprets a 404 as lack of API support.
The status on the volume, as output by "juju storage --volume":
... detaching listing volume attachments: the server does not support listing attached volumes
caused by: Resource at http://<redacted>
caused by: request (http://<redacted>
Changed in juju: | |
milestone: | 2.4-beta1 → 2.3.1 |
Changed in juju: | |
milestone: | 2.3.1 → none |
Changed in juju: | |
milestone: | none → 2.3.2 |
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | nobody → Andrew Wilkins (axwalk) |
Changed in juju: | |
milestone: | 2.3.2 → 2.4-beta1 |
status: | In Progress → Triaged |
Changed in juju: | |
status: | Fix Committed → Fix Released |
As is usual, the issue turns out to be a little more complicated. Goose is morphing some not-found errors in the nova API, and the cinder API is not using goose's errors at all (so the methods of determining whether an error is due to "not found" don't work). Will work on updating the cinder API to use them.