Cannot delete volume-type by name
Bug #1286314 reported by
Peter Hamilton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Undecided
|
Peter Hamilton |
Bug Description
Files: cinderclient.
Method: do_type_delete
Bug: can only delete volume-type by ID
The type-delete command only accepts the type ID when deleting a volume type. Virtually every other delete command in cinderclient accepts both the entity ID and the entity name. Furthermore, the underlying volume-type manager expects to get a volume type, rather than the ID, because it calls base.getid on the provided input. If it expected the ID, it would just pass the ID directly to the REST API call.
Fix: modify the do_type_delete methods to accept the type ID or type name, look up the corresponding volume type, and pass this to the underlying volume-type manager for processing.
Changed in python-cinderclient: | |
assignee: | nobody → Peter Hamilton (peter-hamilton) |
Changed in python-cinderclient: | |
milestone: | none → 1.3.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/77264
Review: https:/