When rescuing an instance having a vGPU, we were not using the vGPU.
There would then be a race condition during the rescue where the vGPU
could be passed to another instance.
Instead, we should just make sure the vGPU would also be in the rescued
instance.
Reviewed: https:/ /review. openstack. org/577424 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1c59397e09d e5506bccba513ef 31ffb8585fcdc3
Committed: https:/
Submitter: Zuul
Branch: master
commit 1c59397e09de550 6bccba513ef31ff b8585fcdc3
Author: Sylvain Bauza <email address hidden>
Date: Fri Jun 22 14:53:57 2018 +0200
libvirt: Fix the rescue race for vGPU instances
When rescuing an instance having a vGPU, we were not using the vGPU.
There would then be a race condition during the rescue where the vGPU
could be passed to another instance.
Instead, we should just make sure the vGPU would also be in the rescued
instance.
Change-Id: I7150e15694bb14 9ae67da37b5e43b 6ea7507fe82
Closes-bug: #1762688