Loading cloudcontrol/node/hypervisor/__init__.py +6 −2 Original line number Diff line number Diff line Loading @@ -327,13 +327,17 @@ class Handler(HostHandler): logger.debug('VM live migrate %s', name) try: # this is the port used by our libvirt in the cc-node (client # libvirt) to connect to the remote libvirtd remote_virt_port = tun_res['port'] except KeyError: logger.error('Invalid formatted argument tun_res for live' ' migration') raise try: remote_hv_port = migtun_res['port'] # this is the port used by local libvirtd to connect to the remote # libvirtd (see http://libvirt.org/migration.html) remote_virt_port2 = migtun_res['port'] except KeyError: logger.error('Invalid formatted argument migtun_res for live' ' migration') Loading Loading @@ -414,7 +418,7 @@ class Handler(HostHandler): libvirt.VIR_MIGRATE_UNDEFINE_SOURCE | append_flags, None, 'qemu+tcp://127.0.0.1:%d/system' % remote_hv_port, 'qemu+tcp://127.0.0.1:%d/system' % remote_virt_port2, 0, ) except libvirt.libvirtError: Loading Loading
cloudcontrol/node/hypervisor/__init__.py +6 −2 Original line number Diff line number Diff line Loading @@ -327,13 +327,17 @@ class Handler(HostHandler): logger.debug('VM live migrate %s', name) try: # this is the port used by our libvirt in the cc-node (client # libvirt) to connect to the remote libvirtd remote_virt_port = tun_res['port'] except KeyError: logger.error('Invalid formatted argument tun_res for live' ' migration') raise try: remote_hv_port = migtun_res['port'] # this is the port used by local libvirtd to connect to the remote # libvirtd (see http://libvirt.org/migration.html) remote_virt_port2 = migtun_res['port'] except KeyError: logger.error('Invalid formatted argument migtun_res for live' ' migration') Loading Loading @@ -414,7 +418,7 @@ class Handler(HostHandler): libvirt.VIR_MIGRATE_UNDEFINE_SOURCE | append_flags, None, 'qemu+tcp://127.0.0.1:%d/system' % remote_hv_port, 'qemu+tcp://127.0.0.1:%d/system' % remote_virt_port2, 0, ) except libvirt.libvirtError: Loading