migrate call causes the VM to "move" back to the same host it came from

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

Bug Description

This might be a user error, due to my choice of scheduler, but it not what I expected to happen.

Repro steps:
* use dev stack defaults on XenServer
* two XenServer hosts in the cloud
* call migrate on a VM

Expected:
* VM moves to another host, one that currently has no VMs on it

Actual:
* VM migrates back to the same server
* (I checked VMs got onto that other server once the first one had filled up)
* you need seem to need to call resize-confirm before it goes back to Active

Tags: xenserver
Tom Fifield (fifieldt)
tags: added: xen
Mark McLoughlin (markmc)
tags: added: xenserver
removed: xen
Revision history for this message
Vish Ishaya (vishvananda) wrote :

To facilitate one server deploys, devstack sets the following flag:

1605:add_nova_opt "allow_resize_to_same_host=True"

Which allows resize to the same host. If you want migrate/resize to always go to a new host, set that flag to False. It should use the scheduler to pick a new host, so depending on your scheduler and weighting options, that could be the most empty host or the most full host. The resize-confirm is expected.

Changed in nova:
status: New → Invalid
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.