server rebuild fails due to lack of attribute 'rebuild_password'

Bug #1190722 reported by Anita Kuno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Dean Troyer

Bug Description

I am unable to correctly execute the `openstack server rebuild` command.

$ openstack server --debug rebuild --image cirros-0.3.1-x86_64-uec --password <adminPass> test_server
INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 192.168.122.175
INFO: requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 192.168.122.175
ERROR: cliff.app 'Namespace' object has no attribute 'rebuild_password'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 250, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 84, in run
column_names, data = self.take_action(parsed_args)
File "/opt/stack/python-openstackclient/openstackclient/compute/v2/server.py", line 530, in take_action
if parsed_args.rebuild_password is not False:
AttributeError: 'Namespace' object has no attribute 'rebuild_password'

Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → Medium
assignee: nobody → Dean Troyer (dtroyer)
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/38162

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

Reviewed: https://review.openstack.org/38162
Committed: http://github.com/openstack/python-openstackclient/commit/61beeb7e203eda719e167d1fd2740f0b3225e11f
Submitter: Jenkins
Branch: master

commit 61beeb7e203eda719e167d1fd2740f0b3225e11f
Author: Dean Troyer <email address hidden>
Date: Mon Jul 22 10:23:51 2013 -0500

    Fix --password in server rebuild

    Use correct attribute to get password in server rebuild command.

    Fixes bug 1190722

    Change-Id: Ibe2ccb8840a385319781885b8aadca6e1ba4cc43

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