[live migration] The instance's task status is pending on migrating
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Dave Chen |
Bug Description
I am trying to migrate the instance to another compute node, but enter a wrong host name accidentally, after running the below commands,
$ nova live-migration 7ff75fa0-
Now the instance is pending on migration, and even cannot migration with the *correct* destination host anymore, this is a bug I found in the N stable release, but I believe the bug also exist in the O or master branch.
The logs,
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
^[[01;31m2017-03-09 03:12:03.541 TRACE nova.api.
change back to the correct hostname, now it says,
$ nova live-migration 6714b056-
ERROR (Conflict): Cannot 'os-migrateLive' instance 6714b056-
Fix proposed to branch: master /review. openstack. org/443509
Review: https:/