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 ***