Cinder snapshot-delete doesn't recognize snapshot name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
Fix Released
|
Undecided
|
Nate Potter |
Bug Description
When I try to use the Cinder snapshot-delete command using the name of a snapshot rather than its ID, it fails saying that there is no snapshot with a name or ID of 'snapshot-name'. If I then try to delete it using its ID the command succeeds. This is using the master branch of Cinder on a devstack environment.
Here are the commands I ran and their output:
root@server-
+------
| Property | Value |
+------
| created_at | 2015-11-
| description | None |
| id | bcd3ce2d-
| metadata | {} |
| name | test-snapshot |
| size | 1 |
| status | creating |
| updated_at | None |
| volume_id | d5a5f19c-
+------
root@server-
+------
| ID | Volume ID | Status | Name | Size |
+------
| bcd3ce2d-
+------
root@server-
Delete for snapshot test-snapshot failed: No snapshot with a name or ID of 'test-snapshot' exists.
ERROR: Unable to delete any of the specified snapshots.
Changed in cinder: | |
assignee: | nobody → Nate Potter (ntpttr) |
description: | updated |
affects: | cinder → python-cinderclient |
It looks like this is true for all snapshot-* commands that are supposed to accept a snapshot name as a parameter (e.g. snapshot-show, snapshot- metadata- show, etc.)