Destination Host of VM during migration now notify Source host of exact socket path
This commit is contained in:
parent
f980cdb464
commit
29e938dc74
4 changed files with 17 additions and 8 deletions
|
|
@ -76,7 +76,8 @@ def main(hostname):
|
|||
elif request_event.type == RequestType.TransferVM:
|
||||
host = host_pool.get(request_event.destination_host_key)
|
||||
if host:
|
||||
vm.migrate(destination=host.hostname)
|
||||
vm.migrate(destination_host=host.hostname,
|
||||
destination_sock_path=request_event.destination_sock_path)
|
||||
else:
|
||||
logger.error('Host %s not found!', request_event.destination_host_key)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue