Commit: 426d17259ad75c4e9180cb7452afa45062b47d01
Author: Alex Ermolov <email address hidden>
Date: Tue Jun 9 16:28:40 2015
libvirt: Handle empty context on _hard_reboot
When _hard_reboot runs for resume_guest_state_on_host_boot, we don't
have a valid context. This checks if the context is valid before
attempting to repopulate base images.
This is a bit of a hack, as it assumes that the base images already
exist on the system, and will fail if they don't. However, it reduces
the number of failures (without this, every downed guest is guaranteed
to error when coming back up for resume_guest_state_on_host_boot).
Reviewed: https:/ /review. fuel-infra. org/7667 ci/fuel- 6.1/2014. 2
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: 426d17259ad75c4 e9180cb7452afa4 5062b47d01
Author: Alex Ermolov <email address hidden>
Date: Tue Jun 9 16:28:40 2015
libvirt: Handle empty context on _hard_reboot
When _hard_reboot runs for resume_ guest_state_ on_host_ boot, we don't
have a valid context. This checks if the context is valid before
attempting to repopulate base images.
This is a bit of a hack, as it assumes that the base images already guest_state_ on_host_ boot).
exist on the system, and will fail if they don't. However, it reduces
the number of failures (without this, every downed guest is guaranteed
to error when coming back up for resume_
Closes-Bug: 1462991 b2adb0a561659e6 df8c7c1f40f
Change-Id: Ibac52f5d1b4e5a