I had the same problem, and I couldn't solve it by above ways (remove double quote and add live_migration_flag in nova.conf).
VM (on Host1 ) -> Host2
Host1's ip address is 192.168.0.1
Host2's ip address is 192.168.0.2
I set the configuration of VNC in nova.conf as below:
# on Host1
vncserver_proxyclient_address=192.168.0.1
vncserver_listen=192.168.0.1
# on Host2
vncserver_proxyclient_address=192.168.0.2
vncserver_listen=192.168.0.2
I got traffic logs of libvirt between servers and found the xml file and the entry of VNC settings that is transferred before migration.
It is maybe invalid because it still contains the ip address of Host1. I think it should contain the ip address of Host2.
Hi,
I had the same problem, and I couldn't solve it by above ways (remove double quote and add live_migration_flag in nova.conf).
VM (on Host1 ) -> Host2
Host1's ip address is 192.168.0.1
Host2's ip address is 192.168.0.2
I set the configuration of VNC in nova.conf as below: proxyclient_ address= 192.168. 0.1 listen= 192.168. 0.1
# on Host1
vncserver_
vncserver_
# on Host2 proxyclient_ address= 192.168. 0.2 listen= 192.168. 0.2
vncserver_
vncserver_
I got traffic logs of libvirt between servers and found the xml file and the entry of VNC settings that is transferred before migration.
It is maybe invalid because it still contains the ip address of Host1. I think it should contain the ip address of Host2.
<graphics type='vnc' port='5900' autoport='yes' listen= '192.168. 0.1' keymap='ja'> '192.168. 0.1'/>
<listen type='address' address=
</graphics>
So, I changed nova.conf on Host1 and Host2: proxyclient_ address= 192.168. 0.1 listen= 0.0.0.0
# on Host1
vncserver_
vncserver_
# on Host2 proxyclient_ address= 192.168. 0.2 listen= 0.0.0.0
vncserver_
vncserver_
After change, I restarted nova-compute, relaunched instances and tried live-migration. VNC and live-migration worked fine.