cold migration shouldn't spin up the vm ins a resize step

Bug #1995714 reported by Ian Kumlien
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

disable a compute node

run migration on a vm not running, it will still have to start on that compute node to do resize...

next imagine that the compute node has gone down, why can't it just do a new scheduling and start running on a existing/not-disabled node?

this is with shared storage btw...

Revision history for this message
melanie witt (melwitt) wrote :

I had a quick-ish look through the code and did not see any explicit starting of the guest before migrating ... so far, it does not appear to be an intended behavior. I may have missed something though.

I will try to investigate more when I get a chance.

Revision history for this message
Artom Lifshitz (notartom) wrote :

Cold migration assumes that the source compute host is up (and I think has checks in the code for that). A cold migration will fail if the source compute host is actually down and not disabled. The correct thing to do in that case is an evacuation.

Changed in nova:
status: New → Invalid
Revision history for this message
Ian Kumlien (pomac) wrote :

This is not my experience, the eventual practical solution was to modify the database directly.

The nodes in question failed, they were disabled but the vm:s that had once been on those nodes could not be migrated or started via the api:s.

Also, a vm that has been shelved will prefer to restart on the node that once had it even if there is no room. IMHO any non-running vm should be rescheduled directly if there is anything in the way.

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.