The reason is function in conductor/manager.py
def _cold_migrate
....
except exception.NoValidHost as ex: vm_state = instance['vm_state']
if not vm_state: vm_state = vm_states.ACTIVE
updates = {'vm_state': vm_state, 'task_state': None} self._set_vm_state_and_notify(context, 'migrate_server', updates, ex, request_spec)
if reservations: self.quotas.rollback(context, reservations)
LOG.warning(_("No valid host found for cold migrate"), instance=instance)
return ----> return without any notification, so upper layer thought it succeed
The reason is function in conductor/ manager. py NoValidHost as ex:
vm_ state = instance[ 'vm_state' ]
vm_state = vm_states.ACTIVE
self. _set_vm_ state_and_ notify( context, 'migrate_server',
updates, ex, request_spec)
self. quotas. rollback( context, reservations)
def _cold_migrate
....
except exception.
if not vm_state:
updates = {'vm_state': vm_state, 'task_state': None}
if reservations:
return ----> return without any notification, so upper layer thought it succeed