[Live Migration] Instance shutdown by itself.

Hi all,

I have Suse Cloud 6 installed with shared storage so I can test Live Migration. When I test Live Migration the instance status is changed to Shutoff and the power state is Shut Down.

I checked the logs of the nova computes nodes and the controller and the online message that is a not an INFO is:

[FONT=Courier New]2017-05-15 16:21:02.463 1588 WARNING nova.compute.manager [req-ac5fd5e2-db24-459f-b045-fad4bfbccc2a - - - - -] [instance: e4932875-c71d-4f5d-b561-a5c61ce1f1c8] Instance shutdown by itself. Calling the stop API. Current vm_state: active, current task_state: None, original DB power_state: 4, current VM power_state: 4[/FONT]

This is not really what I expected. I would assume that the instance is running on the other node. It is migrated to the other host but it is shutdown.

Any idea what’s going on?

On 15/05/17 15:44, jurrien wrote:
[color=blue]

I have Suse Cloud 6 installed with shared storage so I can test Live
Migration. When I test Live Migration the instance status is changed to
Shutoff and the power state is Shut Down.

I checked the logs of the nova computes nodes and the controller and the
online message that is a not an INFO is:

2017-05-15 16:21:02.463 1588 WARNING nova.compute.manager
[req-ac5fd5e2-db24-459f-b045-fad4bfbccc2a - - - - -] [instance:
e4932875-c71d-4f5d-b561-a5c61ce1f1c8] Instance shutdown by itself.
Calling the stop API. Current vm_state: active, current task_state:
None, original DB power_state: 4, current VM power_state: 4

This is not really what I expected. I would assume that the instance is
running on the other node. It is migrated to the other host but it is
shutdown.

Any idea what’s going on?[/color]

Which hypervisor are your Compute Nodes running? KVM or Xen?

Is ‘Live Migration Support: Enable Libvirt Migration’ enabled in the
Dashboard for Nova?

If your Compute Nodes are Xen have you enabled ‘Live Migration Support:
Setup Shared Storage’ in the Dashboard for Nova?

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

Hi Simon,

It is KVM.

Yes, Live Migration is enabled.

By Dashboard you mean Crowbar (Admin server) right? Ifso: Yes :slight_smile:

It’s KVM so I have mounted a NFS share under /var/lib/nova/instances on both compute hosts.

Oke this is weird…

Start reading some other posts from 2016: http://lists.openstack.org/pipermail/openstack-operators/2016-September/011669.html

I didn’t had anything so lose so I tested mem_stats_period_seconds = 0 in nova.conf.

And now the Live Migration works!