Print backup and volume id in command backup-restore

Bug #1472493 reported by Lisa Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Lisa Li
python-cinderclient
Fix Released
Undecided
Lisa Li

Bug Description

Currently api returns volume id and backup-id in backup-restore, but in cinder client, no output is shown.
If users specifies a volume to do backup-restore, it is acceptable. But when users don't specify a volume in backup-restore,
the system creates a new volume. Although it gives a specified name, but run backup-restore several times with a same backup,
the name of created volumes are same. Not easy to know whether is the latest one.
The bug is raised to print volume-id and backup-id info after backup-restore.

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/199846

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

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

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/199876
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=48fb9c56952ed03d09fb6b251e372efd40676af2
Submitter: Jenkins
Branch: master

commit 48fb9c56952ed03d09fb6b251e372efd40676af2
Author: lisali <email address hidden>
Date: Thu Jul 9 13:57:45 2015 +0800

    Return volume name from backup_restore

    Currently volume id and backup id are returned, the change is
    to return volume_name also, which is consistent in style with
    cinder backup-create.

    The related change in python-cinderclient is
    https://review.openstack.org/#/c/199846/

    APIImpact
    It will return additional info "volume_name": volume name when
    restoring backup.

    Change-Id: I9f5d8ded993fcf1d351d4c65b6806929693b15d6
    Closes-Bug: #1472493

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/199846
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=b426b71d7dba46aaf8de69f537f39eac33c60f5c
Submitter: Jenkins
Branch: master

commit b426b71d7dba46aaf8de69f537f39eac33c60f5c
Author: lisali <email address hidden>
Date: Thu Jul 9 11:37:13 2015 +0800

    Show backup and volume info in backup_restore

    When no volume is specified in backup_restore command, a new
    volume is created with specified name.

    If running the same command several times, several volumes
    with same name are created, it needs to check logs to find out
    which volume is latest.

    This update is to show the returned info from api.

    Change-Id: I035fc85aa636b716b16c8a543c843ebf4659a96e
    Closes-Bug: #1472493
    Depends-On: I9f5d8ded993fcf1d351d4c65b6806929693b15d6

Changed in python-cinderclient:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Changed in python-cinderclient:
milestone: none → 1.4.0
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-3 → 7.0.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cinderclient 1.4.0

This issue was fixed in the openstack/python-cinderclient 1.4.0 release.

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.