Bug 920719

Summary: make use of upcoming --clienturi option to libvirt migrate command
Product: Red Hat Enterprise Virtualization Manager Reporter: David Jaša <djasa>
Component: ovirt-engineAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, dyasny, iheim, lpeer, michal.skrivanek, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-14 10:18:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 883936, 980131    
Bug Blocks: 788977, 920723, 974510    

Description David Jaša 2013-03-12 15:32:41 UTC
Description of problem:
When spice migration is initiated, rhevm instructs libvirt on migration source machine (via vdsm) to migrate the VM to the destination host, specifying among others libvirt uri of destination. Source libvirt then connects to the destination libvirt that will then tell the source connection details. The source libvirt in turn instructs connected client (via qemu) connection details such as hostname, port and others.

This configuration works in stock RHEV setups but it will break in more complex ones:
  * if hostname of destination host does not resolve to the address of
    display network interface (IOW if display network is configured to
    be separate from management network)
  * if upcoming display network address override is used (bug 788977)

The correct solution to all these woes is for RHEV-M to get display network fqdn/ip out of its database and pass it via vdsm to the source libvirt, that will in turn instruct client to connect to the right host.


Version-Release number of selected component (if applicable):
3.0-3.2 (all version that use libvirt at least)

How reproducible:
always

Steps to Reproduce:
1. set up display network separate to the management network, run VM
2. connect to the VM with a client
3. migrate the VM
  
Actual results:
client gets disconnected

Expected results:
client stays connected

Additional info:

Comment 1 Michal Skrivanek 2013-06-14 10:18:42 UTC
tracking this as bug 974510 instead

*** This bug has been marked as a duplicate of bug 974510 ***