If the graphical consoles VNC and SPICE are disabled, the live-migration
of an instance will result in an ERROR state. VNC and SPICE are usually
disabled on IBM z systems platforms where graphical consoles are not
available. The serial console is then enabled and VNC + SPICE are
disabled. The logged error message will be:
"Migration error: Your libvirt version does not support the VIR_DOMAIN_XML_MIGRATABLE flag or your destination node does
not support retrieving listen addresses. In order for live
migration to work properly you must either disable serial
console or upgrade your libvirt version."
This functional test executes the live migration flow with enabled serial
console and disabled VNC + SPICE and reproduces bug 1595962.
Reviewed: https:/ /review. openstack. org/338416 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=845adc65286 2a72c4c46f516ed 02c4e05af358d9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 845adc652862a72 c4c46f516ed02c4 e05af358d9
Author: Markus Zoeller <email address hidden>
Date: Thu Jun 30 11:12:02 2016 +0200
Add functional regression test for bug 1595962
If the graphical consoles VNC and SPICE are disabled, the live-migration
of an instance will result in an ERROR state. VNC and SPICE are usually
disabled on IBM z systems platforms where graphical consoles are not
available. The serial console is then enabled and VNC + SPICE are
disabled. The logged error message will be:
"Migration error: Your libvirt version does not support the
VIR_DOMAIN_ XML_MIGRATABLE flag or your destination node does
not support retrieving listen addresses. In order for live
migration to work properly you must either disable serial
console or upgrade your libvirt version."
This functional test executes the live migration flow with enabled serial
console and disabled VNC + SPICE and reproduces bug 1595962.
Related-Bug: 1595962
Change-Id: Ib1b22ce77d8a36 e55944acc1fbca0 42906aa41ef