client error while rescuing an instance

Bug #1457983 reported by Jose Castro Leon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Amey Bhide

Bug Description

While running openstack server rescue throws an error, but it does the action anyway.
But it does not return the adminpass after doing the action

(openstack) server rescue jan-demo
ERROR: cliff.app 'tuple' object has no attribute '_info'
(openstack) server list --name jan-demo\$
+--------------------------------------+----------+--------+------------------------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+----------+--------+------------------------------------------------------+
| 17bf9572-6015-4e8e-8e1b-dd0039c3f9b2 | jan-demo | RESCUE | CERN_NETWORK=188.184.184.75, 2001:1458:301:f::100:45 |
+--------------------------------------+----------+--------+------------------------------------------------------+
(openstack)
(openstack) server unrescue jan-demo
(openstack) server list --name jan-demo\$
+--------------------------------------+----------+--------+------------------------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+----------+--------+------------------------------------------------------+
| 17bf9572-6015-4e8e-8e1b-dd0039c3f9b2 | jan-demo | ACTIVE | CERN_NETWORK=188.184.184.75, 2001:1458:301:f::100:45 |
+--------------------------------------+----------+--------+------------------------------------------------------+

Revision history for this message
Jose Castro Leon (jose-castro-leon) wrote :
Terry Howe (thowe-g)
Changed in python-openstackclient:
status: New → Confirmed
Amey Bhide (abhide)
Changed in python-openstackclient:
assignee: nobody → Amey Bhide (abhide)
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/185078

Changed in python-openstackclient:
status: Confirmed → In Progress
Revision history for this message
Terry Howe (thowe-g) wrote :

Jose, I think this output format is best with the table, because otherwise users would get a strange string with no explanation. The 'adminPass' lets them know the string is a password. If advanced users just want the password:

    os server rescue srvone -f value -c adminPass
    NEkfH77PKx8a

With no format and column options:

    +-----------+--------------+
    | Field | Value |
    +-----------+--------------+
    | adminPass | S27EQCQzd2RP |
    +-----------+--------------+

Changed in python-openstackclient:
importance: Undecided → Medium
milestone: none → m11
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/185078
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=7ef9f97b954678972eb8e15309a7f0280df283d5
Submitter: Jenkins
Branch: master

commit 7ef9f97b954678972eb8e15309a7f0280df283d5
Author: Amey Bhide <email address hidden>
Date: Fri May 22 10:04:19 2015 -0700

    Fix client error while rescuing an instance

    Typo server._info -> server

    Closes-Bug: #1457983

    Change-Id: I606505d73b3aae90bac636e960275926284b4ea6

Changed in python-openstackclient:
status: In Progress → Fix Committed
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.