This is actually also documented upstream, only with less security in mind then our relnote in the related bug (see http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-migrations.html). I believe this should be raised as a libvirt bug. as there is nothing we can do in nova to mitigate this. There is definitely nothing we can do for this in 3.0 so I will move to 4.0 for now, and potentially block on a libvirt bug we will open if dallan/danpb agree that this is fixable there
(In reply to Nikola Dipanov from comment #3) > I believe this should be raised as a libvirt bug. as there is nothing we can > do in nova to mitigate this. OpenStack is setting a listen address in the XML when starting the guest. If this address is host specific, then openstack must change this when issuing the migration call. The libvirt migration APIs allow you to pass in a replacement XML config for the guest to be used on the target host. So this replacement XML should use the listen address of the target host.
FYI, this functionality was fixed upstream by commit ea7da5152cdca7ba674e2137c3899909995e2287, which merged (via commit 65d939d9e625ffb2898b0552d25472791686b506) on July 15, 2014.
*** Bug 1158972 has been marked as a duplicate of this bug. ***
*** Bug 1178924 has been marked as a duplicate of this bug. ***
Before migraton: [root@compute-1 cloud-user]# grep listen /var/lib/nova/instances/7e8e07fc-7446-4e53-97ca-a325119fdf0c/libvirt.xml <graphics type="vnc" autoport="yes" keymap="en-us" listen="172.16.32.111"/> after migration: [root@compute-2 cloud-user]# grep listen /var/lib/nova/instances/7e8e07fc-7446-4e53-97ca-a325119fdf0c/libvirt.xml <graphics type="vnc" autoport="yes" keymap="en-us" listen="172.16.32.110"/> vnc is working.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0152.html