Description =========== If the graphical consoles VNC and SPICE are disabled, the live-migration of an instance will result in an ERROR state.
Steps to reproduce ================== A chronological list of steps which will bring off the issue you noticed: * disable VNC in the "nova.conf"
[VNC] enabled=False
* launch an instance * live migrate this instance to another compute node
Expected result =============== The instance will be on the destination host.
Actual result ============= The instance is still on the source host and has the status "ERROR" and task "MIGRATING".
Environment =========== 1. Master (Newton cycle) - 2016-06-20 974b158 Merge "Tear down of os-disk-config part 2"
2. libvirt 1.3.3 + qemu 2.6.0
2. IBM Storewize V7K cinder.volume.drivers.ibm.storwize_svc.storwize_svc_fc.StorwizeSVCFCDriver
3. Neutron with OVS
Logs & Configs ============== 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server [req-76217a6e-d28c-4487-b36d-6660fc0b4b21 admin demo] Exception during message handling 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server Traceback (most recent call last): 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/opt/stack/nova/nova/exception.py", line 104, in wrapped 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server payload) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 221, in __exit__ 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server self.force_reraise() 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 197, in force_reraise 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/opt/stack/nova/nova/exception.py", line 83, in wrapped 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server return f(self, context, *args, **kw) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 233, in decorated_function 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 211, in decorated_function 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server kwargs['instance'], e, sys.exc_info()) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 221, in __exit__ 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server self.force_reraise() 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 197, in force_reraise 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 199, in decorated_function 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/opt/stack/nova/nova/compute/manager.py", line 5033, in check_can_live_migrate_source 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server block_device_info) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5442, in check_can_live_migrate_source 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server self._verify_serial_console_is_disabled() 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5826, in _verify_serial_console_is_disabled 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server raise exception.MigrationError(reason=msg) 2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.rpc.server MigrationError: 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.
Description
===========
If the graphical consoles VNC and SPICE are disabled, the live-migration of an instance will result in an ERROR state.
Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:
* disable VNC in the "nova.conf"
[VNC]
enabled=False
* launch an instance
* live migrate this instance to another compute node
Expected result
===============
The instance will be on the destination host.
Actual result
=============
The instance is still on the source host and has the status "ERROR" and task "MIGRATING".
Environment
===========
1. Master (Newton cycle) - 2016-06-20
974b158 Merge "Tear down of os-disk-config part 2"
2. libvirt 1.3.3 + qemu 2.6.0
2. IBM Storewize V7K volume. drivers. ibm.storwize_ svc.storwize_ svc_fc. StorwizeSVCFCDr iver
cinder.
3. Neutron with OVS
Logs & Configs rpc.server [req-76217a6e- d28c-4487- b36d-6660fc0b4b 21 admin demo] Exception during message handling rpc.server Traceback (most recent call last): rpc.server File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/server. py", line 133, in _process_incoming rpc.server res = self.dispatcher .dispatch( message) rpc.server File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 150, in dispatch rpc.server return self._do_ dispatch( endpoint, method, ctxt, args) rpc.server File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 121, in _do_dispatch rpc.server result = func(ctxt, **new_args) rpc.server File "/opt/stack/ nova/nova/ exception. py", line 104, in wrapped rpc.server payload) rpc.server File "/usr/lib/ python2. 7/site- packages/ oslo_utils/ excutils. py", line 221, in __exit__ rpc.server self.force_ reraise( ) rpc.server File "/usr/lib/ python2. 7/site- packages/ oslo_utils/ excutils. py", line 197, in force_reraise rpc.server six.reraise( self.type_ , self.value, self.tb) rpc.server File "/opt/stack/ nova/nova/ exception. py", line 83, in wrapped rpc.server return f(self, context, *args, **kw) rpc.server File "/opt/stack/ nova/nova/ compute/ manager. py", line 233, in decorated_function rpc.server return function(self, context, *args, **kwargs) rpc.server File "/opt/stack/ nova/nova/ compute/ manager. py", line 211, in decorated_function rpc.server kwargs['instance'], e, sys.exc_info()) rpc.server File "/usr/lib/ python2. 7/site- packages/ oslo_utils/ excutils. py", line 221, in __exit__ rpc.server self.force_ reraise( ) rpc.server File "/usr/lib/ python2. 7/site- packages/ oslo_utils/ excutils. py", line 197, in force_reraise rpc.server six.reraise( self.type_ , self.value, self.tb) rpc.server File "/opt/stack/ nova/nova/ compute/ manager. py", line 199, in decorated_function rpc.server return function(self, context, *args, **kwargs) rpc.server File "/opt/stack/ nova/nova/ compute/ manager. py", line 5033, in check_can_ live_migrate_ source rpc.server block_device_info) rpc.server File "/opt/stack/ nova/nova/ virt/libvirt/ driver. py", line 5442, in check_can_ live_migrate_ source rpc.server self._verify_ serial_ console_ is_disabled( ) rpc.server File "/opt/stack/ nova/nova/ virt/libvirt/ driver. py", line 5826, in _verify_ serial_ console_ is_disabled rpc.server raise exception. MigrationError( reason= msg) rpc.server MigrationError: 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.
==============
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.
2016-06-24 11:03:18.784 75155 ERROR oslo_messaging.