----- Исходное сообщение ----- От: "Vinzenz Feenstra" <[email protected]> Кому: "Denis Kirjanov" <[email protected]> Копия: "Michal Skrivanek" <[email protected]>, [email protected] Отправленные: Понедельник, 11 Август 2014 г 17:26:30 Тема: Re: [ovirt-devel] SSO using remote-viewer
On 08/11/2014 03:12 PM, Denis Kirjanov wrote: > > ----- Исходное сообщение ----- > От: "Vinzenz Feenstra" <[email protected]> > Кому: "Michal Skrivanek" <[email protected]>, "Denis Kirjanov" > <[email protected]> > Копия: [email protected] > Отправленные: Понедельник, 11 Август 2014 г 17:07:40 > Тема: Re: [ovirt-devel] SSO using remote-viewer > > On 08/11/2014 03:06 PM, Vinzenz Feenstra wrote: >> On 08/11/2014 03:01 PM, Michal Skrivanek wrote: >>> On Aug 11, 2014, at 14:14 , Denis Kirjanov <[email protected]> wrote: >>> >>>> Hi guys, >>>> >>>> I'm trying to login to a virtual machine without using the web >>>> interface (User Portal) but through the remote-viewer and a small >>>> python script to gather all required info such a certificate >>>> subject, ticken and ports. >>>> The virtual machine has the rhevm sso package installed so I can get >>>> to the machine through the web UI, >>>> but I can't do the same thing using remote-viewer. What I do see is >>>> a gdm login window with >>>> my user account and 2 icons (Login into session and RHEV-M SSO login). >>>> >>>> Looks like I have to invoke something inside my python script to get >>>> an access but I can't figure out what is missing… >>> you need to issue the "desktopLogin" command to actually perform the >>> sign on. The viewer itself doesn't do anything >> If this is going through vdsm then it's the desktop login command. Via >> the REST API it'd be just /vms/{vmid}/logon > Note: The REST API supports this from oVirt/RHEV 3.5 > > Thanks, but we're using oVirt/RHEV 3.1. > Does the PythonAPI (or ReST API) support something like this in 3.1? Well only the XMLRPC api of the Host supports the desktopLogin verb, as Michal already said. vdsClient for example can do this, when it has the right certificates vdsClient -s <HOSTIP> desktopLogin <VMID> <DOMAIN> <USER> <PASSWORD> HTH Could you please guide me on how to set a required certificates on a client? Thanks! > > >>> Thanks, >>> michal >>> >>>> Thanks! >>>> _______________________________________________ >>>> Devel mailing list >>>> [email protected] >>>> http://lists.ovirt.org/mailman/listinfo/devel >> > -- Regards, Vinzenz Feenstra | Senior Software Engineer RedHat Engineering Virtualization R & D Phone: +420 532 294 625 IRC: vfeenstr or evilissimo Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com _______________________________________________ Devel mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/devel
