[openstack] [Nova] Instance automatically got shutdown

Matt Riedemann mriedemos at gmail.com
Wed Jan 30 22:26:09 UTC 2019


On 1/30/2019 7:39 AM, Sean Mooney wrote:
> have you checked that the instace was not killed by the kernel
> OOM reaper.
> 
> the log snipit show that nova recived an instance lifecyle event
> from libvirt statign the vm was stoped so it just updated the db.
> 
> the other way this could happen if if the guest just ran
> sudo poweroff.

Good things to investigate.

I see the sync_power_state_interval periodic is already disabled so it 
has to be something with life cycle events from libvirt.

There is another configuration option if you really need to use it to 
disable handling of life cycle events from libvirt:

https://docs.openstack.org/nova/latest/configuration/config.html#workarounds.handle_virt_lifecycle_events

-- 

Thanks,

Matt



More information about the openstack-discuss mailing list