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

Frantisek Kobzik fkobzik at redhat.com
Fri Jun 14 15:45:55 UTC 2013


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