live migration with disabled vnc/spice not possible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Markus Zoeller (markus_z) |
Bug Description
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
* enabled the serial console in "nova.conf"
[serial_console]
enabled=True
* 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.
3. Neutron with OVS
Logs & Configs
==============
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.
I suspect change [1]. "listen_addrs" will always be None if VNC and SPICE are disabled [2].
References: /github. com/openstack/ nova/commit/ 917afd2831be810 7177f50f277e400 e03f896f74# diff-f4019782d9 3a196a0d026479e 6aa61b1L6001 /github. com/openstack/ nova/blob/ 11b15e8321f73d8 b4401c3e9ce3862 82c683f293/ nova/virt/ libvirt/ driver. py#L5333- L5333
[1] https:/
[2] https:/