commit 05b945e61ab2739b39869f571379e1c95a017906
Author: Matt Riedemann <email address hidden>
Date: Mon Mar 19 19:24:32 2018 -0400
Fix message for unexpected external event
During live migration, we get vif plugged events
that we're not waiting for, and if InstanceEvents._events
is empty, pop_instance_event() will log a message about
shutting down, but the compute service isn't actually
shutting down. When it is, ComputeManager.cleanup_host()
calls cancel_all_events() which sets _events to None, so
we should only mention shutting down when _events is None.
Change-Id: Ie868273c4b9629f9b35645df5785304ebba5d64c
Closes-Bug: #1756994
(cherry picked from commit bbb668bbec2e2fa6b7f64b9af9504b973016058c)
Reviewed: https:/ /review. openstack. org/589503 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=05b945e61ab 2739b39869f5713 79e1c95a017906
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 05b945e61ab2739 b39869f571379e1 c95a017906
Author: Matt Riedemann <email address hidden>
Date: Mon Mar 19 19:24:32 2018 -0400
Fix message for unexpected external event
During live migration, we get vif plugged events _events event() will log a message about cleanup_ host()
that we're not waiting for, and if InstanceEvents.
is empty, pop_instance_
shutting down, but the compute service isn't actually
shutting down. When it is, ComputeManager.
calls cancel_all_events() which sets _events to None, so
we should only mention shutting down when _events is None.
Change-Id: Ie868273c4b9629 f9b35645df57853 04ebba5d64c 6b7f64b9af9504b 973016058c)
Closes-Bug: #1756994
(cherry picked from commit bbb668bbec2e2fa