Backup list doesn't show backup's name

Bug #1408585 reported by Zhiyuan Cai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Zhiyuan Cai

Bug Description

Run "backup list" after creating a backup with name, "Display Name" column is empty.

openstack@Openstack-Vega:~/Vega/devstack$ openstack backup list
+--------------------------------------+--------------+---------------------+-----------+------+
| ID | Display Name | Display Description | Status | Size |
+--------------------------------------+--------------+---------------------+-----------+------+
| cdaba81b-bf3a-4b93-9a5c-8dc444a281c5 | | | available | 1 |
+--------------------------------------+--------------+---------------------+-----------+------+

Run "cinder back-list", backup's name is showed in the "Name" column.

openstack@Openstack-Vega:~/Vega/devstack$ cinder backup-list
+--------------------------------------+--------------------------------------+-----------+--------+------+--------------+-----------+
| ID | Volume ID | Status | Name | Size | Object Count | Container |
+--------------------------------------+--------------------------------------+-----------+--------+------+--------------+-----------+
| cdaba81b-bf3a-4b93-9a5c-8dc444a281c5 | 89109fb6-879c-47b4-9d61-3ff2a9e325eb | available | myBack | 1 | 22 | vol |
+--------------------------------------+--------------------------------------+-----------+--------+------+--------------+-----------+

I check cinder code and find that in the returned dictionary of backup, key 'name' is mapped to display_name, key 'description' is mapped to display_description, so we need to rename the title to 'Name' and 'Description' to fill the column.

Changed in python-openstackclient:
assignee: nobody → Zhiyuan Cai (luckyvega-g)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/145718

Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-openstackclient (master)

Change abandoned by Steve Martinelli (<email address hidden>) on branch: master
Review: https://review.openstack.org/145718

Revision history for this message
Steve Martinelli (stevemar) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/145105
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=55b85403744840e8327a6184ab3464d602e93e3f
Submitter: Jenkins
Branch: master

commit 55b85403744840e8327a6184ab3464d602e93e3f
Author: Steve Martinelli <email address hidden>
Date: Mon Jan 5 20:02:53 2015 -0500

    Fixup backup list output

    Name and Description were not appearing at all, and we didn't have
    a --long alternative, which had a bunch of useful information.

    Closes-Bug: #1408585
    Change-Id: I7ca42a8d23ad60f6b9cc862799cb08a3e491b6e8

Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m7
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Fix Committed → Fix Released
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.