Comment 2 for bug 1297485

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

Reviewed: https://review.openstack.org/83812
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8a430da045d86ccb8daee6e082c12890ce5c5276
Submitter: Jenkins
Branch: master

commit 8a430da045d86ccb8daee6e082c12890ce5c5276
Author: Dennis Kliban <email address hidden>
Date: Fri Mar 28 16:06:25 2014 -0400

    Moved the registration of lifecycle event handler in init_host()

    The event handler has to be registered before the libvirt connection
    is used for the first time. Otherwise it doesn't register and events
    such as shut down initiated from within the instance are not registered
    in nova until a period task compares the content of hypervisor with
    content of database.

    Closes bug: #1297485

    Change-Id: I70887bea343734a977f621fedc634b6fab0e4ad5