[ovirt-users] web console viewer and 3.5 to 3.6 update

2016-01-27 Thread Weber, Charles (NIH/NIA/IRP) [C]
Hi everyone, 
For the second upgrade in a row, the web consoles do not work properly after an 
upgrade. Suggestions would be appreciated.
When I upgraded to 3.5 and CentOS 7, spice/vnc web console would not work until 
I installed custom version of websockify and novnc on the engine host. 

python-websockify-0.5.1-2.el7.noarch and novnc-0.4-9.el7.noarch are what I used 
thanks to Frank Wall and kojifiles back in November.

I have just upgraded to current 3.6.2 engine and OV3.6 vdsmd on one node host. 
At the same time I upgraded both engine and node OS to current CO7 patch level.
This upgrade required I remove exclusion for the above 2 rpm in yum.conf and 
upgraded both to current versions.

Now I am back to web console not working. Any bright ideas? I can roll back to 
custom versions.  
Does the standard EPEL/OVIRT setup work with other people for web console? Am I 
special or is this a known issue?

current revs are
python-websockify.noarch0.6.0-2.el7 
 @epel
novnc.noarch  0.5.1-2.el7  @epel

web socket errors are
Jan 27 09:27:24 ovirtman.irp.nia.nih.gov ovirt-websocket-proxy.py[1368]: ip 
addr - - [27/Jan/2016 09:27:24] connecting to: 172.0.1.81:5900
Jan 27 09:27:24 ovirtman.irp.nia.nih.gov ovirt-websocket-proxy.py[1368]: ip 
addr - - [27/Jan/2016 09:27:24] code 400, message Bad HTTP/0.9 request type 
('\x88\x8f')
Jan 27 09:28:01 ovirtman.irp.nia.nih.gov ovirt-websocket-proxy.py[1368]: ip 
addr - - [27/Jan/2016 09:28:01] code 405, message Method Not Allowed
Jan 27 09:28:02 ovirtman.irp.nia.nih.gov ovirt-websocket-proxy.py[1368]: ip 
addr - - [27/Jan/2016 09:28:02] code 405, message Method Not Allowed

Thanks,
Chuck

Weber, Charles (NIH/NIA/IRP) 
web...@mail.nih.gov
p: 410-558-8001
c: 443-473-6493
251 Bayview Blvd
Baltimore MD 21224
NCTS performance comments and survey at:
https://niairpkiosk.irp.nia.nih.gov/content/ncts-user-survey



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] console viewing failure after moving engine from CO6 to CO7

2015-11-10 Thread Weber, Charles (NIH/NIA/IRP) [C]
Another thread suggested rolling back both novice and python-websockify.  I had 
first heard about websockify, but it alone made no difference. The combination 
of the 2 with below versions does work.

python-websockify-0.5.1-2.el7.noarch
novnc-0.4-9.el7.noarch

Weber, Charles (NIH/NIA/IRP) 
web...@mail.nih.gov
p: 410-558-8001
c: 443-473-6493
251 Bayview Blvd
Baltimore MD 21224
NCTS performance comments and survey at:
https://niairpkiosk.irp.nia.nih.gov/content/ncts-user-survey






