Bug 1292761

Summary: Add support for proxy-url libgovirt property
Product: Red Hat Enterprise Linux 7 Reporter: Christophe Fergeau <cfergeau>
Component: virt-viewerAssignee: Virt Viewer Maint <virt-viewer-maint>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: dblechte, juzhou, mxie, mzhan, pgrunt, rbalakri, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-viewer-2.0-7.el7 Doc Type: Bug Fix
Doc Text:
Cause: remote-viewer did not take into account proxy information returned through RHEV REST API Consequence: when using ovirt:// , it was not possible to connect to VMs behind a proxy Fix: get proxy information from RHEV REST API Result: it's possible to connect to VMs behind a proxy when using ovirt:// URIs
Story Points: ---
Clone Of:
: 1292765 (view as bug list) Environment:
Last Closed: 2016-11-04 01:13:29 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:
Bug Depends On: 1297830    
Bug Blocks: 1295396    

Description Christophe Fergeau 2015-12-18 09:54:25 UTC
https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=f9577b9197b737be722cfd5632b6077ce6b041ff

Without this commit, foreign menu will not work when the oVirt VM is behind a firewall.

Comment 3 Xiaodai Wang 2016-04-19 10:41:33 UTC
I can reproduce it.
# rpm -q libgovirt virt-viewer
libgovirt-0.3.3-1.el7.x86_64
virt-viewer-2.0-6.el7.x86_64

Steps:
1. Setup an env and make sure you can connect to ovirt directly but can't connect to vm directly.
2. configure a proxy, make sure you can connect to vm by the proxy.
3. get the ca.crt file from ovirt.
# wget https://ibm-x3250m5-03.qe.lab.eng.nay.redhat.com/ca.crt
4. connect the vm by ovirt.
# remote-viewer --ovirt-ca-file=ca.crt ovirt://ibm-x3250m5-03.qe.lab.eng.nay.redhat.com/$vm

Result:
Can see remote-viewer window pops up and "change cd" menu displays but connect to the vm fail.

Updated virt-viewer to version virt-viewer-2.0-7.el7.x86_64 and verified it again.

can see the foreign menu and can connect to the vm successfully.

So move the bug to VERIFIED.

Comment 5 errata-xmlrpc 2016-11-04 01:13:29 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-2229.html