Bug 1310553

Summary: 'change cd' (Forgein Menu) works only in SPICE and not in VNC console and not at all from REST
Product: [oVirt] ovirt-engine Reporter: Shira Maximov <mshira>
Component: GeneralAssignee: jniederm
Status: CLOSED CURRENTRELEASE QA Contact: Shira Maximov <mshira>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.3CC: bugs, cfergeau, gklein, tjelinek, vszocs
Target Milestone: ovirt-4.1.0-alphaFlags: rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+
Target Release: 4.1.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Fix: Result: "Change CD" menu in remote-viewer is shown for *.vv files obtained from all kind of sources (combinations of webadmin/userportal/REST, spice/vnc). Previously it was only available for webadmin + spice.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-16 14:49:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1313379    
Bug Blocks:    
Attachments:
Description Flags
console file none

Description Shira Maximov 2016-02-22 08:36:54 UTC
Description of problem:
'change cd' (Forgein Menu) works only in SPICE and not in  VNC console,
please add 'change cd' to  VNC console as well 

Version-Release number of selected component (if applicable):
 Red Hat Enterprise Virtualization Manager Version: 3.6.3.2-0.1.el6 

How reproducible:
100%

Steps to Reproduce:
1. attach storage domain 
2. connect to admin portal (with fqdn)
3. edit vm and set vm console to VNC 
4. open console- the 'change CD' is not there.. 
Actual results:


Expected results:


Additional info:

Comment 1 Shira Maximov 2016-02-22 08:41:51 UTC
Created attachment 1129183 [details]
console file

Comment 2 Tomas Jelinek 2016-02-22 09:01:02 UTC
The reason seems to be that the ca=... is missing from the .vv file so the remote-viewer can not authenticate. And it is missing because we are filling it in only in ConfigureConsoleOptionsQuery.fillSpice() method.

Considering the original feature request was to provide foreign menu for SPICE, this has low priority - setting target to 3.6.6 for consideration since the fix should be fairly simple but may be pushed further.

Comment 3 Tomas Jelinek 2016-03-23 08:37:57 UTC
there is an issue that we anyway don't put the correct CA into the .vv file in some cases (for details: https://bugzilla.redhat.com/show_bug.cgi?id=1313379). Pushing this bug out of 3.6 since there is no clear solution for this problem now.

Comment 4 Tomas Jelinek 2016-08-04 13:17:42 UTC
There is one more issue, the whole ovirt section works only from webadmin/userportal since the [ovirt] section in .vv file is written in AbstractConsoleWithForeignMenu.
Long story short, the foreign menu works only for SPICE and only from webadmin/userportal and does not work from REST and from VNC. Changing title and raising priority.

Comment 5 jniederm 2016-08-30 11:06:13 UTC
Note for QA: Please be patient and give the menu a minute to a appear. It may take some time to get list of CDs from storage domain.

Comment 6 Tomas Jelinek 2016-09-13 13:30:33 UTC
*** Bug 1332281 has been marked as a duplicate of this bug. ***

Comment 7 Sandro Bonazzola 2016-12-12 13:55:57 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 8 Shira Maximov 2017-03-01 15:31:24 UTC
Verified on : 
Red Hat Virtualization Manager Version: 4.1.1.2-0.1.el7

verification steps: 
1. attach ISO domain 
2. connect to admin portal (with fqdn)
3. edit vm and set vm console to VNC 
4. open console- the 'change CD' is there!.

Note - there are 2 open issues: 
1427964 , 1427467