Cinder-backup can not show backup details by Name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Medium
|
Anton Arefiev |
Bug Description
Cinder-backup can not show backup details by Name.
Steps:
1. Execute on controller node:
[root@node-1 ~]# cinder backup-show BACKUP1
Actual: ERROR: list() got an unexpected keyword argument 'search_opts'
Expected:
[root@node-1 ~]# cinder backup-show 0f350947-
+------
| Property | Value |
+------
| availability_zone | nova |
| container | volumebackups |
| created_at | 2015-04-
| description | None |
| fail_reason | None |
| id | 0f350947-
| name | BACKUP1 |
| object_count | 22 |
| size | 1 |
| status | available |
| volume_id | 65124a9a-
+------
Cinder backup-show should handle backups ID and Name both:
# cinder help backup-show
usage: cinder backup-show <backup>
Show backup details.
Positional arguments:
<backup> Name or ID of backup.
Environment:
Juno on CentOS 6.5, Multi-node with HA
1 controller+
Ceph for Cinder and Glance.
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
api: "1.0"
build_number: "260"
build_id: "2015-03-
nailgun_sha: "51ddbe0a2e379e
python-
astute_sha: "7292fc2a673cb1
fuellib_sha: "27459a89cdac07
ostf_sha: "1c7f799cb0e159
fuelmain_sha: "178812b1971a90
Changed in mos: | |
assignee: | nobody → Kyrylo Romanenko (kromanenko) |
milestone: | none → 6.1 |
assignee: | Kyrylo Romanenko (kromanenko) → MOS Cinder (mos-cinder) |
summary: |
- Can not show backup details by Name + Cinder-backup can not show backup details by Name |
tags: | added: cinder |
Changed in mos: | |
assignee: | MOS Cinder (mos-cinder) → Anton Arefiev (aarefiev) |
Changed in mos: | |
status: | Confirmed → In Progress |
Changed in mos: | |
status: | In Progress → Fix Committed |
Fix https:/ /review. openstack. org/#/c/ 74880/ will be able in next cinderclient release.