[RHEV 3.1] Upgrading RHEV hosts or RHEV-H causes Spice client to disconnect during migration of RHEV virtual machine

Solution Verified - Updated -

Issue

  • After upgrading hypervisors from 6.3 to 6.4 in a Red Hat Enterprise Virtualization [RHEV] 3.1 environment,the spice connection for the guest ( Virtual Machine) dies when this VM is migrated from one host to another. The user has to manually relaunch it.
  • When connecting from a RHEL 6.4 client using virt-viewer-0.5.2-18.el6_4.2 and spice-xpi-2.7-20, the following messages were seen in ~/.spicec/spice-xpi.log:

    2013-05-07 10:43:44,705 INFO  nsPluginInstance::Connect: SPICE_XPI_SOCKET: /tmp/spicec-aH2Vgt/spice-xpi
    2013-05-07 10:43:44,705 INFO  nsPluginInstance::Connect: SPICE_FOREIGN_MENU_SOCKET: /tmp/spicec-aH2Vgt/spice-foreign
    2013-05-07 10:43:44,727 INFO  nsPluginInstance::Connect: Launching /usr/libexec/spice-xpi-client
    [...]
    2013-05-07 10:43:50,732 INFO  nsPluginInstance::Connect: Initiating connection with controller
    
  • The same issue was observed from a RHEL 5 client using the legacy spicec client (~/.spicec/spicec.log):

    1367937407 INFO [10587:10587] Application::switch_host: host=host1 port=5904 sport=5905
    1367937407 INFO [10587:10588] RedPeer::connect_unsecure: Trying x.x.4.10 5905
    [...]
    937482 INFO [10903:10906] RedPeer::connect_unsecure: Trying x.x.5.9 5905
    1367937482 INFO [10903:10906] RedPeer::connect_unsecure: Connected to x.x.5.9 5905
    1367937482 INFO [10903:10910] RedPeer::connect_unsecure: Trying x.x.5.9 5904
    1367937482 INFO [10903:10911] RedPeer::connect_unsecure: Trying x.x.5.9 5904
    1367937482 INFO [10903:10912] RedPeer::connect_unsecure: Trying x.x.5.9 5904
    1367937482 INFO [10903:10911] RedPeer::connect_unsecure: Connected to x.x.5.9 5905
    1367937482 INFO [10903:10912] RedPeer::connect_unsecure: Connected to x.x.5.9 5905
    1367937482 INFO [10903:10913] RedPeer::connect_unsecure: Connected to x.x.5.9 5905
    1367937482 INFO [10903:10903] DisplayChannel::create_sw_canvas: display 0: using sw
    

Environment

  • Red Hat Enterprise Virtualization (RHEV) 3.1
  • Host: libvirt-0.10.2-18.el6_4.2 or later (RHEV-H 6.4-20130221.0.el6 or later)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In