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]: 
>> 

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

2015-11-10 Thread David Jaša
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/2015 11:13:39] XXX.XXX.XXX.XXX  Version hybi-13, 
> base64: 'False'
> 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  Path: 
> 

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

2015-11-09 Thread Weber, Charles (NIH/NIA/IRP) [E]
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

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/2015 11:13:39] 
XXX.XXX.XXX.XXX  Version hybi-13, base64: 'False'
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  Path: