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.
Reviewed: https:/ /review. openstack. org/83812 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8a430da045d 86ccb8daee6e082 c12890ce5c5276
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8a430da045d86cc b8daee6e082c128 90ce5c5276
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: I70887bea343734 a977f621fedc634 b6fab0e4ad5