Hide Forgot
Description of problem: VM Stopped Event is unexpected seen on one particular compute node. The VMs are randomly shutdown but not specific VM. Version-Release number of selected component (if applicable): python-nova-2015.1.0-16.el7ost.noarch How reproducible: 100% on particular compute node Steps to Reproduce: 1. 2. 3. Actual results: 2016-09-10 05:22:34.355 14263 INFO nova.compute.manager [req-16fe9e48-7b07-473d-993d-efacbda4a92f - - - - -] [instance: 615e1a7c-5fac-4c6a-947b-4051b0193334] VM Stopped (Lifecycle Event) 2016-09-10 05:22:34.506 14263 INFO nova.compute.manager [req-16fe9e48-7b07-473d-993d-efacbda4a92f - - - - -] [instance: 615e1a7c-5fac-4c6a-947b-4051b0193334] 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. 2016-09-10 05:22:34.637 14263 WARNING nova.compute.manager [req-16fe9e48-7b07-473d-993d-efacbda4a92f - - - - -] [instance: 615e1a7c-5fac-4c6a-947b-4051b0193334] 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 2016-09-10 05:22:34.761 14263 INFO nova.compute.manager [req-9d6df7f9-34ee-4d02-b40a-0f4818e452e4 - - - - -] [instance: 615e1a7c-5fac-4c6a-947b-4051b0193334] Instance is already powered off in the hypervisor when stop is called. 2016-09-10 05:22:34.802 14263 INFO nova.virt.libvirt.driver [req-9d6df7f9-34ee-4d02-b40a-0f4818e452e4 - - - - -] [instance: 615e1a7c-5fac-4c6a-947b-4051b0193334] Instance already shutdown. 2016-09-10 05:22:34.807 14263 INFO nova.virt.libvirt.driver [-] [instance: 615e1a7c-5fac-4c6a-947b-4051b0193334] Instance destroyed successfully. Expected results: Additional info: The customer got 7 compute nodes and only one compute node is suffering such problem. I checked the compute node's logs and there was no OOM or qemu crash at that time. Also the logs in instance itself has nothing before shutting down. What could be the trigger of "VM Stopped (Lifecycle Event)" ?
Hi Sahid, The customer just gave the feedback to us that he was not sure where to put those configurations. In my test, after setting log_filters and log_outputs, /var/log/libvirt/libvirtd.log is not created automatically. Is it expected behaviour ? Best Regards, Chen
Hi Sahid, I noticed that the test package for python-nova has been deleted. Is that mandatory for the further investigation ? The current status is that the customer hasn't configured their libvirtd.conf yet. Best Regards, Chen
Closed without a fix therefore QE won't automate