[Users] Spice-proxy questions

Gianluca Cecchi gianluca.cecchi at gmail.com
Fri Jan 24 17:59:19 UTC 2014


On Fri, Jan 24, 2014 at 6:31 PM, David Li  wrote:
>
>
> Hi Tomas, David:
>
>
> I set my SpiceProxyDefault to "http://<ovirt-engine-IP>:80
> and my .vv file indeed reflects that.
>
> However this is still not working. The popup window still fails to connect to the graphic server.
> Any further suggestion how to debug?
>
> Thanks.
>
> David

You have to configure a web Proxy server such as Squid.

Port 80 on your engine is already occupied by engine web component itself

On engine tipically
# lsof -i :80
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
httpd    8191   root    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd    8195 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd    8196 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd    8197 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd    8762 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd    8763 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd    8764 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd    8770 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd    9346 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd   10338 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)
httpd   10340 apache    4u  IPv6  49597      0t0  TCP *:http (LISTEN)

BTW I had problems to configure my engine to work both with SpiceProxy
and WebSocketProxy, so I ended up to configure another server
(10.4.4.63) with squid configured on port 80 so that now my engine (ip
10.4.4.58) has:
# engine-config -g SpiceProxyDefault
SpiceProxyDefault: http://10.4.4.63:80 version: general

and I have both SpiceProxy and WebSocketProxy (where needed) working.
In your case you should install squid on your engine and set it up
with a port different than 80.

Official and free documentation on just released (?) final RHEV 3.3 is
better to read to configure Proxy:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Installation_Guide/sect-SPICE_Proxy.html
(good advertising... ;-)
it seems 3.3 has been released but no official announcement?
https://www.redhat.com/about/news/press-archive/2014/1/rhev-3-3-enables-openstack-ready-cloud-infrastructure
or did I loose anything?

Gianluca



More information about the Users mailing list