Comment 2 for bug 1756994

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/554380
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bbb668bbec2e2fa6b7f64b9af9504b973016058c
Submitter: Zuul
Branch: master

commit bbb668bbec2e2fa6b7f64b9af9504b973016058c
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