diff options
| author | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2012-09-20 22:46:46 +0000 |
|---|---|---|
| committer | Johannes Erdfelt <johannes.erdfelt@rackspace.com> | 2012-09-20 22:46:46 +0000 |
| commit | a73de83bd13482f33066fc27524a58f194dcbe50 (patch) | |
| tree | aa1d93092e8ea67ab4d5fd2dade61594a0869078 /nova/openstack | |
| parent | 1ec8b5d06cf5f5ff0dc0e2a5318ccfc05756d2a4 (diff) | |
libvirt: return after soft reboot successfully completes
A soft reboot shuts down an instance, waits for the instance to shutdown,
then starts the instance and waits for the instance to finish starting.
However, instead of returning success, it continues back into the loop
and waits for the instance to be shutdown again.
That will continue until the soft reboot times out, which is by default
120 seconds.
This manifested itself as a unit test that would consistently take 120
seconds to run, but could possibly affect deployed environments by
restarting instances that are shutdown shortly after a soft reboot.
Change-Id: I012c53343be4b4eb943643903fc47c7fe70a594d
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
