<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>We
are mostly using Debian based distros (Debian, Ubuntu). </DIV></DIV>
<DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>And
since this is a massive project it takes much time to adopt it to different
distro and also maintain it.</DIV></DIV>
<DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>On
the other hand our project is in production at the moment and the only thing
that was still unfinished was SSO part. With help of oVirt agents it will take
little time to extend SSO in our code.</DIV>
<DIV dir=ltr>
<DIV class=gmail_extra>
<DIV class=gmail_quote>
<DIV> </DIV>
<DIV>Indeed, it is EL (CentOS, Scientific, etc.) friendly.</DIV>
<DIV>Which distribution are you looking for?</DIV>
<DIV>(And of course, patches are welcome).</DIV>
<DIV>Y.</DIV>
<DIV> </DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV class=HOEnZb>
<DIV class=h5>On Mon, 2016-07-04 at 11:11 +0300, Yaniv Kaul
wrote:<BR>><BR>><BR>> On Mon, Jul 4, 2016 at 10:25 AM, Tadas <<A
href="mailto:tadas@ring.lt">tadas@ring.lt</A>> wrote:<BR>> > I'm
developing a simple VDI solution for our university. And I find<BR>> >
"windows-credprov" and "virt-agent" very useful to provide SSO from<BR>>
> user dashboard to VM.<BR>> ><BR>><BR>> But we already provide
SSO functionality in oVirt. With Active<BR>> Directory integration.<BR>>
Y.<BR>><BR>> <BR>> > On Mon, 2016-07-04 at 10:00 +0300,
Yaniv Kaul wrote:<BR>> > ><BR>> > ><BR>> > > On
Mon, Jul 4, 2016 at 9:16 AM, Tadas <<A
href="mailto:tadas@ring.lt">tadas@ring.lt</A>> wrote:<BR>> > >
> Got everything working now.<BR>> > ><BR>> > > Great to
hear.<BR>> > > What is your use case?<BR>> > > Y.<BR>>
> > <BR>> > > > Thank you for your help.<BR>> >
> > For any users, whom it may be useful, heres the code for<BR>>
> external<BR>> > > > (SSO)<BR>> > > > logins from
hypervisor.<BR>> > > ><BR>> > > > <A
href="http://paste.ubuntu.com/18435531/" rel=noreferrer
target=_blank>http://paste.ubuntu.com/18435531/</A><BR>> > >
><BR>> > > > On Fri, 2016-07-01 at 13:53 +0200, Vinzenz
Feenstra wrote:<BR>> > > > ><BR>> > > > > >
On Jul 1, 2016, at 12:05 PM, Tadas <<A
href="mailto:tadas@ring.lt">tadas@ring.lt</A>> wrote:<BR>> > >
> > ><BR>> > > > > ><BR>> > > > >
> is there any documentation o oVirt guest agent commands?<BR>> >
> > > > To be more precise: i need to pass commands to oVirt
guest<BR>> > > > agent<BR>> > > > > >
from<BR>> > > > > > hypervisor.<BR>> > > > >
> Reading info works fine:<BR>> > > > > ><BR>> >
> > > > socat
/var/lib/libvirt/qemu/channel/target/domain-20-<BR>> > > > >
> win7_32bit/com.redhat.serial.0 -<BR>> > > > > ><BR>>
> > > > > {"applications": ["Python 2.7.12rc1", "SPICE Guest
Tools",<BR>> > > > "Total<BR>> > > > > >
Commander (Remove or Repair)", "Python 2.7 pywin32-216",<BR>> > >
> "Microsoft<BR>> > > > > > .NET Framework 4.6.1", "Git
version 2.9.0", "WinRAR 5.40<BR>> > beta 2<BR>> > > > >
> (32-<BR>> > > > > > bit)", "Notepad++"], "__name__":
"applications"}<BR>> > > > > > {"__name__": "host-name",
"name": "WIN7_32BIT"}<BR>> > > > > > {"__name__":
"os-version", "version": "Win 7”}<BR>> > > > ><BR>> >
> > > Every command has to be send as a whole JSON object and
sent<BR>> > as<BR>> > > > line<BR>> > > > >
terminated by a \n character<BR>> > > > ><BR>> > >
> > The commands available are currently not documented however.<BR>>
> > > ><BR>> > > > > {“__name__”: “name”, …
args}<BR>> > > > ><BR>> > > > > - name:
shutdown<BR>> > > > > parameters:<BR>> > >
> > - timeout: optional integer
(seconds)<BR>> > > > > -
reboot: optional boolean<BR>> > > >
> - message: string<BR>> > >
> ><BR>> > > > > - name: refresh<BR>> > > >
> parameters:<BR>> > > >
> - apiVersion: optiona integer
<BR>> > > >
>
this defines what information can be exchanged<BR>> > > >
><BR>> > > > > - name: hibernate:<BR>> > > >
> parameters:<BR>> > > >
> - state: disk or mem (default is disk
if not specified)<BR>> > > > ><BR>> > > > > if
you need more you can look here: <A href="https://github.com/oVirt"
rel=noreferrer target=_blank>https://github.com/oVirt</A><BR>> >
/ovi<BR>> > > > rt-g<BR>> > > > >
uest-agent/blob/master/ovirt-guest-<BR>> > > >
agent/OVirtAgentLogic.py#L306 at<BR>> > > > > the parseCommand
function<BR>> > > > > or just ask here :-)<BR>> > >
> ><BR>> > > > > ><BR>> > > > > >
I'm unable to find how to send command (lets say<BR>> > "shutdown")
to<BR>> > > > > > agent?.<BR>> > > > > >
echo "shutdown" | socat<BR>> > > > > >
/var/lib/libvirt/qemu/channel/target/domain-20-<BR>> > > > >
> win7_32bit/com.redhat.kvm-vdi.0 -<BR>> > > > > >
Does not seem to work<BR>> > > > > > Thank you for your
help.<BR>> > > > > >
_______________________________________________<BR>> > > > >
> Users mailing list<BR>> > > > > > <A
href="mailto:Users@ovirt.org">Users@ovirt.org</A><BR>> > > > >
> <A href="http://lists.ovirt.org/mailman/listinfo/users" rel=noreferrer
target=_blank>http://lists.ovirt.org/mailman/listinfo/users</A><BR>> >
> > ><BR>> > > >
_______________________________________________<BR>> > > > Users
mailing list<BR>> > > > <A
href="mailto:Users@ovirt.org">Users@ovirt.org</A><BR>> > > > <A
href="http://lists.ovirt.org/mailman/listinfo/users" rel=noreferrer
target=_blank>http://lists.ovirt.org/mailman/listinfo/users</A><BR>> >
> ><BR>> > ><BR>>
><BR>><BR>_______________________________________________<BR>Users
mailing list<BR><A href="mailto:Users@ovirt.org">Users@ovirt.org</A><BR><A
href="http://lists.ovirt.org/mailman/listinfo/users" rel=noreferrer
target=_blank>http://lists.ovirt.org/mailman/listinfo/users</A><BR></DIV></DIV></BLOCKQUOTE></DIV>
<DIV> </DIV></DIV></DIV></DIV></DIV></DIV></BODY></HTML>