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.
Reviewed: https:/ /review. openstack. org/85444 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=496e39a260b 75432958f7d8a8d 1629e425795c4e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 496e39a260b7543 2958f7d8a8d1629 e425795c4e
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: I144bfa298bef52 9c78ca04042cd37 a763537f09e
Closes-bug: 1302696