Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 727805

Summary: Spice client gets stuck when reconnecting during migration
Product: Red Hat Enterprise Linux 6 Reporter: Marian Krcmarik <mkrcmari>
Component: spice-clientAssignee: Uri Lublin <uril>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2CC: acathrow, alevy, dblechte, mkenneth
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-03 21:18:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marian Krcmarik 2011-08-03 09:40:52 UTC
Description of problem:
When migrating a guest, during final stage once spice client is reconnecting, The spice client gets stuck - does not finish reconnecting successfully and remains in "black" screen stage.
This behaviour is not happening with spice-client-0.8.0-2.el6.

Version-Release number of selected component (if applicable):
spice-client-0.8.2-2.el6.x86_64  

libvirt-0.9.4-0rc1.2.el6.x86_64
qemu-kvm-0.12.1.2-2.171.el6.x86_64
spice-server-0.8.2-3.el6.x86_64

Guest: WinXP
Client: RHEL6.2

How reproducible:
Always

Steps to Reproduce:
1. Connect to a guest using spice-client.
2. Start Migration (using libvirt in my case).
  
Actual results:
Spice client gets stuck during reconnecting and display only black screen
.
Expected results:
Display original guest screen.

Additional info:
Not happening on the same setup with spice client spice-client-0.8.2-2.el6.x86_64.

Comment 1 Marian Krcmarik 2011-08-03 09:46:25 UTC
Spicec log:

1312364642 INFO [6165:6165] Application::main: starting 0.8.2
1312364642 INFO [6165:6165] init_key_map: using evdev mapping
1312364644 INFO [6165:6165] MultyMonScreen::MultyMonScreen: platform_win: 88080385
1312364644 INFO [6165:6165] ForeignMenu::ForeignMenu: Creating a foreign menu connection /tmp/SpiceForeignMenu-6165.uds
1312364644 INFO [6165:6166] RedPeer::connect_to_peer: Connect failed: Connection refused (111)
1312364644 INFO [6165:6166] RedPeer::connect_unsecure: Connected to localhost 5900
1312364644 INFO [6165:6170] RedPeer::connect_to_peer: Connect failed: Connection refused (111)
1312364644 INFO [6165:6169] RedPeer::connect_to_peer: Connect failed: Connection refused (111)
1312364644 INFO [6165:6171] RedPeer::connect_to_peer: Connect failed: Connection refused (111)
1312364644 INFO [6165:6169] RedPeer::connect_unsecure: Connected to localhost 5900
1312364644 INFO [6165:6171] RedPeer::connect_unsecure: Connected to localhost 5900
1312364644 INFO [6165:6172] RedPeer::connect_to_peer: Connect failed: Connection refused (111)
1312364644 INFO [6165:6173] RedPeer::connect_to_peer: Connect failed: Connection refused (111)
1312364644 INFO [6165:6172] RedPeer::connect_unsecure: Connected to localhost 5900
1312364644 INFO [6165:6173] RedPeer::connect_unsecure: Connected to localhost 5900
1312364644 INFO [6165:6170] RedPeer::connect_unsecure: Connected to localhost 5900
1312364644 INFO [6165:6165] DisplayChannel::create_sw_canvas: display 0: using sw
1312364644 INFO [6165:6166] RedChannel::handle_notify: remote channel 1:0 warn!!! #0: keyboard channel is insecure
1312364669 INFO [6165:6165] Application::switch_host: host=YYYY port=5900 sport=65535
1312364669 INFO [6165:6166] RedPeer::connect_unsecure: Connected to YYYY 5900

Comment 2 Marian Krcmarik 2011-08-03 09:51:27 UTC
Migration itself seems to be successful. Manual reconnecting to a target host works fine. Port, hostname from spicec log in switch_host match with my manual reconnecting options, but when manually reconnecting It works indeed.

Comment 3 Alon Levy 2011-08-03 21:18:45 UTC

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