Commit: d08dde790374aafde2a78663fc2cee0df9c1f065
Author: Alex Ermolov <email address hidden>
Date: Mon Nov 16 21:28:52 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/9383 ci/fuel- 5.1.1-updates/ 2014.1. 1
Submitter: Denis V. Meltsaykin <email address hidden>
Branch: openstack-
Commit: d08dde790374aaf de2a78663fc2cee 0df9c1f065
Author: Alex Ermolov <email address hidden>
Date: Mon Nov 16 21:28:52 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_
Change-Id: Id20e73c19543e3 f4e240eee5c78e3 f13ba466a2f
Closes-Bug: #1462991