[ovirt-users] Console using REST API

David Jaša djasa at redhat.com
Fri Jul 4 09:01:32 UTC 2014


Hi Shanil,

would you mind pasting the CLI verbatim, with variables expanded?
Regards,

David


On Pá, 2014-07-04 at 12:05 +0530, Shanil S wrote:
> Hi David,
> 
> 
> Yes, i tried after replacing the variables with the correct values but
> still getting the same above error. Do you have any idea about it ?
> 
> 
> -- 
> Regards 
> Shanil
> 
> 
> On Thu, Jul 3, 2014 at 1:41 PM, David Jaša <djasa at redhat.com> wrote:
>         Hi Shanil,
>         
>         On Čt, 2014-07-03 at 13:19 +0530, Shanil S wrote:
>         > Hi David,
>         >
>         >
>         > So, you mean something like
>         >
>         > remote-viewer --spice-ca-file ${CA_FILE}
>         --spice-host-subject
>         > "${SUBJECT}" spice://${HOST}:port=${PORT}/?tls-port=${SPORT}
>         >
>         > right ?
>         >
>         
>         
>         yes.
>         
>         >
>         > I tried the above way too but still getting the
>         > Cannot open display:
>         > Run 'remote-viewer --help' to see a full list of available
>         command
>         > line options
>         
>         
>         Do you fill all the values in place of all ${VARIABLES} ? If
>         so, try to
>         run the remote-viewer with --debug and --spice-debug options,
>         they
>         should give some insight into what goes wrong.
>         
>         Regards,
>         
>         David
>         
>         >
>         >
>         >
>         > --
>         > Regards
>         > Shanil
>         >
>         >
>         > On Thu, Jul 3, 2014 at 1:10 PM, David Jaša
>         <djasa at redhat.com> wrote:
>         >         On Čt, 2014-07-03 at 11:46 +0530, Shanil S wrote:
>         >         > Hi,
>         >         >
>         >         >
>         >         > I tried this way to create the console
>         >         >
>         >
>         http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal
>         >         > but its showing error like
>         >
>         >
>         >         The page needs an update but this hasn't changed,
>         the CLI
>         >         should work.
>         >         You also try to reformat the URI like:
>         >         spice://host:port/?tls-port=sport
>         >
>         >         HTH,
>         >
>         >         David
>         >
>         >         >
>         >         >
>         >
>         ----------------------------------------------------------------------------
>         >         >
>         >         > Cannot open display:
>         >         > Run 'remote-viewer --help' to see a full list of
>         available
>         >         command
>         >         > line options
>         >         >
>         >         >
>         >
>         ------------------------------------------------------------------------------
>         >         >
>         >         >
>         >         > used the following method for opening the
>         remote-viewer,
>         >         could you
>         >         > please check if any issues with it ?
>         >         > remote-viewer --spice-ca-file ${CA_FILE}
>         >         --spice-host-subject "${SUBJECT}"
>         spice://${HOST}/?port=
>         >         ${PORT}\&tls-port=${SPORT}
>         >         >
>         >         >
>         >         >
>         >         >
>         >         >
>         >         > --
>         >         > Regards
>         >         > Shanil
>         >         >
>         >         >
>         >         > On Tue, Jul 1, 2014 at 3:34 PM, Sven Kieske
>         >         <S.Kieske at mittwald.de>
>         >         > wrote:
>         >         >
>         >         >
>         >         >         Am 01.07.2014 12:00, schrieb Shanil S:
>         >         >         > Hi Seven,Michal,
>         >         >         >
>         >         >         > Thanks for your reply.
>         >         >         >
>         >         >         > Yes, i am using php and curl to create
>         the
>         >         console. Is it
>         >         >         possible to
>         >         >         > create html5 console using php and
>          curl ?
>         >         >         > Thanks for all your answers..
>         >         >
>         >         >
>         >         >         Yes it is, you can load the novnc html5
>         stuff from
>         >         ovirt and
>         >         >         patch it to
>         >         >         accept tickets from rest api.
>         >         >
>         >         >         how to do it exactly depends on your web
>         >         application.
>         >         >
>         >         >         just dig into the code a little, you
>         should be able
>         >         to find
>         >         >         it.
>         >         >
>         >         >         HTH
>         >         >
>         >         >         --
>         >         >         Mit freundlichen Grüßen / Regards
>         >         >
>         >         >         Sven Kieske
>         >         >
>         >         >         Systemadministrator
>         >         >         Mittwald CM Service GmbH & Co. KG
>         >         >         Königsberger Straße 6
>         >         >         32339 Espelkamp
>         >         >         T: +49-5772-293-100
>         >         >         F: +49-5772-293-333
>         >         >         https://www.mittwald.de
>         >         >         Geschäftsführer: Robert Meyer
>         >         >         St.Nr.: 331/5721/1033, USt-IdNr.:
>         DE814773217, HRA
>         >         6640, AG
>         >         >         Bad Oeynhausen
>         >         >         Komplementärin: Robert Meyer Verwaltungs
>         GmbH, HRB
>         >         13260, AG
>         >         >         Bad Oeynhausen
>         >         >
>         >         >
>         >
>         >         > _______________________________________________
>         >         > 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