Add convenience print after cinder backup-create

Bug #1210874 reported by Seif Lotfy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Wishlist
Seif Lotfy

Bug Description

Currently I am doing lots of testing with cinder-backup. While using the command line I find it a bit frustrating that I have to do a "cinder backup-list" after each "cinder-backup create <volume-id>" and look for a the <backup-id> matching that <volume-id>.
Things get worse when I have several backups of that one <volume-uid>.

My proposal would to do a print (like the ones found after e.g: "cinder create 1") that would allow quicker referencing.
It should look as follows IMHO:
+-----------+--------------------------------------+
| Property | Value |
+-----------+--------------------------------------+
| id | c82ab157-5703-4bb3-af8a-b2ad62a37c0f |
| name | goof |
| volume_id | 93fc368b-e936-4136-91f7-fb92fb93aabe |
+-----------+--------------------------------------+

This would make everything much more convenient.

Seif Lotfy (seif)
Changed in python-cinderclient:
assignee: nobody → Seif Lotfy (seif)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-cinderclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/41271
Committed: http://github.com/openstack/python-cinderclient/commit/219798536d47ce23c73a30894b3d3eb69574f7ad
Submitter: Jenkins
Branch: master

commit 219798536d47ce23c73a30894b3d3eb69574f7ad
Author: Seif Lotfy <email address hidden>
Date: Sat Aug 10 22:00:01 2013 +0000

    Add print for "backup-create" command

    For convenience reasons backup-create should print out metadata

    Fixes bug: 1210874

    Change-Id: I327aaadb3b82c2073cec5807aa429c4ffac6ee0f

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.3.1
status: Fix Committed → Fix Released
Eric Harney (eharney)
Changed in python-cinderclient:
importance: Undecided → Wishlist
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.