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 726441 - Spice client waits for 30sec before connecting, when not using auto-conf or disable-effects
Summary: Spice client waits for 30sec before connecting, when not using auto-conf or d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-client
Version: 6.2
Hardware: Unspecified
OS: All
urgent
high
Target Milestone: rc
: ---
Assignee: Christophe Fergeau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-28 15:31 UTC by Arnon Gilboa
Modified: 2011-12-06 15:24 UTC (History)
7 users (show)

Fixed In Version: spice-client-0.8.2-2.el6
Doc Type: Bug Fix
Doc Text:
No documentation needed. The bug was filed during development (as a result of a fix for bug 712938), and never affected customers,
Clone Of:
Environment:
Last Closed: 2011-12-06 15:24:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
agent timeout patch (885 bytes, patch)
2011-07-28 15:31 UTC, Arnon Gilboa
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1518 0 normal SHIPPED_LIVE libcacard and spice-client bug fix and enhancement update 2011-12-06 00:50:43 UTC

Description Arnon Gilboa 2011-07-28 15:31:10 UTC
Created attachment 515751 [details]
agent timeout patch

The (already pushed) patch from BZ #712938 comment 11 (https://bugzilla.redhat.com/show_bug.cgi?id=712938#c11) caused the following regression:

When client runs without the auto-conf or disable-effects options (either from CLI or controller), which is the case when using Spice from Admin Portal, the client will unecessarily wait for 30sec before connecting.

The mentioned patch assumed that on_agent_reply() of VD_AGENT_DISPLAY_CONFIG will call send_main_attach_channels() and connect. However, when auto-conf or disable-effects are not used, on_agent_reply() will ignore the reply and not call send_main_attach_channels(). Therefore, send_main_attach_channels() will only be called on agent timeout.

The solution is to activate agent timer only if auto-conf or disable-effects. Otherwise, simply call send_main_attach_channels(). Attached a proposed patch by Christophe.

Comment 3 Christophe Fergeau 2011-07-29 15:32:18 UTC
This patch has been sent to the spice-devel mailing list for review.

Comment 8 Marian Krcmarik 2011-08-04 12:57:43 UTC
Verified on spice-client-0.8.2-2/spice-client-msi-3.0-16 (ic136).

Comment 9 Uri Lublin 2011-11-21 10:14:04 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed.

The bug was filed during development (as a result of a fix for bug 712938), and never affected customers,

Comment 10 errata-xmlrpc 2011-12-06 15:24:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1518.html


Note You need to log in before you can comment on or make changes to this bug.