> On Nov 10, 2015, at 10:04 AM, David Jaša  wrote:
> 
> Hi,
> 
> On Pá, 2015-11-06 at 19:53 +, Weber, Charles (NIH/NIA/IRP) [E]
> wrote:
>> Hi everyone, 
>> I have been moving production Ovirt cluster 4 host+1 engine+FC storage
>> from CentOS 6 to CentOS 7.
>> I created new cluster with CO7 nodes and did the usual transition
>> without any major issues.
>> This took care of nodes and worked very well.
>> I then used the engine backup/restore utility to move engine from old
>> server running CO6 to new server running CO7.
>> There were the some issues but fairly easily fixed. Mostly CO6 to CO7
>> stuff like NFS, firewalld etc. To be expected.
>> 
>> 
>> However, my web proxy did work with the engine on CO6 and now does
>> not. Local engine console viewer did work on CO6 and now does not. 
>> 1.  Hostname is the same
>> 2. errors are different that cert errors
>> 3. restore util should have moved the certs
>> 4. firewall rules are the same as before running iptables
>> 
>> Here are the errors when console is set for novice or spice html5. In
>> both cases web page opens up with black screen and then the error
>> occurs.
>> novnc
>> ReferenceError: can’t find variable:WebUtil
>> spice
>> Error: Unexpected protocol mismatch
>> 
> 
> Just trying luck as I have next to none hands-on experience: Could it be
> spice/vnc protocol mismatch as opposed to websockets protocol mismatch?
> What do websocket proxy logs say?
> 
> Adding spice-devel list to the loop as well.
> 
> David
> 
>> 
>> I tried older websockify, no change.
>> 
>> 
>> Overt Versions before and after engine move were 3.5.5-1
>> Current CentOS 7.1.1503
>> 
>> 
>> python-websockify.noarch   0.6.0-2.el7  @epel
>> novnc.noarch 0.5.1-2.el7@epel
>> spice-glib.x86_64  0.22-2.el7   @base
>> spice-gtk3.x86_640.22-2.el7 @base
>> spice-html5.noarch0.1.6-1.el7   @epel
>> spice-server.x86_64  0.12.4-9.el7_1.3@updates 
>> spice-vdagent.x86_64 0.14.0-9.el7  @base 
>> ovirt-engine.noarch  3.5.5-1.el7.centos   @ovirt-3.5
>> ovirt-engine-backend.noarch 3.5.5-1.el7.centos   @ovirt-3.5
>> ovirt-engine-cli.noarch 3.5.0.6-1.el7.centos
>> @ovirt-3.5
>> ovirt-engine-dbscripts.noarch  3.5.5-1.el7.centos @ovirt-3.5
>> ovirt-engine-extensions-api-impl.noarch  3.5.5-1.el7.centos
>> @ovirt-3.5
>> ovirt-engine-jboss-as.x86_64 7.1.1-1.el7 @ovirt-3.5
>> ovirt-engine-lib.noarch   3.5.5-1.el7.centos @ovirt-3.5
>> ovirt-engine-restapi.noarch  3.5.5-1.el7.centos   @ovirt-3.5
>> ovirt-engine-sdk-python.noarch3.5.5.0-1.el7.centos
>> @ovirt-3.5
>> ovirt-engine-setup.noarch 3.5.5-1.el7.centos   @ovirt-3.5
>> ovirt-engine-setup-base.noarch 3.5.5-1.el7.centos@ovirt-3.5
>> ovirt-engine-setup-plugin-ovirt-engine.noarch3.5.5-1.el7.centos
>>  @ovirt-3.5
>> ovirt-engine-setup-plugin-ovirt-engine-common.noarch
>>  3.5.5-1.el7.centos @ovirt-3.5
>> ovirt-engine-setup-plugin-websocket-proxy.noarch
>> 3.5.5-1.el7.centos@ovirt-3.5
>> ovirt-engine-tools.noarch3.5.5-1.el7.centos@ovirt-3.5
>> ovirt-engine-userportal.noarch3.5.5-1.el7.centos@ovirt-3.5
>> ovirt-engine-webadmin-portal.noarch3.5.5-1.el7.centos
>>  @ovirt-3.5
>> ovirt-engine-websocket-proxy.noarch3.5.5-1.el7.centos
>> @ovirt-3.5
>> 
>> 
>> 
>> 
>> ## IP address below in socket proxy status (XXX…) is the workstation I
>> am testing from. ##
>> 
>> 
>> [root@ovirtman yum.repos.d]# systemctl status ovirt-websocket-proxy -l
>> ovirt-websocket-proxy.service - oVirt Engine websockets proxy
>>   Loaded: loaded
>> (/usr/lib/systemd/system/ovirt-websocket-proxy.service; enabled)
>>   Active: active (running) since Tue 2015-11-03 13:10:07 EST; 22h ago
>> Main PID: 1178 (ovirt-websocket)
>>   CGroup: /system.slice/ovirt-websocket-proxy.service
>> 
>> └─1178 /usr/bin/python 
>> /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py
>>  --systemd=notify start
>> 
>> 
>> Nov 03 13:10:06 ovirtman.irp.nia.nih.gov systemd[1]: Starting oVirt
>> Engine websockets proxy...
>> Nov 03 13:10:07 ovirtman.irp.nia.nih.gov systemd[1]: Started oVirt
>> Engine websockets proxy.
>> Nov 04
>> 11:13:39 ovirtman.irp.nia.nih.gov ovirt-websocket-proxy.py[1178]:
>> XXX.XXX.XXX.XXX - - [04/Nov/2015 11:13:39] XXX.XXX.XXX.XXX: SSL/TLS
>> (wss://) WebSocket connection
>> Nov 04
>> 11:13:39 ovirtman.irp.nia.nih.gov ovirt-websocket-proxy.py[1178]: 
>> XXX.XXX.XXX.XXX - - [04/Nov/2