<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 4, 2016 at 12:05 PM, Tadas <span dir="ltr"><<a href="mailto:tadas@ring.lt" target="_blank">tadas@ring.lt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, and it works fine. Though we went for a simplier solution.<br>
Also, one of problems is that oVirt is very distribution-oriented. To<br>
use it on distributions different than Redhat requires lots of tuning.<br></blockquote><div><br></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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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><br></div></div>