<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 4, 2016, at 2:49 PM, Tadas <<a href="mailto:tadas@ring.lt" class="">tadas@ring.lt</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div style="font-size: 12pt; font-family: Calibri;" class="">
<div class="">
<div style="font-size: small; text-decoration: none; font-family: Calibri; font-weight: normal; font-style: normal; display: inline;" class="">We
are mostly using Debian based distros (Debian, Ubuntu). </div></div>
<div class="">
<div style="font-size: small; text-decoration: none; font-family: Calibri; font-weight: normal; font-style: normal; display: inline;" class="">And
since this is a massive project it takes much time to adopt it to different
distro and also maintain it.</div></div>
<div class="">
<div style="font-size: small; text-decoration: none; font-family: Calibri; font-weight: normal; font-style: normal; display: inline;" class="">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></div></div></div></div></blockquote><div><br class=""></div><div>hi there,</div><div><br class=""></div><div>sorry for the late reply I have been last week on vacation.</div><div><br class=""></div><div>Well we can also try to improve the support for those systems instead :-)</div><div>If we have someone who can give us active feedback on things working or not we can fix the things.</div><div><br class=""></div><div>We already have the guest agent “in” debian and ubuntu however they seem to be still having some troubles to run properly.</div><div><br class=""></div><div>Anyway I am glad to work with you and we can get these things fixed asap to make it work properly on Debian based systems </div><div><br class=""></div><div>Regards,</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div style="font-size: 12pt; font-family: Calibri;" class=""><div class=""><div dir="ltr" class="">
<div class="gmail_extra">
<div class="gmail_quote">
<div class=""> </div>
<div class="">Indeed, it is EL (CentOS, Scientific, etc.) friendly.</div>
<div class="">Which distribution are you looking for?</div>
<div class="">(And of course, patches are welcome).</div>
<div class="">Y.</div>
<div class=""> </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 class="">><br class="">><br class="">> On Mon, Jul 4, 2016 at 10:25 AM, Tadas <<a href="mailto:tadas@ring.lt" class="">tadas@ring.lt</a>> wrote:<br class="">> > I'm
developing a simple VDI solution for our university. And I find<br class="">> >
"windows-credprov" and "virt-agent" very useful to provide SSO from<br class="">>
> user dashboard to VM.<br class="">> ><br class="">><br class="">> But we already provide
SSO functionality in oVirt. With Active<br class="">> Directory integration.<br class="">>
Y.<br class="">><br class="">> <br class="">> > On Mon, 2016-07-04 at 10:00 +0300,
Yaniv Kaul wrote:<br class="">> > ><br class="">> > ><br class="">> > > On
Mon, Jul 4, 2016 at 9:16 AM, Tadas <<a href="mailto:tadas@ring.lt" class="">tadas@ring.lt</a>> wrote:<br class="">> > >
> Got everything working now.<br class="">> > ><br class="">> > > Great to
hear.<br class="">> > > What is your use case?<br class="">> > > Y.<br class="">>
> > <br class="">> > > > Thank you for your help.<br class="">> >
> > For any users, whom it may be useful, heres the code for<br class="">>
> external<br class="">> > > > (SSO)<br class="">> > > > logins from
hypervisor.<br class="">> > > ><br class="">> > > > <a href="http://paste.ubuntu.com/18435531/" rel="noreferrer" target="_blank" class="">http://paste.ubuntu.com/18435531/</a><br class="">> > >
><br class="">> > > > On Fri, 2016-07-01 at 13:53 +0200, Vinzenz
Feenstra wrote:<br class="">> > > > ><br class="">> > > > > >
On Jul 1, 2016, at 12:05 PM, Tadas <<a href="mailto:tadas@ring.lt" class="">tadas@ring.lt</a>> wrote:<br class="">> > >
> > ><br class="">> > > > > ><br class="">> > > > >
> is there any documentation o oVirt guest agent commands?<br class="">> >
> > > > To be more precise: i need to pass commands to oVirt
guest<br class="">> > > > agent<br class="">> > > > > >
from<br class="">> > > > > > hypervisor.<br class="">> > > > >
> Reading info works fine:<br class="">> > > > > ><br class="">> >
> > > > socat
/var/lib/libvirt/qemu/channel/target/domain-20-<br class="">> > > > >
> win7_32bit/com.redhat.serial.0 -<br class="">> > > > > ><br class="">>
> > > > > {"applications": ["Python 2.7.12rc1", "SPICE Guest
Tools",<br class="">> > > > "Total<br class="">> > > > > >
Commander (Remove or Repair)", "Python 2.7 pywin32-216",<br class="">> > >
> "Microsoft<br class="">> > > > > > .NET Framework 4.6.1", "Git
version 2.9.0", "WinRAR 5.40<br class="">> > beta 2<br class="">> > > > >
> (32-<br class="">> > > > > > bit)", "Notepad++"], "__name__":
"applications"}<br class="">> > > > > > {"__name__": "host-name",
"name": "WIN7_32BIT"}<br class="">> > > > > > {"__name__":
"os-version", "version": "Win 7”}<br class="">> > > > ><br class="">> >
> > > Every command has to be send as a whole JSON object and
sent<br class="">> > as<br class="">> > > > line<br class="">> > > > >
terminated by a \n character<br class="">> > > > ><br class="">> > >
> > The commands available are currently not documented however.<br class="">>
> > > ><br class="">> > > > > {“__name__”: “name”, …
args}<br class="">> > > > ><br class="">> > > > > - name:
shutdown<br class="">> > > > > parameters:<br class="">> > >
> > - timeout: optional integer
(seconds)<br class="">> > > > > -
reboot: optional boolean<br class="">> > > >
> - message: string<br class="">> > >
> ><br class="">> > > > > - name: refresh<br class="">> > > >
> parameters:<br class="">> > > >
> - apiVersion: optiona integer
<br class="">> > > >
>
this defines what information can be exchanged<br class="">> > > >
><br class="">> > > > > - name: hibernate:<br class="">> > > >
> parameters:<br class="">> > > >
> - state: disk or mem (default is disk
if not specified)<br class="">> > > > ><br class="">> > > > > if
you need more you can look here: <a href="https://github.com/oVirt" rel="noreferrer" target="_blank" class="">https://github.com/oVirt</a><br class="">> >
/ovi<br class="">> > > > rt-g<br class="">> > > > >
uest-agent/blob/master/ovirt-guest-<br class="">> > > >
agent/OVirtAgentLogic.py#L306 at<br class="">> > > > > the parseCommand
function<br class="">> > > > > or just ask here :-)<br class="">> > >
> ><br class="">> > > > > ><br class="">> > > > > >
I'm unable to find how to send command (lets say<br class="">> > "shutdown")
to<br class="">> > > > > > agent?.<br class="">> > > > > >
echo "shutdown" | socat<br class="">> > > > > >
/var/lib/libvirt/qemu/channel/target/domain-20-<br class="">> > > > >
> win7_32bit/com.redhat.kvm-vdi.0 -<br class="">> > > > > >
Does not seem to work<br class="">> > > > > > Thank you for your
help.<br class="">> > > > > >
_______________________________________________<br class="">> > > > >
> Users mailing list<br class="">> > > > > > <a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">> > > > >
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.ovirt.org/mailman/listinfo/users</a><br class="">> >
> > ><br class="">> > > >
_______________________________________________<br class="">> > > > Users
mailing list<br class="">> > > > <a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">> > > > <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.ovirt.org/mailman/listinfo/users</a><br class="">> >
> ><br class="">> > ><br class="">>
><br class="">><br class="">_______________________________________________<br class="">Users
mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class=""><a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank" class="">http://lists.ovirt.org/mailman/listinfo/users</a><br class=""></div></div></blockquote></div>
<div class=""> </div></div></div></div></div></div></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@ovirt.org" class="">Users@ovirt.org</a><br class="">http://lists.ovirt.org/mailman/listinfo/users<br class=""></div></blockquote></div><br class=""></body></html>