volume restore cli broken

Bug #1240151 reported by Edward Hope-Morley
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Undecided
Edward Hope-Morley

Bug Description

ubuntu@devstack:~/devstack$ cinder --debug backup-restore 7d4593b6-51a3-4d4d-a440-ea29caeae4e6

...

DEBUG (shell:521) 'Namespace' object has no attribute 'volume'
Traceback (most recent call last):
  File "/opt/stack/python-cinderclient/cinderclient/shell.py", line 516, in main
    sys.argv[1:]))
  File "/opt/stack/python-cinderclient/cinderclient/shell.py", line 462, in main
    args.func(self.cs, args)
  File "/opt/stack/python-cinderclient/cinderclient/v1/shell.py", line 815, in do_backup_restore
    if args.volume:
AttributeError: 'Namespace' object has no attribute 'volume'
ERROR: 'Namespace' object has no attribute 'volume'

This issue appears to have been introduced by https://review.openstack.org/#/c/45020/

Changed in python-cinderclient:
status: New → In Progress
assignee: nobody → Edward Hope-Morley (hopem)
Revision history for this message
Duncan Thomas (duncan-thomas) wrote :

gerrit magic not working for some reason, so for reference, https://review.openstack.org/#/c/51886/

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

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

commit c4ae3dd7a5edcab3050e13c89746ef121ff8518b
Author: Edward Hope-Morley <email address hidden>
Date: Tue Oct 15 18:09:42 2013 +0100

    Fixes broken v1 and v2 api backup-restore

    Also adds unit tests.

    Change-Id: I741889d49cffe46bf9165b266a62f2b328354e01
    Fixes: bug 1240151

Changed in python-cinderclient:
status: In Progress → Fix Committed
Revision history for this message
Edward Hope-Morley (hopem) wrote :

This was released in version 1.0.7 but the status of this bug not updated, will update manually.

Changed in python-cinderclient:
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.