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

Weber, Charles (NIH/NIA/IRP) [C] weberc at grc.nia.nih.gov
Tue Nov 10 15:15:36 UTC 2015


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) 
weberc at 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 <djasa at redhat.com> wrote:
> 
> Hi,
> 
> On Pá, 2015-11-06 at 19:53 +0000, 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_64        0.22-2.el7         @base    
>> spice-html5.noarch        0.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.noarch        3.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.noarch    3.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.noarch    3.5.5-1.el7.centos        @ovirt-3.5
>> ovirt-engine-userportal.noarch    3.5.5-1.el7.centos        @ovirt-3.5
>> ovirt-engine-webadmin-portal.noarch    3.5.5-1.el7.centos
>>  @ovirt-3.5
>> ovirt-engine-websocket-proxy.noarch    3.5.5-1.el7.centos
>> @ovirt-3.5
>> 
>> 
>> 
>> 
>> ## IP address below in socket proxy status (XXX…) is the workstation I
>> am testing from. ##
>> 
>> 
>> [root at 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: '/eyJ2YWxpZFRvIjoiMjAxNTExMDQxNjE1MzgiLCJkYXRhIjoiJTdCJTIyaG9zdCUyMjolMjIxNzIuMC4xLjgxJTIyLCUyMnBvcnQlMjI6JTIyNTkwMiUyMiwlMjJzc2xfdGFyZ2V0JTIyOnRydWUlN0QiLCJ2YWxpZEZyb20iOiIyMDE1MTEwNDE2MTMzOCIsInNpZ25lZEZpZWxkcyI6InZhbGlkVG8sZGF0YSx2YWxpZEZyb20sc2FsdCIsInNpZ25hdHVyZSI6Imt6T2FEcWZnQk05WCtwYUVYSnZkQnRvaXdzOWVuZU1wQ05RSzNVT3VCVGVSdVhkV0NRcG04eHd5TXhkRlU1dzJWYm0yamQ2N3VaUUFYNExlR2IxaTVJUE56QTdHbUxsTEJRYSs3bGZhVGRRZ2VrMGlMZ3drdXV2YStSSXZyQ0p1dUIzK3RhYlRpM2FScG9FazZQa3EzWFBXTVhybjNoMGRSMUdUUWs2c0I1Z081aXI4Zk12SDZiQXBRakFMQVRTeHZZdFUyRXlGZVdsUHZiNEQyelc1engzTkRRTzBKQk9SZEI0WWxPdUFMZUVIa25pVVdJU0lqYjRZbjI3U1I4cFFGK280OXpIYzBGRnlrc0JOMjgvem1OeFVoV3BOL294RHJOek9kYXNrS2FKM2dBNEsvenloNGNxNHBuMWhudDQrR3QxdklWa3FtZ3ErWDRJcEVyNDlxZz09Iiwic2FsdCI6Imh2QmFpblJDRG00PSJ9’
>> 
>> 
>> I can post logs as required and any bright ideas are appreciated.
>> 
>> 
>> Chuck
>> Weber, Charles (NIH/NIA/IRP) 
>> weberc at 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 at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151110/05132fbc/attachment-0001.html>


More information about the Users mailing list