"nova rebuild" does not show returned admin password

Bug #1302696 reported by Johannes Erdfelt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Undecided
Johannes Erdfelt

Bug Description

When using "nova rebuild", the server returns an "adminPass" attribute, but the nova shell doesn't display to the user.

This is because the "nova rebuild" command does an extra GET on the instance to use for display purposes, but only the rebuild action includes the "adminPass" attribute.

Changed in python-novaclient:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

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

Reviewed: https://review.openstack.org/85444
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=496e39a260b75432958f7d8a8d1629e425795c4e
Submitter: Jenkins
Branch: master

commit 496e39a260b75432958f7d8a8d1629e425795c4e
Author: Johannes Erdfelt <email address hidden>
Date: Fri Apr 4 10:53:37 2014 -0700

    Print adminPass when rebuilding from shell

    The 'nova rebuild' command did not print the adminPass returned by the
    server. This is because it discards the instance information returned
    by the rebuild action and fetchs the information again. This would lose
    the adminPass and it would not be printed for the user.

    This patch reuses the instance information returned by the rebuild action
    which ensures that the adminPass is printed by the shell.

    Change-Id: I144bfa298bef529c78ca04042cd37a763537f09e
    Closes-bug: 1302696

Changed in python-novaclient:
status: In Progress → Fix Committed
Michael Still (mikal)
Changed in python-novaclient:
milestone: none → 2.18.0
Michael Still (mikal)
Changed in python-novaclient:
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.