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