Hi everyone,
Hi tested again
http://www.ovirt.org/Features/WebSocketProxy_on_a_separate_host
What happened on tast day 1
* found minor packaging issues
* stopped earlier facing SSL issues, had a followup the day after an managed to have the
feature working.
This time things got better, and again the feature works as expected.
The packaging issues are gone, but I still had UX annoyances along the way.
I followed instructions on the wiki page above.
Platform:
F20 hypervisor host
F20 engine host
F19 websocket proxy
(Didn't had time to test on different platforms because local bandwith issues eat lot
of time just to install things)
Installation went fine.
websocket proxy setup is maybe a bit clumsy (I mean the text mode wizard), but it is
bearable
(I don't mind at all, but someone else can...);
for some reasons (I cannot exclude an error from mine) engine got configured to use
localhost as websocket proxy.
To fix this I edited the engine config (update on DBMS), but then faced this error on
proxy side:
Jul 29 17:13:14 shinji ovirt-websocket-proxy.py[17004]: 1: handler exception: [Errno 1]
_ssl.c:504: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
to redo the websocket setup I removed (actually renamed) /etc/pki/ovirt-engine and rerun
setup.
After that everything worked fine
Jul 29 17:26:52 shinji ovirt-websocket-proxy.py[17180]: 8: connecting to:
192.168.1.53:5900 (using SSL)
Jul 29 17:26:52 shinji ovirt-websocket-proxy.py[17180]: 5: 192.168.1.177: SSL/TLS (wss://)
WebSocket connection
Jul 29 17:26:52 shinji ovirt-websocket-proxy.py[17180]: 5: 192.168.1.177: Version hybi-13,
base64: 'False'
Jul 29 17:26:52 shinji ovirt-websocket-proxy.py[17180]: 5: 192.168.1.177: Path:
'/eyJ2YWxpZFRvIjoiMjAxNDA3MjkxNTIx [...]
192.168.1.53 is the hypervisor host I used
Now the point is maybe I did some mistakes or overlooked some configuration steps
(maybe blindly hit return instead of changing a default), but I suggest to improve
the docs/wiki to document how to fix common gotchas and/or to reconfigure things.
Bests,
--
Francesco Romani
RedHat Engineering Virtualization R & D
Phone: 8261328
IRC: fromani