Bug 1344635

Summary: virt-viewer should utilize SSO to authenticate against oVirt engine for foreign menu support
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Kolaja <mkolaja>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: bmcclain, cfergeau, dblechte, jherrman, juzhou, mbetak, mxie, mzhan, pgrunt, rbalakri, rduda, tpelka, tzheng, victortoso, virt-viewer-maint, vszocs, xiaodwan, ykaul
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-2.0-6.el7.1 Doc Type: Bug Fix
Doc Text:
The virt-viewer and libgovirt packages have been updated to adjust to authentication changes in Red Hat Enterprise Virtualization 4.0. This ensures that the foreign menu continues working correctly on Red Hat Enterprise Virtualization 4.0 when starting the remote-viewer utility using the web portal interface. Note, however, that the menu does not work when starting remote-viewer from the command line.
Story Points: ---
Clone Of: 1286696 Environment:
Last Closed: 2016-08-02 18:24:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1286696    
Bug Blocks:    

Description Marcel Kolaja 2016-06-10 08:36:31 UTC
This bug has been copied from bug #1286696 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 6 Xiaodai Wang 2016-06-17 07:47:45 UTC
I verified this bug between old/new remote-viewer and old/new ovirt server. The function of remote-viewer works well. 

1. Connect to vm in ovirt 3.6 with virt-viewer-2.0-6.el7_2.1.x86_64.
   1.1) $ remote-viewer --ovirt-ca-file=ca_36 ovirt://rhevm3.6-hp-dl360eg8-03/xiaodwan-test
        OK
   1.2) $ remote-viewer console.vv
        OK
2. Connect to vm in ovirt 3.6 with virt-viewer-2.0-6.el7_2.1.x86_64.
   No need testing

3. Connect to vm in ovirt 4.0 with virt-viewer-2.0-6.el7_2.1.x86_64.
   3.1) $ remote-viewer --ovirt-ca-file=ca_36 ovirt://rhevm3.6-hp-dl360eg8-03/xiaodwan-test
       FAIL 
       Bug 1346215 - Wrong VM state get for vms in ovirt4.0 
   3.2) $ remote-viewer console.vv
       OK   

4. Connect to vm in ovirt 4.0 with virt-viewer-2.0-6.el7_2.1.x86_64.   
   4.1) $ remote-viewer --ovirt-ca-file=ca_36 ovirt://rhevm3.6-hp-dl360eg8-03/xiaodwan-test
       FAIL 
       Bug 1346215 - Wrong VM state get for vms in ovirt4.0 
   4.2) $ remote-viewer console.vv
       OK
       No "Change CD" menu display, this result is as expected.

For bug 1346215, it's not a problem of virt-viewer. 

So move this bug from ON_QA to VERIFIED.

Comment 8 errata-xmlrpc 2016-08-02 18:24:17 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.

https://rhn.redhat.com/errata/RHBA-2016-1536.html