[openstack] [Nova] Instance automatically got shutdown
Md. Farhad Hasan Khan
rony.khan at brilliant.com.bd
Wed Jan 30 13:20:49 UTC 2019
Sorry for mistake. I corrected the subject line.
From: Slawomir Kaplonski [mailto:skaplons at redhat.com]
Sent: Wednesday, January 30, 2019 2:55 PM
To: rony.khan at brilliant.com.bd
Cc: openstack-discuss at lists.openstack.org
Subject: Re: [openstack] [Neutron] Instance automatically got shutdown
Why You tagged „Neutron” in topic? IMO it’s some issue related to Nova rather than Neutron.
> Wiadomość napisana przez Md. Farhad Hasan Khan <rony.khan at brilliant.com.bd> w dniu 30.01.2019, o godz. 05:07:
> we are getting Openstack instance automatically shut down. Instance not shut down from horizon/cli & from inside instance. This is happening randomly in our environment. Please help us to solve this.
> cat /etc/nova/nova.conf
> Here is log:
> [root at compute2 ~]# cat /var/log/nova/nova-compute.log |grep 4e143f50-49d4-40c9-b80e-c99dfe45d9d4
> 2019-01-30 08:06:18.750 417615 INFO nova.compute.manager [-] [instance: 4e143f50-49d4-40c9-b80e-c99dfe45d9d4] VM Stopped (Lifecycle Event)
> 2019-01-30 08:06:18.855 417615 INFO nova.compute.manager [req-c2b7b111-e124-4aac-8971-59c3f840bacc - - - - -] [instance: 4e143f50-49d4-40c9-b80e-c99dfe45d9d4] During _sync_instance_power_state the DB power_state (1) does not match the vm_power_state from the hypervisor (4). Updating power_state in the DB to match the hypervisor.
> 2019-01-30 08:06:19.027 417615 WARNING nova.compute.manager [req-c2b7b111-e124-4aac-8971-59c3f840bacc - - - - -] [instance: 4e143f50-49d4-40c9-b80e-c99dfe45d9d4] Instance shutdown by itself. Calling the stop API. Current vm_state: active, current task_state: None, original DB power_state: 1, current VM power_state: 4
> 2019-01-30 08:06:19.376 417615 INFO nova.compute.manager [req-c2b7b111-e124-4aac-8971-59c3f840bacc - - - - -] [instance: 4e143f50-49d4-40c9-b80e-c99dfe45d9d4] Instance is already powered off in the hypervisor when stop is called.
> 2019-01-30 08:06:19.441 417615 INFO nova.virt.libvirt.driver [req-c2b7b111-e124-4aac-8971-59c3f840bacc - - - - -] [instance: 4e143f50-49d4-40c9-b80e-c99dfe45d9d4] Instance already shutdown.
> 2019-01-30 08:06:19.445 417615 INFO nova.virt.libvirt.driver [-] [instance: 4e143f50-49d4-40c9-b80e-c99dfe45d9d4] Instance destroyed successfully.
> Thanks & B’Rgds,
Senior software engineer
More information about the openstack-discuss