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 1066971

Summary: Launch SPICE session twice from ovirt webadmin failure
Product: Red Hat Enterprise Linux 6 Reporter: Raz Tamir <ratamir>
Component: spice-xpiAssignee: Christophe Fergeau <cfergeau>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: acathrow, cfergeau, dblechte, marcandre.lureau, ratamir
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-13 11:44:57 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:

Description Raz Tamir 2014-02-19 12:33:58 UTC
Description of problem:
When launching SPICE session from ovirt webadmin twice on the same QEMU process, it will cause the first session to close with the following message:'Unable to connect to the graphic server '.
And new session is opened, but it stuck


Version-Release number of selected component (if applicable):

spice-xpi-2.7-22.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6_5.3.x86_64
libvirt-0.10.2-29.el6_5.3.x86_64
vdsm-4.14.1-3.el6.x86_64
ovirt-engine-3.4.0-0.7.beta2.el6.noarch

Red Hat Enterprise Linux Workstation release 6.4 (Santiago)
firefox-17.0.10-1.el6_4.x86_64
firefox-17.0.10-1.el6_4.i686



How reproducible:
100%

Steps to Reproduce:
1. From ovirt webadmin, launch spice for some vm
2. launch spice again for the same vm
3. 

Actual results:
cause the first session to close with the following message:'Unable to connect to the graphic server '.
And new session is opened, but it stuck

Expected results:
Nothing unusual - open new session normally or not opening a new session at all 

Additional info:

Comment 2 Marc-Andre Lureau 2014-03-12 18:05:09 UTC
(In reply to ratamir from comment #0)
> Description of problem:
> When launching SPICE session from ovirt webadmin twice on the same QEMU
> process, it will cause the first session to close with the following
> message:'Unable to connect to the graphic server '.
> And new session is opened, but it stuck
> 
> 
> Version-Release number of selected component (if applicable):
> 
> spice-xpi-2.7-22.el6.x86_64
> qemu-kvm-rhev-0.12.1.2-2.415.el6_5.3.x86_64
> libvirt-0.10.2-29.el6_5.3.x86_64
> vdsm-4.14.1-3.el6.x86_64
> ovirt-engine-3.4.0-0.7.beta2.el6.noarch
> 
> Red Hat Enterprise Linux Workstation release 6.4 (Santiago)
> firefox-17.0.10-1.el6_4.x86_64
> firefox-17.0.10-1.el6_4.i686
> 
> 
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1. From ovirt webadmin, launch spice for some vm
> 2. launch spice again for the same vm

Did you load a new tab/page at this point? If not, you will hit some issues reported in bug 1073461

> 3. 
> 
> Actual results:
> cause the first session to close with the following message:'Unable to
> connect to the graphic server '.
> And new session is opened, but it stuck
> 

That shouldn't happen. Could you try with RHEL6.5?

What happen if you connect with remote-viewer manually to a server with an already connected client? Do you observe the same behaviour?
 
otherwise, this bug smells like a dup of 1073461

Comment 3 Raz Tamir 2014-03-13 06:04:54 UTC
This is exactly the same as bug 1073461.

Comment 4 Raz Tamir 2014-03-13 06:08:35 UTC
Actually, bug 1073461 is a duplication of this bug according to reported date.

Comment 5 Marc-Andre Lureau 2014-03-13 11:44:57 UTC

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