Commit: 5f4aed4eaa84258ca87b1954da67a4851c84b407
Author: Ryan McNair <email address hidden>
Date: Thu Jan 14 15:31:48 2016
Add retry logic for detaching device using LibVirt
Add retry logic for removing a disk device from the LibVirt
guest domain XML. This is needed because immediately after a guest
reboot, libvirtmod.virDomainDetachDeviceFlags() will silently fail
to remove the mapping from the guest domain. The async retry
behavior is done in Guest and is generic so it can be re-used by any other
detaches which hit this same race condition.
Change-Id: I983f80822a5c210929f33e1aa348a0fef91e890b
Closes-Bug: #1503676
(cherry picked from commit 3a3fb3cfb2c41ad182545e47649ff12a4f3a743e)
Reviewed: https:/ /review. fuel-infra. org/16127 ci/fuel- 8.0/liberty
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-
Commit: 5f4aed4eaa84258 ca87b1954da67a4 851c84b407
Author: Ryan McNair <email address hidden>
Date: Thu Jan 14 15:31:48 2016
Add retry logic for detaching device using LibVirt
Add retry logic for removing a disk device from the LibVirt virDomainDetach DeviceFlags( ) will silently fail
guest domain XML. This is needed because immediately after a guest
reboot, libvirtmod.
to remove the mapping from the guest domain. The async retry
behavior is done in Guest and is generic so it can be re-used by any other
detaches which hit this same race condition.
Change-Id: I983f80822a5c21 0929f33e1aa348a 0fef91e890b 182545e47649ff1 2a4f3a743e)
Closes-Bug: #1503676
(cherry picked from commit 3a3fb3cfb2c41ad