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@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@gmail.com>
To: "Alon Bar-Lev" <alonbl@redhat.com>
Cc: "Frantisek Kobzik" <fkobzik@redhat.com>, "users" <users@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@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@gmail.com>
> > To: "Alon Bar-Lev" <alonbl@redhat.com>
> > Cc: "Frantisek Kobzik" <fkobzik@redhat.com>, "users" <users@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@redhat.com>
> >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Alon Bar-Lev" <alonbl@redhat.com>
> > > > To: "Frantisek Kobzik" <fkobzik@redhat.com>
> > > > Cc: "users" <users@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@redhat.com>
> > > > > To: "Alon Bar-Lev" <alonbl@redhat.com>
> > > > > Cc: "users" <users@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@redhat.com>
> > > > > To: "Frantisek Kobzik" <fkobzik@redhat.com>
> > > > > Cc: "users" <users@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@redhat.com>
> > > > > > To: "Frantisek Kobzik" <fkobzik@redhat.com>
> > > > > > Cc: "users" <users@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@redhat.com>
> > > > > > > To: "Alon Bar-Lev" <alonbl@redhat.com>
> > > > > > > Cc: "Matt ." <yamakasi.014@gmail.com>, "users" <
> users@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@redhat.com>
> > > > > > > To: "Matt ." <yamakasi.014@gmail.com>
> > > > > > > Cc: "users" <users@ovirt.org>, "Frantisek Kobzik" <
> > > fkobzik@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@gmail.com>
> > > > > > > > To: "Alon Bar-Lev" <alonbl@redhat.com>
> > > > > > > > Cc: "users" <users@ovirt.org>, "Frantisek Kobzik"
> > > > > > > > <fkobzik@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@redhat.com>
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Known issue, was broken per[1]
> > > > > > > > >
> > > > > > > > > [1] http://gerrit.ovirt.org/#/c/14895/
> > > > > > > > >
> > > > > > > > > ----- Original Message -----
> > > > > > > > > > From: "Matt ." <yamakasi.014@gmail.com>
> > > > > > > > > > Cc: "users" <users@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@gmail.com >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi Andrew,
> > > > > > > > > >
> > > > > > > > > > On the ovirt-engine ? 0.5.2
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 2013/6/14 Andrew Cathrow < acathrow@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@gmail.com >
> > > > > > > > > > To: "users" < users@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@ovirt.org
> > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > _______________________________________________
> > > > > > > > > > Users mailing list
> > > > > > > > > > Users@ovirt.org
> > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > _______________________________________________
> > > > > > Users mailing list
> > > > > > Users@ovirt.org
> > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > >
> > > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users@ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > >
> > > _______________________________________________
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
>