live-migration sometimes failed

Bug #1696025 reported by hyz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Undecided
Unassigned

Bug Description

hi
i use the command nova live-migration instance in version newton.the instance migrated to new compute successed.but sometimes,the vm status was shutoff。check the log,no error,no crash,nothing special。
thanks

hyz (hyznull)
description: updated
description: updated
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

When you mean the instance is shutoff, what's the exact state of the instance ? Is it ACTIVE with a power state of SHUTDOWN or PAUSED ?

There are cases in the compute manager where we verify the compare the state between the hypervisor and the DB, and if we can't find the instance on the hypervisor side, then we stop the instance.

In general, that means you hitted some problem when migrating that instance and traces can be found in logs.

Changed in nova:
status: New → Incomplete
Revision history for this message
hyz (hyznull) wrote :

hi ,Sylvain Bauza:
   as u said ,after migration ,my instance ACTIVE with a power state of SHUTDOWN ,wait for a moment,STATS turn to SHUTDOWN.
   what should i do whith this?
   thanks.

Revision history for this message
hyz (hyznull) wrote :

hi ,Sylvain Bauza:
    i found this WARNING in my log.
2017-06-27 19:52:21.461 5710 WARNING nova.compute.manager [-] [instance: ccc70205-f743-4667-83f6-eacbed978cfa] 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
2017-06-27 19:52:21.462 5710 DEBUG nova.compute.api [-] [instance: ccc70205-f743-4667-83f6-eacbed978cfa] Going to try to stop instance force_stop /usr/lib/python2.7/site-packages/nova/compute/api.py:2086
     thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.