[Users] oVirt 3.3 does not start HTML5/noVNC viewer

Frantisek Kobzik fkobzik at redhat.com
Tue Jun 18 08:57:46 UTC 2013


I suppose this could be more of a problem with init script than with proxy itself.
Could you try running proxy without using service? i.e. go to the directory where the proxy is installed (should be /usr/share/ovirt-engine/services and run the proxy from there using './ovirt-websocket-proxy.py start'). What's the output?

Thanks,
F.

----- Original Message -----
From: "Matt ." <yamakasi.014 at gmail.com>
To: "Frantisek Kobzik" <fkobzik at redhat.com>
Cc: "users" <users at ovirt.org>
Sent: Tuesday, June 18, 2013 10:48:07 AM
Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC viewer

Hi,

I'm running CentOS 6.4




2013/6/18 Frantisek Kobzik <fkobzik at redhat.com>

> Hi Matt,
>
> I just tried installing nightly websocket proxy on my Fedora 18 and it
> runs fine. Which system do you run?
>
> Thanks,
> Frank.
>
> ----- Original Message -----
> From: "Matt ." <yamakasi.014 at gmail.com>
> To: "Frantisek Kobzik" <fkobzik at redhat.com>
> Cc: "users" <users at ovirt.org>
> Sent: Monday, June 17, 2013 2:02:25 PM
> Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC viewer
>
> Hi,
>
> At the moment I have removed it as it was not possible to update:
>
>   file /usr/share/ovirt-engine/services/config.pyc from install of
>
> ovirt-engine-websocket-proxy-3.3.0-0.2.master.20130615222011.gitf92a4af.el6.noarch
> conflicts with file from package
> ovirt-engine-3.3.0-0.2.master.20130609231551.gitc493152.el6.noarch
>
>
> I was running:
>
>
> ovirt-engine-websocket-proxy-3.3.0-0.2.master.20130609231551.gitc493152.el6.noarch
>
>
> Thanks!
>
>
> 2013/6/17 Frantisek Kobzik <fkobzik at redhat.com>
>
> > Hi Matt,
> >
> > could you specify what version/build of ovirt-websocket-proxy do you use?
> >
> > Thanks,
> > Frank.
> >
> > ----- Original Message -----
> > From: "Matt ." <yamakasi.014 at gmail.com>
> > To: "Frantisek Kobzik" <fkobzik at redhat.com>
> > Cc: "Alon Bar-Lev" <alonbl at redhat.com>, "users" <users at ovirt.org>
> > Sent: Friday, June 14, 2013 6:08:47 PM
> > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC viewer
> >
> > Hi Frank,
> >
> > I want to use the standard HTML noVNC client.
> >
> > I have installed the webproxy but it starts with an error on line 77 of
> the
> > init script, there is a "e" where I don't know of what it is.
> >
> > Where do I have to set the engine to xyz ? Is this still nog 100%
> > inplemented or am I wrong that we have to do this manually.
> >
> > Thanks again!!
> >
> > Cheers,
> >
> > Matt
> >
> >
> > 2013/6/14 Frantisek Kobzik <fkobzik at redhat.com>
> >
> > > Hi Matt!
> > >
> > > Right now I'm not sure whether you are trying to launch console via
> MIME
> > > (i.e. the console.vv is served to your locally installed virt-viewer)
> or
> > > you want to run noVNC html client. (I'm a little bit confused because
> the
> > > $subj contains noVNC but console.vv is actually the MIME way.)
> > >
> > > The noVNC client is now in the engine, but it runs only via plain http
> > out
> > > of the box (for the moment). If you want to use it, you must ensure two
> > > things:
> > >  1, You must run ovirt-websocket-proxy (preferably on the machine where
> > > the engine runs) - just use ovirt-websocket-proxy package and run the
> > > service.
> > >  2, You must configure the engine so that it knows that you want to use
> > > noVNC instead of MIME invocation. You can do it in the database or
> using
> > > the tools via WebSocketProxy option. If your websocket-proxy runs on
> the
> > > engine, set it to 'Engine:xyz', where xyz is the port on which the
> proxy
> > > runs (6100 is the default now).
> > >
> > > Regards,
> > > Frank.
> > >
> > > ----- Original Message -----
> > > From: "Matt ." <yamakasi.014 at gmail.com>
> > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > Cc: "Frantisek Kobzik" <fkobzik at redhat.com>, "users" <users at ovirt.org>
> > > Sent: Friday, June 14, 2013 3:45:25 PM
> > > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC viewer
> > >
> > > Hi Alon,
> > >
> > > I have stopped there, but I get a console.vv download again on my
> Firefox
> > > and no console!
> > >
> > > Cheers,
> > >
> > > Matt
> > >
> > >
> > > 2013/6/14 Alon Bar-Lev <alonbl at redhat.com>
> > >
> > > >
> > > > Hi Matt,
> > > >
> > > > You should have stopped when it worked to you... :)
> > > > I guess by placing 'console/'
> > > >
> > > > I was talking to Frank regarding the future changes.
> > > >
> > > > Thanks,
> > > > Alon
> > > >
> > > > ----- Original Message -----
> > > > > From: "Matt ." <yamakasi.014 at gmail.com>
> > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > Cc: "Frantisek Kobzik" <fkobzik at redhat.com>, "users" <
> > users at ovirt.org>
> > > > > Sent: Friday, June 14, 2013 4:39:34 PM
> > > > > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC viewer
> > > > >
> > > > > OK, thanks.
> > > > >
> > > > > I'm not 100% sure about what to do now. I have to change the
> servlet,
> > > but
> > > > > where ? A locate on the servlet didn't have me any match.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Matt
> > > > >
> > > > >
> > > > > 2013/6/14 Alon Bar-Lev <alonbl at redhat.com>
> > > > >
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > To: "Frantisek Kobzik" <fkobzik at redhat.com>
> > > > > > > Cc: "users" <users at ovirt.org>
> > > > > > > Sent: Friday, June 14, 2013 4:29:53 PM
> > > > > > > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC
> viewer
> > > > > > >
> > > > > > > OK.
> > > > > > >
> > > > > > > So please modify it to /ovirt-engine-attachments
> > > > > >
> > > > > > I mean the org.ovirt.engine.core.GetAttachmentServlet servlet
> will
> > be
> > > > > > mapped to /ovirt-engine-attachment and serve
> > > > > > /ovirt-ovirt-engine-attachment/*
> > > > > >
> > > > > > This is generic as it actually has nothing to do with console...
> > > > > >
> > > > > > The ovirt-engine prefix will allow us to avoid conflicts.
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > > >
> > > > > > > Thanks!
> > > > > > >
> > > > > > > ----- Original Message -----
> > > > > > > > From: "Frantisek Kobzik" <fkobzik at redhat.com>
> > > > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > Cc: "users" <users at ovirt.org>
> > > > > > > > Sent: Friday, June 14, 2013 4:19:26 PM
> > > > > > > > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC
> > viewer
> > > > > > > >
> > > > > > > > There is only one reason: we have to serve .rdp descriptors
> too
> > > > and IE
> > > > > > > > doesn't work well with attachment header (the filename is
> > derived
> > > > from
> > > > > > the
> > > > > > > > last part of the URL).
> > > > > > > >
> > > > > > > > ----- Original Message -----
> > > > > > > > From: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > To: "Frantisek Kobzik" <fkobzik at redhat.com>
> > > > > > > > Cc: "users" <users at ovirt.org>
> > > > > > > > Sent: Friday, June 14, 2013 3:11:36 PM
> > > > > > > > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC
> > viewer
> > > > > > > >
> > > > > > > > Frank,
> > > > > > > >
> > > > > > > > BTW: why do we need multiple servlet for attachments?
> > > > > > > >
> > > > > > > > Alon
> > > > > > > >
> > > > > > > > ----- Original Message -----
> > > > > > > > > From: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > > To: "Frantisek Kobzik" <fkobzik at redhat.com>
> > > > > > > > > Cc: "users" <users at ovirt.org>
> > > > > > > > > Sent: Friday, June 14, 2013 4:08:09 PM
> > > > > > > > > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC
> > > viewer
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Oh!
> > > > > > > > > Sorry, wrong paste... it should be 'console/'
> > > > > > > > > Sorry.
> > > > > > > > >
> > > > > > > > > Frank,
> > > > > > > > > Can you please check that and also rename the link to
> > > > > > > > > ovirt-engine-console
> > > > > > > > > or
> > > > > > > > > similar so we won't have conflicts with other applications?
> > > > > > > > >
> > > > > > > > > Thanks!
> > > > > > > > >
> > > > > > > > > ----- Original Message -----
> > > > > > > > > > From: "Frantisek Kobzik" <fkobzik at redhat.com>
> > > > > > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > > > Cc: "Matt ." <yamakasi.014 at gmail.com>, "users" <
> > > > users at ovirt.org>
> > > > > > > > > > Sent: Friday, June 14, 2013 3:59:01 PM
> > > > > > > > > > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC
> > > > viewer
> > > > > > > > > >
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > this is probably caused by not-updated apache proxy in my
> > > > patch.
> > > > > > But
> > > > > > > > > > Alon
> > > > > > > > > > -
> > > > > > > > > > are you sure we have to add 'webadmin/'? I don't know the
> > > exact
> > > > > > syntax
> > > > > > > > > > of
> > > > > > > > > > configuring apache proxy, but shouldn't something like
> > > > > > > > > > 'console/console.vv$'
> > > > > > > > > > and 'console/console.rdp$' be ok?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > Frank
> > > > > > > > > >
> > > > > > > > > > ----- Original Message -----
> > > > > > > > > > From: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > > > To: "Matt ." <yamakasi.014 at gmail.com>
> > > > > > > > > > Cc: "users" <users at ovirt.org>, "Frantisek Kobzik" <
> > > > > > fkobzik at redhat.com>
> > > > > > > > > > Sent: Friday, June 14, 2013 2:45:51 PM
> > > > > > > > > > Subject: Re: [Users] oVirt 3.3 does not start HTML5/noVNC
> > > > viewer
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > From: "Matt ." <yamakasi.014 at gmail.com>
> > > > > > > > > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > > > > > > > > Cc: "users" <users at ovirt.org>, "Frantisek Kobzik"
> > > > > > > > > > > <fkobzik at redhat.com>
> > > > > > > > > > > Sent: Friday, June 14, 2013 3:40:55 PM
> > > > > > > > > > > Subject: Re: [Users] oVirt 3.3 does not start
> HTML5/noVNC
> > > > viewer
> > > > > > > > > > >
> > > > > > > > > > > OK, thanks. Need to check how I can add this patch from
> > git
> > > > > > without
> > > > > > > > > > > breaking stuff.
> > > > > > > > > >
> > > > > > > > > > You probably need to fix the apache proxy configuration
> at
> > > > > > > > > > /etc/httpd/conf.d/z-ovirt-engine-proxy.conf, modifying
> the
> > > > > > > > > > 'console.vv$'
> > > > > > > > > > to
> > > > > > > > > > 'webadmin/', then restart apache.
> > > > > > > > > > If that is working for you I will post a fix.
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 2013/6/14 Alon Bar-Lev <alonbl at redhat.com>
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Known issue, was broken per[1]
> > > > > > > > > > > >
> > > > > > > > > > > > [1] http://gerrit.ovirt.org/#/c/14895/
> > > > > > > > > > > >
> > > > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > > > From: "Matt ." <yamakasi.014 at gmail.com>
> > > > > > > > > > > > > Cc: "users" <users at ovirt.org>
> > > > > > > > > > > > > Sent: Friday, June 14, 2013 3:02:39 PM
> > > > > > > > > > > > > Subject: Re: [Users] oVirt 3.3 does not start
> > > HTML5/noVNC
> > > > > > viewer
> > > > > > > > > > > > >
> > > > > > > > > > > > > OK, I have rebooted the machine after virt-viewer
> > > > > > installation
> > > > > > > > > > > > > and
> > > > > > > > > > > > running
> > > > > > > > > > > > > now into this:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Not Found
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > The requested URL /console/console.vv was not found
> > on
> > > > this
> > > > > > > > > > > > > server.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > So it actually tries to work, that is a good
> > direction.
> > > > Now
> > > > > > the
> > > > > > > > > > > > > question
> > > > > > > > > > > > why
> > > > > > > > > > > > > it cannot find the console there.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2013/6/14 Matt . < yamakasi.014 at gmail.com >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi Andrew,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On the ovirt-engine ? 0.5.2
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > 2013/6/14 Andrew Cathrow < acathrow at redhat.com >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > what version of remote-viewer/virt-viewer do you
> have
> > > > > > installed?
> > > > > > > > > > > > > virt-viewer 0.5.6 included mime type support.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: "Matt ." < yamakasi.014 at gmail.com >
> > > > > > > > > > > > > To: "users" < users at ovirt.org >
> > > > > > > > > > > > > Sent: Friday, June 14, 2013 6:17:20 AM
> > > > > > > > > > > > > Subject: [Users] oVirt 3.3 does not start
> HTML5/noVNC
> > > > viewer
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > HI All,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I upgraded to 3.3 and tried to start a console.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Whatever version of console I set, VNC or Spice,
> the
> > > > browser
> > > > > > > > > > > > > downloads
> > > > > > > > > > > > > a
> > > > > > > > > > > > > console.vv file now.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Am I doing something wrong or is this just the
> > > unreleased
> > > > > > version
> > > > > > > > > > > > > ?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks for the help!
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > > Matt
> > > > > > > > > > > > >
> > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > Users mailing list
> > > > > > > > > > > > > Users at ovirt.org
> > > > > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > Users mailing list
> > > > > > > > > > > > > Users at ovirt.org
> > > > > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > _______________________________________________
> > > > > > > > > Users mailing list
> > > > > > > > > Users at ovirt.org
> > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > >
> > > > > > > >
> > > > > > > _______________________________________________
> > > > > > > Users mailing list
> > > > > > > Users at ovirt.org
> > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > >
> > > > > > _______________________________________________
> > > > > > Users mailing list
> > > > > > Users at ovirt.org
> > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > >
> > > > >
> > > >
> > >
> >
>



More information about the Users mailing list