Bug 1299373 - Implement a SPICE protocol level keepalive mechanism for all channels
Implement a SPICE protocol level keepalive mechanism for all channels
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: RFEs (Show other bugs)
All All
medium Severity medium
: ovirt-4.0.0-alpha
: ---
Assigned To: Scott Herold
Gil Klein
Depends On: 1298944 1298945 1298950
  Show dependency treegraph
Reported: 2016-01-18 04:07 EST by Michal Skrivanek
Modified: 2016-01-22 09:03 EST (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1298590
Last Closed: 2016-01-19 09:59:58 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Spice
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Michal Skrivanek 2016-01-18 04:07:53 EST
+++ This bug was initially created as a clone of Bug #1298590 +++

Description of problem:
When RHEV is used as a VD solution, it is very common to have a firewall between datacenter and client network. When a session is inactive (lunch break, overnight), and then reused, the firewall will drop packets related to keyboard/mouse channel.

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

How reproducible:

Steps to Reproduce:
1. Open a spice session, and minimize the window (to avoid mouse moves to be sent across)
2. No data is sent over for at least the channel for keyboard and mouse.
3. When a firewall is in between client and server, traffic for this connections will be dropped after an extended period of time

Actual results:
Traffic is dropped, because no traffic is sent over this connection

Expected results:
Traffic is sent over to keep the connection open (at a level higher than the TCP level)

Additional info:
TCP connection keepalive is already activated in spice-gtk and spice-gtk3, however, default TCP parameter (2h on Windows and Linux) is likely higher than the firewall timeout.

--- Additional comment from David Blechter on 2016-01-14 16:11:56 CET ---

The solution should be in rhevm, libvirt, qemu and spice.
The patches for spice are already approved upstream. And working on qemu ones.
It is not clear what OS are running on the hosts: RHEL 6.x, RHEL 7.x or both?
It will define the qemu and spice server components.
I suggest to use this bug as the tracking one.

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