Failed to delete backup cause of multiple matches

Bug #1847388 reported by Eric Xie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Invalid
Undecided
Unassigned

Bug Description

When i use `openstack volume backup delete backup-test` to delete one backup, got error:
# openstack volume backup delete backup-test
Failed to delete backup with name or ID 'backup-test': More than one volumebackup exists with the name 'backup-test'.
1 of 1 backups failed to delete.

But in project context, there is only one backup called 'backup-test'
# openstack volume backup list
+--------------------------------------+-------------+-------------+-----------+------+
| ID | Name | Description | Status | Size |
+--------------------------------------+-------------+-------------+-----------+------+
| acc3fef8-28e6-44de-8a53-b731de9cd819 | test-b | None | error | 1 |
| a08e814b-f057-4488-998f-12408277554b | backup-test | None | available | 1 |
+--------------------------------------+-------------+-------------+-----------+------+

For all projects there are more than one.

So i think this op should be project-scoped.

Revision history for this message
Eric Xie (eric-xie) wrote :

Use `openstack --debug volume backup delete backup-test`, call api: http://10.110.28.20:8776/v2/187e1165ec2a40e9a72efab673e940d9/backups/detail?all_tenants=1&name=qwe.

I think all_tenants flag can not be specified.

Changed in python-cinderclient:
status: New → In Progress
assignee: nobody → Eric Xie (eric-xie)
Eric Xie (eric-xie)
Changed in python-cinderclient:
assignee: Eric Xie (eric-xie) → nobody
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.