Comment 11 for bug 1735407

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

Options to further limit the window of the race condition
1) Move setting the instance.host before the virt driver rebuild call. I'm afraid it will result is a lot of unwanted side effect.
2) Move the late check after the virt driver rebuild call. This might cause that for a short period of time the second instance will run on the target host violating the policy before it is destroyed by the late check. This sound bad for the user.
3) During the late check consider the target hosts of ongoing migrations as host used by the server group.

By eliminating the first two options I only left with the third to consider. But I'm open for suggestions.