volume backup show fails when backup is identified by name

Bug #2093859 reported by Bernd Bausch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

This is on a Dalmatian Devstack.

$ openstack volume backup list -c ID -c Name
+--------------------------------------+------------+
| ID | Name |
+--------------------------------------+------------+
| f5d02a9f-1324-456d-8728-4bbe585930d6 | incbackup1 |

$ openstack volume backup show incbackup1
No Backup found for incbackup1: Client Error for url: http://192.168.1.200/volume/v3/$PROJECT/backups/incbackup1, Backup incbackup1 could not be found.
$ openstack volume backup show f5d02a9f-1324-456d-8728-4bbe585930d6
+-----------------------+--------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------+
| availability_zone | nova |
...
$ openstack --version
openstack 7.1.3

The --debug option confirms that the openstack client issues an incorrect API, i.e.
GET http://192.168.1.200/volume/v3/$PROJECT/backups/incbackup1, although the API requires a UUID, not a name.

Tags: backup volume
description: updated
description: updated
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.