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