Bug 1372098 - Nova fails live migration when graphic addresses are not set to localhost or 0.0.0.0
Summary: Nova fails live migration when graphic addresses are not set to localhost or ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Sahid Ferdjaoui
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-31 21:52 UTC by Stephen Gordon
Modified: 2019-09-09 16:42 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-15 09:24:53 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1618392 0 None None None 2016-08-31 21:52:46 UTC
OpenStack gerrit 254709 0 None None None 2016-08-31 21:52:40 UTC
OpenStack gerrit 358599 0 None None None 2016-09-01 07:54:49 UTC

Description Stephen Gordon 2016-08-31 21:52:33 UTC
Cloned from launchpad bug 1618392.

Description:

Description
===========
At some point pre-check for graphic addresses was moved to check_can_live_migrate_source, https://review.openstack.org/#/c/254709. However, this patch introduced regression, because it only moved a pre-check, but the data needed for the check is not populated at this point.

Steps to reproduce
==================
Setup with 2 compute nodes and live migration configured is enough.
1. Edit nova.conf and set vncserver_listen to, e.g., IP assigned to management interface on both compute nodes
2. Try to live migrate an instance

Expected result
===============
live migration will succeed regardless of IP address set in vncserver_listen (127.0.0.1, 0.0.0.0 or any IP assigned to one of interfaces on a compute node)

Actual result
=============
live migration fails:
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 configure the graphics (VNC and/or SPICE) listen addresses to be either the catch-all address (0.0.0.0 or ::) or the local address (127.0.0.1 or ::1).

Environment
===========
1. Exact version of OpenStack you are running
Trunk of nova, commit https://github.com/openstack/nova/commit/bebc86bf5598571a28dd47f17a05dd616fe0f550

2. Which hypervisor did you use?
QEMU/KVM + Libvirt

Specification URL (additional information):

https://bugs.launchpad.net/nova/+bug/1618392

Comment 2 Sahid Ferdjaoui 2017-02-15 09:24:53 UTC
Nothing to do here.

The fix which introduced the regression has been reverted https://review.openstack.org/#/c/254709/ and https://review.openstack.org/#/c/358599/ introduce a change in Ocata which will be used by Pike, backporting it on RHOS10(newton) is not going to change anything.


Note You need to log in before you can comment on or make changes to this bug.