Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1096819

Summary: spice non secured port is empty / do not exist
Product: Red Hat Enterprise Virtualization Manager Reporter: Ilanit Stein <istein>
Component: vdsmAssignee: Vinzenz Feenstra [evilissimo] <vfeenstr>
Status: CLOSED NOTABUG QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, gklein, iheim, istein, jdenemar, lpeer, mavital, michal.skrivanek, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Deprecated Functionality
Doc Text:
For a VM with SPICE display type: Since we are defining all channels as secure, on VM creation and we're specifying 'autoport="yes"', non-needed ports are not allocated. This results in no non-tls port being created in this case
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-15 12:19:20 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:
Attachments:
Description Flags
logs none

Description Ilanit Stein 2014-05-12 13:34:31 UTC
Description of problem:
On rhel7, for a VM with SPICE display type, display port no longer exist.

rhel7:
1. 'vdsClient -s 0 list long' do not show field displayPort = ,
2. vmGetStats show 'displayPort': '-1','displaySecurePort': u'5900'

rhel6.5:
3. 'vdsClient -s 0 list long' show 
   displaySecurePort = 5903, displayPort = 5902
 
Version-Release number of selected component (if applicable):
On rhevm 3.4 av9
Red Hat Enterprise Linux Server release 7.0 (Maipo)
vdsm-4.14.7-1.1.el7ev.x86_64
libvirt-1.1.1-29.el7.x86_64

Expected results:
In case, this was changed by design, it should be documented in release notes.
Also, backward compatibility to rhel6.5 should be kept.  

Additional info:
This failure was seen in rest api, having VM object missing display 'port' field.

Comment 2 Ilanit Stein 2014-05-12 14:08:33 UTC
Created attachment 894718 [details]
logs

Comment 3 Jiri Denemark 2014-05-12 20:00:48 UTC
This doesn't look like a libvirt bug. The vmGetStats command shows display port details so libvirt is apparently providing them in domain XML.

Comment 4 Michal Skrivanek 2014-05-15 10:15:50 UTC
not a big deal, there is refactoring patches by Franta/Francesco ongoing, but still…there should be no difference in RHEL 7 ATM

Comment 5 Vinzenz Feenstra [evilissimo] 2014-07-11 07:04:41 UTC
So I happen to notice that this not only happens on RHEL7 but in fact I can see the same thing right now happening on RHEL6 with the upstream master

@istein:

Which exact build did you use for RHEL6?

Comment 6 Ilanit Stein 2014-07-13 05:39:49 UTC
Red Hat Enterprise Linux Server release 6.5 (Santiago)

Comment 7 Vinzenz Feenstra [evilissimo] 2014-07-15 12:19:20 UTC
According to the libvirt team this is the 'now' correct behaviour. Since we are defining all channels as secure on VM creation and we're specifying 'autoport="yes"' non-needed ports are not allocated.

This results in no non-tls port being created in this case.

Comment 8 Ilanit Stein 2014-09-10 07:47:36 UTC
Adding requires_doc_text flag, since this change may need, or maybe already is documented in release notes/elsewhere?