
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --esxqUUFRnoLjepMrOA5Hkm3UML5wUHNRK Content-Type: multipart/mixed; boundary="eajEXJd6jQX4XBegr61l0kKLbf0c09Hh1"; protected-headers="v1" From: Chris Cowley <chris@chriscowley.me.uk> To: users@ovirt.org Message-ID: <a27fa272-159e-2347-1874-a757a8414f55@chriscowley.me.uk> Subject: I wrote an oVirt thing --eajEXJd6jQX4XBegr61l0kKLbf0c09Hh1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all I started hacking together something last night to use as a CLI to manage my oVirt clusters. https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.= The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community. Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain. Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-) --=20 Regards Chris Cowley http://about.me/chriscowley --eajEXJd6jQX4XBegr61l0kKLbf0c09Hh1-- --esxqUUFRnoLjepMrOA5Hkm3UML5wUHNRK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYOfooAAoJEFE69jToO8ko0ygIAJb3oDKgL6byq5zlo1yc3jXW +uqXduaiojyKNTEk6QTZKnFSmuZpp/Yp7xitAiwh26Zac0ZsnuMvijWnWu3fBH3w XCK+bxb3N0A8hN0uY4uSn9ARHIuxf+BuYqOtrNE1NanG2stGdtlUWZMWOTbKmaPm 6/ZVqKOzWodGGUjbr1ID48+KNDf4wgJmPutuzK19CtwUVL0y/l9or2tBgpPeuBju 4ECwnUbrSyPE5wMmiwpN7MJv6OM8iPPB6O3W1MweMSDSolje56+4kfsog6yZXwGm LTmfWHh2XTQ56jEAIrH2gBHMkHjCuOAZNwF1L/6XkVocwzcou6Tzka4QoAvi/kI= =Abzz -----END PGP SIGNATURE----- --esxqUUFRnoLjepMrOA5Hkm3UML5wUHNRK--

Hi Chris, Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell? -derek On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TMX05946b6Q58XFHvrNTLLmdel7Pug8uS Content-Type: multipart/mixed; boundary="f9ftTxVVhuhji6w54xfnprOLajlHF2fRF"; protected-headers="v1" From: Chris Cowley <chris@chriscowley.me.uk> To: Derek Atkins <derek@ihtfp.com> Cc: users@ovirt.org Message-ID: <2894bec3-bf49-1ac8-55dc-fc7a11f9d03b@chriscowley.me.uk> Subject: Re: [ovirt-users] I wrote an oVirt thing References: <a27fa272-159e-2347-1874-a757a8414f55@chriscowley.me.uk> <3c7ac2794ffc360306f50968934e4960.squirrel@mail2.ihtfp.org> In-Reply-To: <3c7ac2794ffc360306f50968934e4960.squirrel@mail2.ihtfp.org> --f9ftTxVVhuhji6w54xfnprOLajlHF2fRF Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for = it. Also, choice is good. Finally: because I didn't think of it. On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris, =20 Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell? =20 -derek =20 On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the = ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
=20 =20
--=20 Regards Chris Cowley http://about.me/chriscowley --f9ftTxVVhuhji6w54xfnprOLajlHF2fRF-- --TMX05946b6Q58XFHvrNTLLmdel7Pug8uS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYOgE4AAoJEFE69jToO8koX3sH/2CxcSrojVS8HbcefGk8P6zW c+AUYbfRD6PMV0emiWbHyEJkZ45UzPWRZ1vMh9XG0cJjw7UBMdIF/5MkuaMrGNfu DVWb69iEma1fu0h9MtZ9G1318Xg1ArP4C5xcs+QAvAWcDPj+xVyTeHplMOhUhL5R GLqh/Nf6JGKKrsP4NvvlOtTZ+PM74FFrD3YOED6bdMDjVsnxwvbHx7HbKjq0yqzO Yb472Fh9u0G/PYHrB9zOWOUDrYTv9fI3/Z0pzv4RiiflvYWdXGeKhghLHOFusT0e 7jRfYs3saIUr3r19m7YfMxzxspnUI9noo6PzJvtbAPEvMUBdINwBMm0uILhUn90= =ZyIf -----END PGP SIGNATURE----- --TMX05946b6Q58XFHvrNTLLmdel7Pug8uS--

Guys, can you please check out Ansible integration work for those use cases: a base Auth/Vms/Disks modules were introduced with Ansible 2.2 - https://docs.ansible.com/ansible/ovirt_vms_module.html https://docs.ansible.com/ansible/ovirt_disks_module.html https://docs.ansible.com/ansible/ovirt_auth_module.html https://github.com/ansible/ansible-modules-extras/tree/stable-2.2/cloud/ovir... with many improvements coming soon with Ansible 2.3: https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovirt https://github.com/ansible/ansible-modules-extras/pulls?utf8=%E2%9C%93&q=is%3Apr%20is%3Aopen%20ovirt it sounds like that for this use case, Ansible modules should be a great answer. Moran. On Sat, Nov 26, 2016 at 11:40 PM, Chris Cowley <chris@chriscowley.me.uk> wrote:
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --W8wBAgVq7stw0c5fv9sNKcKWcojdm7pVh Content-Type: multipart/mixed; boundary="4SjrB35Hhkm1G3Kq0lgkXGsG2HdQv3drL"; protected-headers="v1" From: Chris Cowley <chris@chriscowley.me.uk> To: Moran Goldboim <mgoldboi@redhat.com> Cc: Derek Atkins <derek@ihtfp.com>, users@ovirt.org Message-ID: <3d4ba2bf-c804-8f08-4d9e-f22e3826f285@chriscowley.me.uk> Subject: Re: [ovirt-users] I wrote an oVirt thing References: <a27fa272-159e-2347-1874-a757a8414f55@chriscowley.me.uk> <3c7ac2794ffc360306f50968934e4960.squirrel@mail2.ihtfp.org> <2894bec3-bf49-1ac8-55dc-fc7a11f9d03b@chriscowley.me.uk> <CANmG9285cfuvrm8ecSEPXNOEjU-wz=7x0GCU=ADuGNN2T1ypdg@mail.gmail.com> In-Reply-To: <CANmG9285cfuvrm8ecSEPXNOEjU-wz=7x0GCU=ADuGNN2T1ypdg@mail.gmail.com> --4SjrB35Hhkm1G3Kq0lgkXGsG2HdQv3drL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Don't see what Ansible has to do with this. In any case, I do not actually like Ansible. It is not a tool that follows my logic, nor do I like that it always seems to nudging me towards Ansible Tower. I wanted a simple CLI that I can use to scratch my own personal itch and thought I would share it with you guys. On 27/11/16 10:07, Moran Goldboim wrote:
Guys, can you please check out Ansible integration work for those use c= ases: a base Auth/Vms/Disks modules were introduced with Ansible 2.2 - https://docs.ansible.com/ansible/ovirt_vms_module.html https://docs.ansible.com/ansible/ovirt_disks_module.html https://docs.ansible.com/ansible/ovirt_auth_module.html https://github.com/ansible/ansible-modules-extras/tree/stable-2.2/cloud= /ovirt =20 with many improvements coming soon with Ansible 2.3: https://github.com/ansible/ansible-modules-extras/tree/devel/cloud/ovir= t https://github.com/ansible/ansible-modules-extras/pulls?utf8=3D%E2%9C%9= 3&q=3Dis%3Apr%20is%3Aopen%20ovirt =20 it sounds like that for this use case, Ansible modules should be a grea= t answer. =20 Moran. =20 On Sat, Nov 26, 2016 at 11:40 PM, Chris Cowley <chris@chriscowley.me.uk=
<mailto:chris@chriscowley.me.uk>> wrote: =20 A few reasons really. I fancied playing around with Click, so I mad= e this as I was also digging around the oVirt API. My workstation at = work is running Ubuntu, and I do not believe that ovirt-shell is package= d for it. =20 Also, choice is good. =20 Finally: because I didn't think of it. =20 On 26/11/16 22:24, Derek Atkins wrote: > Hi Chris, > > Just a quick question, but, why not just use ovirt-shell? > Or make this a wrapper around ovirt-shell? > > -derek > > On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote: >> Hi all >> >> I started hacking together something last night to use as a CLI = to >> manage my oVirt clusters. >> >> https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage <https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage> >> >> Currently it can create/delete a VM, list the VMS, and I started= a >> function to show the details, but all that does for now is retur= n the ID. >> >> The plan is for it to evolve with my own needs, but I am open to=
>> ideas/PRs from the community. >> >> Disclaimer #1: I am a SysAdmin, not a developer. If you a proper=
>> developer, what you see may cause you physical pain. >> >> Disclaimer #2: My Gogs repo is behind my ADSL in rural France, b=
e
>> patient and I withold the right to not respect any sort of SLA :=
-)
>> >> >> -- >> Regards >> >> Chris Cowley >> http://about.me/chriscowley >> >> _______________________________________________ >> Users mailing list >> Users@ovirt.org <mailto:Users@ovirt.org> >> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users> >> > > =20 =20 -- Regards =20 Chris Cowley http://about.me/chriscowley =20 =20 _______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users> =20 =20
--=20 Regards Chris Cowley http://about.me/chriscowley --4SjrB35Hhkm1G3Kq0lgkXGsG2HdQv3drL-- --W8wBAgVq7stw0c5fv9sNKcKWcojdm7pVh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYOrGyAAoJEFE69jToO8koSzIH/1s+Gqu12f8hw8GD9Xuwvsxq fjCbQ7F0zMUV4J22D6v23oDUd4oKCfPSIDtUnoUv2i1wpHFYHGOc0AckyQiDv9u1 81BOcnZPL7483jbfNL2q/UORBwUGvpzSDCDPqL19T0Vqiz5PWMHBCsMjkdU2nWyO 6NFBjPqJ/Cj63sQGvnH/B9ltVNtBq006Fj5oUNpSbGxjLMfDtqwNGXdG9HLtbuqa Io8BiccbT4bBNd35z8yGngVutEFsRZj1H1alE1s8n2Br5c3xji6UTsZpVhGjCxtG 7BMX7xkJNxbrCTVjWqddRmAmeY2fWgUPiIxJYzuvJ2Klkg2k0HV74MPmCp/b2qA= =CrJz -----END PGP SIGNATURE----- --W8wBAgVq7stw0c5fv9sNKcKWcojdm7pVh--

This is a multi-part message in MIME format. --------------2E8E53A861D9F8BD65CC5CEF Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Le 26/11/2016 =E0 22:40, Chris Cowley a =E9crit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged fo= r it. sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the= ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--=20 Nathana=EBl Blanchet Supervision r=E9seau P=F4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=E9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr --------------2E8E53A861D9F8BD65CC5CEF Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <html> <head> <meta content=3D"text/html; charset=3Dwindows-1252" http-equiv=3D"Content-Type"> </head> <body text=3D"#000000" bgcolor=3D"#FFFFFF"> <p><br> </p> <br> <div class=3D"moz-cite-prefix">Le 26/11/2016 =E0 22:40, Chris Cowley = a =E9crit=A0:<br> </div> <blockquote cite=3D"mid:2894bec3-bf49-1ac8-55dc-fc7a11f9d03b@chriscowley.me.uk" type=3D"cite"> <pre wrap=3D"">A few reasons really. I fancied playing around with = Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for = it.</pre> </blockquote> sudo apt-get install -y python-pip <br> sudo pip install kitchen <br> sudo pip install ply <br> sudo pip install ovirt-shell <blockquote cite=3D"mid:2894bec3-bf49-1ac8-55dc-fc7a11f9d03b@chriscowley.me.uk" type=3D"cite"> <pre wrap=3D""> Also, choice is good. Finally: because I didn't think of it. On 26/11/16 22:24, Derek Atkins wrote: </pre> <blockquote type=3D"cite"> <pre wrap=3D"">Hi Chris, Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell? -derek On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote: </pre> <blockquote type=3D"cite"> <pre wrap=3D"">Hi all I started hacking together something last night to use as a CLI to manage my oVirt clusters. <a class=3D"moz-txt-link-freetext" href=3D"https://gogs.chriscowley.me.uk= /chriscowley/ovirtmanage">https://gogs.chriscowley.me.uk/chriscowley/ovir= tmanage</a> Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID. The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community. Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain. Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-) -- Regards Chris Cowley <a class=3D"moz-txt-link-freetext" href=3D"http://about.me/chriscowley">h= ttp://about.me/chriscowley</a> _______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org">Use= rs@ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/mailman= /listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <pre wrap=3D""> </pre> </blockquote> <pre wrap=3D""> </pre> <br> <fieldset class=3D"mimeAttachmentHeader"></fieldset> <br> <pre wrap=3D"">_______________________________________________ Users mailing list <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Users@ovirt.org">Use= rs@ovirt.org</a> <a class=3D"moz-txt-link-freetext" href=3D"http://lists.ovirt.org/mailman= /listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <pre class=3D"moz-signature" cols=3D"72">--=20 Nathana=EBl Blanchet Supervision r=E9seau P=F4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=E9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:blanchet@abes.fr">bl= anchet@abes.fr</a> </pre> </body> </html> --------------2E8E53A861D9F8BD65CC5CEF--

BTW, the ovirt-shell is something we deprecated. It is working on top of the v3 api, which we plan to remove in 4.2. So better not use it. Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ). Regards, Oved On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters. https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowleyhttp://about.me/chriscowley
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14blanchet@abes.fr
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

ovirt-shell will be deprecated and not supported or some functions on ovirt-shell (or all package ovirt-engine-cli)? We use ovirt-shell on client desktops who connected to SPICE consoles and work (users provided by LDAP on ovirt-engine), like via RDP. For this I wrote very fast-hack patch for ovirt-shell and GUI for enter password (https://github.com/k0ste/ovirt-pygtk). Very simple, but via Internet people use SPICE without negative about packet loss and disconnects, instead RDP.
BTW, the ovirt-shell is something we deprecated. It is working on top of the v3 api, which we plan to remove in 4.2. So better not use it.
You can start maintain. For example I maintain packes for Arch Linux: ovirt-engine-cli (https://aur.archlinux.org/packages/ovirt-engine-cli) and ovirt-engine-sdk-python (https://aur.archlinux.org/packages/ovirt-engine-sdk-python).
My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
-- Best regards, Konstantin Shalygin

On Tue, Nov 29, 2016 at 3:40 AM, Konstantin Shalygin <k0ste@k0ste.ru> wrote:
ovirt-shell will be deprecated and not supported or some functions on ovirt-shell (or all package ovirt-engine-cli)?
All of it will be removed once we remove V3 API (in 4.2)
We use ovirt-shell on client desktops who connected to SPICE consoles and work (users provided by LDAP on ovirt-engine), like via RDP. For this I wrote very fast-hack patch for ovirt-shell and GUI for enter password ( https://github.com/k0ste/ovirt-pygtk). Very simple, but via Internet people use SPICE without negative about packet loss and disconnects, instead RDP.
BTW, the ovirt-shell is something we deprecated. It is working on top of
the v3 api, which we plan to remove in 4.2. So better not use it.
You can start maintain. For example I maintain packes for Arch Linux: ovirt-engine-cli (https://aur.archlinux.org/packages/ovirt-engine-cli) and ovirt-engine-sdk-python (https://aur.archlinux.org/pac kages/ovirt-engine-sdk-python).
My workstation at work is running Ubuntu, and I do not believe that
ovirt-shell is packaged for it.
-- Best regards, Konstantin Shalygin
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Tue, Nov 29, 2016 at 3:40 AM, Konstantin Shalygin <k0ste@k0ste.ru> wrote:
ovirt-shell will be deprecated and not supported or some functions on ovirt-shell (or all package ovirt-engine-cli)?
We use ovirt-shell on client desktops who connected to SPICE consoles and work (users provided by LDAP on ovirt-engine), like via RDP. For this I wrote very fast-hack patch for ovirt-shell and GUI for enter password ( https://github.com/k0ste/ovirt-pygtk). Very simple, but via Internet people use SPICE without negative about packet loss and disconnects, instead RDP.
Can you further explain the use case? I assume the user portal is not good enough for some reason?
BTW, the ovirt-shell is something we deprecated. It is working on top of
the v3 api, which we plan to remove in 4.2. So better not use it.
You can start maintain. For example I maintain packes for Arch Linux: ovirt-engine-cli (https://aur.archlinux.org/packages/ovirt-engine-cli) and ovirt-engine-sdk-python (https://aur.archlinux.org/pac kages/ovirt-engine-sdk-python).
Hi, It somehow looks like a fork of the CLI (due to the added patch[1]). I'm not sure how happy I am about it, considering the patch is adding a feature with security issues (there is a reason we do not support password passed via the command line - it's somewhat less secure). Since you are already checking for the CLI rc file[2], just add the password to it and launch with it (in a temp file in the temp directory with the right permissions, etc...) BTW, note that the attempt to delete the password from memory[3] may or may not work. After all, it's a copy of what you got from entry.get_text() few lines before. And Python GC is not really to be relied upon to delete things ASAP anyway. There are some lovely discussions on the Internet about it. For example[4]. Y. [1] https://github.com/k0ste/ovirt-pygtk/blob/master/add_password_option.patch [2] https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L81 [3] https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L71 [4] http://stackoverflow.com/questions/728164/securely-erasing-password-in-memor...
My workstation at work is running Ubuntu, and I do not believe that
ovirt-shell is packaged for it.
-- Best regards, Konstantin Shalygin
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. --------------458056678CBCA60D9CBDE91D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Use case - Explain what is Virtual Machine to accountant or stockman - beyond my powers. But they understand what is Remote Desktop, and how to "Start menu->Programs->Remote Work->password->Enter". In this talk I like the fact that I learned about deprecation this packet and need to start wrote on another library instead call sub-process. About security reasons: is acceptable for our company. For who don't need this patch can easy disable it. This is not package[1], only playbook for build this. [1] https://wiki.archlinux.org/index.php/Arch_User_Repository On 11/29/2016 07:06 PM, Yaniv Kaul wrote:
On Tue, Nov 29, 2016 at 3:40 AM, Konstantin Shalygin <k0ste@k0ste.ru <mailto:k0ste@k0ste.ru>> wrote:
ovirt-shell will be deprecated and not supported or some functions on ovirt-shell (or all package ovirt-engine-cli)?
We use ovirt-shell on client desktops who connected to SPICE consoles and work (users provided by LDAP on ovirt-engine), like via RDP. For this I wrote very fast-hack patch for ovirt-shell and GUI for enter password (https://github.com/k0ste/ovirt-pygtk <https://github.com/k0ste/ovirt-pygtk>). Very simple, but via Internet people use SPICE without negative about packet loss and disconnects, instead RDP.
Can you further explain the use case? I assume the user portal is not good enough for some reason?
BTW, the ovirt-shell is something we deprecated. It is working on top of the v3 api, which we plan to remove in 4.2. So better not use it.
You can start maintain. For example I maintain packes for Arch Linux: ovirt-engine-cli (https://aur.archlinux.org/packages/ovirt-engine-cli <https://aur.archlinux.org/packages/ovirt-engine-cli>) and ovirt-engine-sdk-python (https://aur.archlinux.org/packages/ovirt-engine-sdk-python <https://aur.archlinux.org/packages/ovirt-engine-sdk-python>).
Hi,
It somehow looks like a fork of the CLI (due to the added patch[1]). I'm not sure how happy I am about it, considering the patch is adding a feature with security issues (there is a reason we do not support password passed via the command line - it's somewhat less secure). Since you are already checking for the CLI rc file[2], just add the password to it and launch with it (in a temp file in the temp directory with the right permissions, etc...)
BTW, note that the attempt to delete the password from memory[3] may or may not work. After all, it's a copy of what you got from entry.get_text() few lines before. And Python GC is not really to be relied upon to delete things ASAP anyway. There are some lovely discussions on the Internet about it. For example[4]. Y.
[1] https://github.com/k0ste/ovirt-pygtk/blob/master/add_password_option.patch [2] https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L81 [3] https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L71 [4] http://stackoverflow.com/questions/728164/securely-erasing-password-in-memor...
My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
-- Best regards, Konstantin Shalygin
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Best regards, Konstantin Shalygin --------------458056678CBCA60D9CBDE91D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p><font face="Fira Sans">Use case - </font><span id="result_box" class="short_text" tabindex="-1" lang="en"><span>Explain</span> <span>what is Virtual Machine to accountant or stockman</span> <span>-</span> <span class="">beyond my powers</span><span class="">. But they understand what is Remote Desktop, and how to "Start menu->Programs->Remote Work->password->Enter".</span></span></p> <p><br> <span id="result_box" class="" tabindex="-1" lang="en"><span>In this</span> <span>talk</span> <span>I like the fact</span> <span>that</span> <span>I learned</span> <span class="">about deprecation this packet and need to start wrote on another library instead call sub-process.</span></span></p> <p>About security reasons: is acceptable for our company. For who don't need this patch can easy disable it. This is not package[1], only playbook for build this.<br> <span id="result_box" class="" tabindex="-1" lang="en"><span class=""></span><span></span></span></p> <br> [1] <a href="https://wiki.archlinux.org/index.php/Arch_User_Repository">https://wiki.archlinux.org/index.php/Arch_User_Repository</a><br> <br> <div class="moz-cite-prefix">On 11/29/2016 07:06 PM, Yaniv Kaul wrote:<br> </div> <blockquote cite="mid:CAJgorsY_SksEnP2jQxBgdJyKW=4_qZZGZ=DwHQ13MteEN5jG5w@mail.gmail.com" type="cite"> <div dir="ltr"><br> <div class="gmail_extra"><br> <div class="gmail_quote">On Tue, Nov 29, 2016 at 3:40 AM, Konstantin Shalygin <span dir="ltr"><<a moz-do-not-send="true" href="mailto:k0ste@k0ste.ru" target="_blank">k0ste@k0ste.ru</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ovirt-shell will be deprecated and not supported or some functions on ovirt-shell (or all package ovirt-engine-cli)?<br> <br> We use ovirt-shell on client desktops who connected to SPICE consoles and work (users provided by LDAP on ovirt-engine), like via RDP. For this I wrote very fast-hack patch for ovirt-shell and GUI for enter password (<a moz-do-not-send="true" href="https://github.com/k0ste/ovirt-pygtk" rel="noreferrer" target="_blank">https://github.com/k0ste/ovir<wbr>t-pygtk</a>). Very simple, but via Internet people use SPICE without negative about packet loss and disconnects, instead RDP.</blockquote> <div><br> </div> <div>Can you further explain the use case? I assume the user portal is not good enough for some reason?</div> <div> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br> <br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> BTW, the ovirt-shell is something we deprecated. It is working on top of<br> the v3 api, which we plan to remove in 4.2.<br> So better not use it.<br> </blockquote> <br> <br> </span> You can start maintain. For example I maintain packes for Arch Linux: ovirt-engine-cli (<a moz-do-not-send="true" href="https://aur.archlinux.org/packages/ovirt-engine-cli" rel="noreferrer" target="_blank">https://aur.archlinux.org/pac<wbr>kages/ovirt-engine-cli</a>) and ovirt-engine-sdk-python (<a moz-do-not-send="true" href="https://aur.archlinux.org/packages/ovirt-engine-sdk-python" rel="noreferrer" target="_blank">https://aur.archlinux.org/pac<wbr>kages/ovirt-engine-sdk-python</a>)<wbr>.</blockquote> <div><br> </div> <div>Hi,</div> <div><br> </div> <div>It somehow looks like a fork of the CLI (due to the added patch[1]). </div> <div>I'm not sure how happy I am about it, considering the patch is adding a feature with security issues (there is a reason we do not support password passed via the command line - it's somewhat less secure).</div> <div>Since you are already checking for the CLI rc file[2], just add the password to it and launch with it (in a temp file in the temp directory with the right permissions, etc...)</div> <div><br> </div> <div>BTW, note that the attempt to delete the password from memory[3] may or may not work. After all, it's a copy of what you got from entry.get_text() few lines before.</div> <div>And Python GC is not really to be relied upon to delete things ASAP anyway. There are some lovely discussions on the Internet about it. For example[4].</div> <div>Y.</div> <div><br> </div> <div>[1] <a moz-do-not-send="true" href="https://github.com/k0ste/ovirt-pygtk/blob/master/add_password_option.patch">https://github.com/k0ste/ovirt-pygtk/blob/master/add_password_option.patch</a></div> <div>[2] <a moz-do-not-send="true" href="https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L81">https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L81</a></div> <div>[3] <a moz-do-not-send="true" href="https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L71">https://github.com/k0ste/ovirt-pygtk/blob/master/ovirt-pygtk.py#L71</a></div> <div>[4] <a moz-do-not-send="true" href="http://stackoverflow.com/questions/728164/securely-erasing-password-in-memory-python">http://stackoverflow.com/questions/728164/securely-erasing-password-in-memory-python</a></div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-im gmail-HOEnZb"><br> <br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.<br> </blockquote> <br> </span><span class="gmail-HOEnZb"><font color="#888888"> -- <br> Best regards,<br> Konstantin Shalygin</font></span> <div class="gmail-HOEnZb"> <div class="gmail-h5"><br> <br> <br> ______________________________<wbr>_________________<br> Users mailing list<br> <a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br> <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br> </div> </div> </blockquote> </div> <br> </div> </div> </blockquote> <br> <pre class="moz-signature" cols="72">-- Best regards, Konstantin Shalygin </pre> </body> </html> --------------458056678CBCA60D9CBDE91D--

Yaniv Kaul <ykaul@redhat.com> writes:
On Tue, Nov 29, 2016 at 3:40 AM, Konstantin Shalygin <k0ste@k0ste.ru> wrote:
ovirt-shell will be deprecated and not supported or some functions on ovirt-shell (or all package ovirt-engine-cli)?
We use ovirt-shell on client desktops who connected to SPICE consoles and work (users provided by LDAP on ovirt-engine), like via RDP. For this I wrote very fast-hack patch for ovirt-shell and GUI for enter password ( https://github.com/k0ste/ovirt-pygtk). Very simple, but via Internet people use SPICE without negative about packet loss and disconnects, instead RDP.
Can you further explain the use case? I assume the user portal is not good enough for some reason?
Use case: Auto-start VMs when my single-host ovirt system boots up. I have a script that I run out of rc.local on the ovirt-engine that uses ovirt-shell to: 1) Wait for the engine to be active 2) Wait for the host to mount the storage domains 3) Starts up all my VMs, in order This is the first I've heard that ovirt-shell is being deprectated. It would be a major shame is there is no command-line replacement.
BTW, the ovirt-shell is something we deprecated. It is working on top of the v3 api, which we plan to remove in 4.2. So better not use it.
You can start maintain. For example I maintain packes for Arch Linux: ovirt-engine-cli (https://aur.archlinux.org/packages/ovirt-engine-cli) and ovirt-engine-sdk-python (https://aur.archlinux.org/packages/ ovirt-engine-sdk-python).
-derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

------=_Part_1132159_513221533.1480427401401 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is this something that was officially announced and I've missed? This is th= e first time I'm hearing about the removal of the cli=20 Regards,=20 Logan=20 ----- On Nov 28, 2016, at 4:01 PM, Oved Ourfali <oourfali@redhat.com> wrote= :=20 | BTW, the ovirt-shell is something we deprecated. It is working on top of = the v3 | api, which we plan to remove in 4.2. | So better not use it. | Alternatives are to use the SDKs according to your preference (we have Ja= va, | python and Ruby SDKs) or the ansible modules mentioned above by Moran (in= stead | of writing scripts you can write playbooks to do various operations ). | Regards, | Oved | On Nov 28, 2016 13:02, "Nathana=C3=ABl Blanchet" < blanchet@abes.fr > wro= te: || Le 26/11/2016 =C3=A0 22:40, Chris Cowley a =C3=A9crit : ||| A few reasons really. I fancied playing around with Click, so I made ||| this as I was also digging around the oVirt API. My workstation at work ||| is running Ubuntu, and I do not believe that ovirt-shell is packaged fo= r it. || sudo apt-get install -y python-pip || sudo pip install kitchen || sudo pip install ply || sudo pip install ovirt-shell ||| Also, choice is good. ||| Finally: because I didn't think of it. ||| On 26/11/16 22:24, Derek Atkins wrote: |||| Hi Chris, |||| Just a quick question, but, why not just use ovirt-shell? |||| Or make this a wrapper around ovirt-shell? |||| -derek |||| On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote: ||||| Hi all ||||| I started hacking together something last night to use as a CLI to ||||| manage my oVirt clusters. https://gogs.chriscowley.me.uk/chriscowley/= ovirtmanage ||||| Currently it can create/delete a VM, list the VMS, and I started a ||||| function to show the details, but all that does for now is return the= ID. ||||| The plan is for it to evolve with my own needs, but I am open to ||||| ideas/PRs from the community. ||||| Disclaimer #1: I am a SysAdmin, not a developer. If you a proper ||||| developer, what you see may cause you physical pain. ||||| Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be ||||| patient and I withold the right to not respect any sort of SLA :-) ||||| -- ||||| Regards ||||| Chris Cowley http://about.me/chriscowley ||||| _______________________________________________ ||||| Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/lis= tinfo/users ||| _______________________________________________ ||| Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listi= nfo/users || -- || Nathana=C3=ABl Blanchet || Supervision r=C3=A9seau || P=C3=B4le Infrastrutures Informatiques || 227 avenue Professeur-Jean-Louis-Viala || 34193 MONTPELLIER CEDEX 5 || T=C3=A9l. 33 (0)4 67 54 84 55 || Fax 33 (0)4 67 54 84 14 blanchet@abes.fr || _______________________________________________ || Users mailing list || Users@ovirt.org || http://lists.ovirt.org/mailman/listinfo/users | _______________________________________________ | Users mailing list | Users@ovirt.org | http://lists.ovirt.org/mailman/listinfo/users ------=_Part_1132159_513221533.1480427401401 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: Arial; font-size: 12pt; color: #0000= 00"><div>Is this something that was officially announced and I've missed? &= nbsp;This is the first time I'm hearing about the removal of the cli</div><= div><br></div><div data-marker=3D"__SIG_PRE__">Regards,<br>Logan</div><br><= span id=3D"zwchr" data-marker=3D"__DIVIDER__">----- On Nov 28, 2016, at 4:0= 1 PM, Oved Ourfali <oourfali@redhat.com> wrote:<br></span><div data-m= arker=3D"__QUOTED_TEXT__"><blockquote style=3D"border-left:2px solid #1010F= F;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style= :normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-si= ze:12pt;"><p dir=3D"ltr">BTW, the ovirt-shell is something we deprecated. I= t is working on top of the v3 api, which we plan to remove in 4.2.<br> So better not use it. </p> <p dir=3D"ltr">Alternatives are to use the SDKs according to your preferenc= e (we have Java, python and Ruby SDKs) or the ansible modules mentioned abo= ve by Moran (instead of writing scripts you can write playbooks to do vario= us operations ). </p> <p dir=3D"ltr">Regards, <br> Oved <br> </p> <div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Nov 28, 2016 1= 3:02, "Nathana=C3=ABl Blanchet" <<a href=3D"mailto:blanchet@abes.fr" tar= get=3D"_blank">blanchet@abes.fr</a>> wrote:<br><blockquote class=3D"gmai= l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left= :1ex"> =20 =20 =20 <div> <p><br> </p> <br> <div class=3D"m_3491770720746119955moz-cite-prefix">Le 26/11/2016 =C3= =A0 22:40, Chris Cowley a =C3=A9crit :<br> </div> <blockquote> <pre>A few reasons really. I fancied playing around with Click, so I = made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it= .</pre> </blockquote> sudo apt-get install -y python-pip <br> sudo pip install kitchen <br> sudo pip install ply <br> sudo pip install ovirt-shell <blockquote> <pre>Also, choice is good. Finally: because I didn't think of it. On 26/11/16 22:24, Derek Atkins wrote: </pre> <blockquote> <pre>Hi Chris, Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell? -derek On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote: </pre> <blockquote> <pre>Hi all I started hacking together something last night to use as a CLI to manage my oVirt clusters. <a class=3D"m_3491770720746119955moz-txt-link-freetext" href=3D"https://gog= s.chriscowley.me.uk/chriscowley/ovirtmanage" target=3D"_blank">https://gogs= .chriscowley.me.uk/chriscowley/ovirtmanage</a> Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID. The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community. Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain. Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-) -- Regards Chris Cowley <a class=3D"m_3491770720746119955moz-txt-link-freetext" href=3D"http://abou= t.me/chriscowley" target=3D"_blank">http://about.me/chriscowley</a> _______________________________________________ Users mailing list <a class=3D"m_3491770720746119955moz-txt-link-abbreviated" href=3D"mailto:U= sers@ovirt.org" target=3D"_blank">Users@ovirt.org</a> <a class=3D"m_3491770720746119955moz-txt-link-freetext" href=3D"http://list= s.ovirt.org/mailman/listinfo/users" target=3D"_blank">http://lists.ovirt.or= g/mailman/listinfo/users</a> </pre> </blockquote> <pre></pre> </blockquote> <pre></pre> <br> <fieldset class=3D"m_3491770720746119955mimeAttachmentHeader"></field= set> <br> <pre>_______________________________________________ Users mailing list <a class=3D"m_3491770720746119955moz-txt-link-abbreviated" href=3D"mailto:U= sers@ovirt.org" target=3D"_blank">Users@ovirt.org</a> <a class=3D"m_3491770720746119955moz-txt-link-freetext" href=3D"http://list= s.ovirt.org/mailman/listinfo/users" target=3D"_blank">http://lists.ovirt.or= g/mailman/listinfo/users</a> </pre> </blockquote> <br> <pre class=3D"m_3491770720746119955moz-signature">--=20 Nathana=C3=ABl Blanchet Supervision r=C3=A9seau P=C3=B4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=C3=A9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class=3D"m_3491770720746119955moz-txt-link-abbreviated" href=3D"mailto:b= lanchet@abes.fr" target=3D"_blank">blanchet@abes.fr</a> </pre> </div> <br>_______________________________________________<br> Users mailing list<br> <a href=3D"mailto:Users@ovirt.org" target=3D"_blank">Users@ovirt.org</a><br=
<a href=3D"http://lists.ovirt.org/mailman/listinfo/users" rel=3D"noreferrer= " target=3D"_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> <br></blockquote></div></div> <br>_______________________________________________<br>Users mailing list<b= r>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blo= ckquote></div></div></body></html> ------=_Part_1132159_513221533.1480427401401--

On Mon, Nov 28, 2016 at 11:01 PM, Oved Ourfali <oourfali@redhat.com> wrote:
BTW, the ovirt-shell is something we deprecated.
Can you please point me to the deprecation bug for it? I can't see it here: https://bugzilla.redhat.com/buglist.cgi?quicksearch=ovirt-shell
It is working on top of the v3 api, which we plan to remove in 4.2.
Haven't seen a deprecation bug for this as well in https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%2... If we want people to know about it we need to publish it somehow and for the way we build release notes we need deprecation bugs for it to be published.
So better not use it.
Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ).
Regards, Oved
On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters. https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowleyhttp://about.me/chriscowley
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14blanchet@abes.fr
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

On 11/29/2016 03:19 PM, Sandro Bonazzola wrote:
On Mon, Nov 28, 2016 at 11:01 PM, Oved Ourfali <oourfali@redhat.com <mailto:oourfali@redhat.com>> wrote:
BTW, the ovirt-shell is something we deprecated.
Can you please point me to the deprecation bug for it? I can't see it here: https://bugzilla.redhat.com/buglist.cgi?quicksearch=ovirt-shell
It is working on top of the v3 api, which we plan to remove in 4.2.
Haven't seen a deprecation bug for this as well in https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%2...
If we want people to know about it we need to publish it somehow and for the way we build release notes we need deprecation bugs for it to be published.
There were no such bugs. I have just created them: Deprecate version 3 of the API https://bugzilla.redhat.com/1399724 Deprecate version 3 of the Python SDK https://bugzilla.redhat.com/1399714 Deprecate version 3 of the Java SDK https://bugzilla.redhat.com/1399717 Deprecate the ovirt-shell tool https://bugzilla.redhat.com/1399709
So better not use it.
Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ).
Regards, Oved
On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr <mailto:blanchet@abes.fr>> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage <https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage>
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr <mailto:blanchet@abes.fr>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com <http://redhat.com>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

Juan, you can't say something was deprecated since 4.0 in a bug that is created close to feature freeze of 4.1. Neither SDK nor RESTv3 are considered deprecated in 4.0, period. Internal plans do not count if nobody knows about them. Martin On Tue, Nov 29, 2016 at 4:51 PM, Juan Hernández <jhernand@redhat.com> wrote:
On 11/29/2016 03:19 PM, Sandro Bonazzola wrote:
On Mon, Nov 28, 2016 at 11:01 PM, Oved Ourfali <oourfali@redhat.com <mailto:oourfali@redhat.com>> wrote:
BTW, the ovirt-shell is something we deprecated.
Can you please point me to the deprecation bug for it? I can't see it here: https://bugzilla.redhat.com/buglist.cgi?quicksearch=ovirt-shell
It is working on top of the v3 api, which we plan to remove in 4.2.
Haven't seen a deprecation bug for this as well in https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%2...
If we want people to know about it we need to publish it somehow and for the way we build release notes we need deprecation bugs for it to be published.
There were no such bugs. I have just created them:
Deprecate version 3 of the API https://bugzilla.redhat.com/1399724
Deprecate version 3 of the Python SDK https://bugzilla.redhat.com/1399714
Deprecate version 3 of the Java SDK https://bugzilla.redhat.com/1399717
Deprecate the ovirt-shell tool https://bugzilla.redhat.com/1399709
So better not use it.
Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ).
Regards, Oved
On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr <mailto:blanchet@abes.fr>> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage <https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage>
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr <mailto:blanchet@abes.fr>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com <http://redhat.com>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 11/29/2016 05:02 PM, Martin Sivak wrote:
Juan, you can't say something was deprecated since 4.0 in a bug that is created close to feature freeze of 4.1. Neither SDK nor RESTv3 are considered deprecated in 4.0, period. Internal plans do not count if nobody knows about them.
Yes, I can say it, because I have been telling everybody to avoid using version 3 of the API, version 3 of the SDKs and the CLI. That is the meaning of "deprecate", according to the dictionary.
On Tue, Nov 29, 2016 at 4:51 PM, Juan Hernández <jhernand@redhat.com> wrote:
On 11/29/2016 03:19 PM, Sandro Bonazzola wrote:
On Mon, Nov 28, 2016 at 11:01 PM, Oved Ourfali <oourfali@redhat.com <mailto:oourfali@redhat.com>> wrote:
BTW, the ovirt-shell is something we deprecated.
Can you please point me to the deprecation bug for it? I can't see it here: https://bugzilla.redhat.com/buglist.cgi?quicksearch=ovirt-shell
It is working on top of the v3 api, which we plan to remove in 4.2.
Haven't seen a deprecation bug for this as well in https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%2...
If we want people to know about it we need to publish it somehow and for the way we build release notes we need deprecation bugs for it to be published.
There were no such bugs. I have just created them:
Deprecate version 3 of the API https://bugzilla.redhat.com/1399724
Deprecate version 3 of the Python SDK https://bugzilla.redhat.com/1399714
Deprecate version 3 of the Java SDK https://bugzilla.redhat.com/1399717
Deprecate the ovirt-shell tool https://bugzilla.redhat.com/1399709
So better not use it.
Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ).
Regards, Oved
On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr <mailto:blanchet@abes.fr>> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage <https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage>
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr <mailto:blanchet@abes.fr>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com <http://redhat.com>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

Martin Sivak <msivak@redhat.com> writes:
Juan, you can't say something was deprecated since 4.0 in a bug that is created close to feature freeze of 4.1. Neither SDK nor RESTv3 are considered deprecated in 4.0, period. Internal plans do not count if nobody knows about them.
I guess we've always been at war with Eurasia? ;)
Martin
-derek -- Derek Atkins 617-623-3745 derek@ihtfp.com www.ihtfp.com Computer and Internet Security Consultant

On 11/29/2016 04:51 PM, Juan Hernández wrote:
On 11/29/2016 03:19 PM, Sandro Bonazzola wrote:
On Mon, Nov 28, 2016 at 11:01 PM, Oved Ourfali <oourfali@redhat.com <mailto:oourfali@redhat.com>> wrote:
BTW, the ovirt-shell is something we deprecated.
Can you please point me to the deprecation bug for it? I can't see it here: https://bugzilla.redhat.com/buglist.cgi?quicksearch=ovirt-shell
It is working on top of the v3 api, which we plan to remove in 4.2.
Haven't seen a deprecation bug for this as well in https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%2...
If we want people to know about it we need to publish it somehow and for the way we build release notes we need deprecation bugs for it to be published.
There were no such bugs. I have just created them:
Deprecate version 3 of the API https://bugzilla.redhat.com/1399724
This ^ bug had an important typo in the description that Martin Sivak pointed out. I have closed it and replaced with this one, which is hopefully more correct: Deprecate version 3 of the API https://bugzilla.redhat.com/1399750
Deprecate version 3 of the Python SDK https://bugzilla.redhat.com/1399714
Deprecate version 3 of the Java SDK https://bugzilla.redhat.com/1399717
Deprecate the ovirt-shell tool https://bugzilla.redhat.com/1399709
So better not use it.
Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ).
Regards, Oved
On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr <mailto:blanchet@abes.fr>> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage <https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage>
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr <mailto:blanchet@abes.fr>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com <http://redhat.com>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.

Hi, I understand that ovirt-shell is deprecated, but I need it for the moment. I've just done a pip install upgrade ovirt-engine-sdk-python on my ubuntu laptop and now ovirt-shell is totally broken, saying : ImportError: No module named ovirtsdk.xml. Can I go back to the previous SDK? How can I fix it? Thanks. Le 29/11/2016 à 17:19, Juan Hernández a écrit :
On 11/29/2016 04:51 PM, Juan Hernández wrote:
On 11/29/2016 03:19 PM, Sandro Bonazzola wrote:
On Mon, Nov 28, 2016 at 11:01 PM, Oved Ourfali <oourfali@redhat.com <mailto:oourfali@redhat.com>> wrote:
BTW, the ovirt-shell is something we deprecated.
Can you please point me to the deprecation bug for it? I can't see it here: https://bugzilla.redhat.com/buglist.cgi?quicksearch=ovirt-shell
It is working on top of the v3 api, which we plan to remove in 4.2.
Haven't seen a deprecation bug for this as well in https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%2...
If we want people to know about it we need to publish it somehow and for the way we build release notes we need deprecation bugs for it to be published.
There were no such bugs. I have just created them:
Deprecate version 3 of the API https://bugzilla.redhat.com/1399724
This ^ bug had an important typo in the description that Martin Sivak pointed out. I have closed it and replaced with this one, which is hopefully more correct:
Deprecate version 3 of the API https://bugzilla.redhat.com/1399750
Deprecate version 3 of the Python SDK https://bugzilla.redhat.com/1399714
Deprecate version 3 of the Java SDK https://bugzilla.redhat.com/1399717
Deprecate the ovirt-shell tool https://bugzilla.redhat.com/1399709
So better not use it.
Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ).
Regards, Oved
On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr <mailto:blanchet@abes.fr>> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage <https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage>
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr <mailto:blanchet@abes.fr>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com <http://redhat.com>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Nathanaël Blanchet Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr

On 12/28/2016 06:47 PM, Nathanaël Blanchet wrote:
Hi,
I understand that ovirt-shell is deprecated, but I need it for the moment.
I've just done a pip install upgrade ovirt-engine-sdk-python on my ubuntu laptop and now ovirt-shell is totally broken, saying : ImportError: No module named ovirtsdk.xml.
Can I go back to the previous SDK? How can I fix it?
Thanks.
The CLI depends completely on version 3 of the SDK, and it won't work with version 4. You need to explicitly install version 3 of the SDK: pip install ovirt-engine-sdk-python==3.6.9.2
Le 29/11/2016 à 17:19, Juan Hernández a écrit :
On 11/29/2016 04:51 PM, Juan Hernández wrote:
On 11/29/2016 03:19 PM, Sandro Bonazzola wrote:
On Mon, Nov 28, 2016 at 11:01 PM, Oved Ourfali <oourfali@redhat.com <mailto:oourfali@redhat.com>> wrote:
BTW, the ovirt-shell is something we deprecated.
Can you please point me to the deprecation bug for it? I can't see it here: https://bugzilla.redhat.com/buglist.cgi?quicksearch=ovirt-shell
It is working on top of the v3 api, which we plan to remove in 4.2.
Haven't seen a deprecation bug for this as well in https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%2...
If we want people to know about it we need to publish it somehow and for the way we build release notes we need deprecation bugs for it to be published.
There were no such bugs. I have just created them:
Deprecate version 3 of the API https://bugzilla.redhat.com/1399724
This ^ bug had an important typo in the description that Martin Sivak pointed out. I have closed it and replaced with this one, which is hopefully more correct:
Deprecate version 3 of the API https://bugzilla.redhat.com/1399750
Deprecate version 3 of the Python SDK https://bugzilla.redhat.com/1399714
Deprecate version 3 of the Java SDK https://bugzilla.redhat.com/1399717
Deprecate the ovirt-shell tool https://bugzilla.redhat.com/1399709
So better not use it.
Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ).
Regards, Oved
On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr <mailto:blanchet@abes.fr>> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
A few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo apt-get install -y python-pip sudo pip install kitchen sudo pip install ply sudo pip install ovirt-shell
Also, choice is good.
Finally: because I didn't think of it.
On 26/11/16 22:24, Derek Atkins wrote:
Hi Chris,
Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell?
-derek
On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote: > Hi all > > I started hacking together something last night to use > as a CLI to > manage my oVirt clusters. > > https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage > <https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage> > > Currently it can create/delete a VM, list the VMS, and I > started a > function to show the details, but all that does for now > is return the ID. > > The plan is for it to evolve with my own needs, but I am > open to > ideas/PRs from the community. > > Disclaimer #1: I am a SysAdmin, not a developer. If you > a proper > developer, what you see may cause you physical pain. > > Disclaimer #2: My Gogs repo is behind my ADSL in rural > France, be > patient and I withold the right to not respect any sort > of SLA :-) > > > -- > Regards > > Chris Cowley > http://about.me/chriscowley > > _______________________________________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org> > http://lists.ovirt.org/mailman/listinfo/users > <http://lists.ovirt.org/mailman/listinfo/users> >
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr <mailto:blanchet@abes.fr>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com <http://redhat.com>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi, On Tue, Nov 29, 2016 at 1:01 AM, Oved Ourfali <oourfali@redhat.com> wrote:
BTW, the ovirt-shell is something we deprecated. It is working on top of the v3 api, which we plan to remove in 4.2. So better not use it.
Is there a plan to replace the shell with something similar? I see it frequently used by our users for both scripting and one-off tasks. Regards, -- *Ekin Meroğlu** Red Hat Certified Architect* linuxera Open Source Solutions and Services *T* +90 (850) 22 LINUX | *GSM* +90 (532) 137 77 04 www.linuxera.com | bilgi@linuxera.com

Hi,
On Tue, Nov 29, 2016 at 1:01 AM, Oved Ourfali <oourfali@redhat.com=20 <mailto:oourfali@redhat.com>>wrote:
BTW, the ovirt-shell is something we deprecated. It is working on top of the v3 api, which we plan to remove in 4.2. So better not use it.
=E2=80=8BIs there a plan to replace the shell with something similar? I= see it=20 frequently used by our users for both scripting and one-off tasks. +1, yes deleting an old v3 API ok, but why not adapting ovirt-shell to=20
This is a multi-part message in MIME format. --------------E9C38C1BF9902D3531959385 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Le 29/11/2016 =C3=A0 21:09, Ekin Mero=C4=9Flu a =C3=A9crit : the new v4 API? I use ovirt-shell every day, often to replace the slow=20 webadmin and to run some useful scripts. I'm not enough familiar with=20 python or java to write my own scripts, and I find ovirt-shell very=20 useful, easy and fast. We've been used to have ready-to-go CLI in almost=20 every opensource software as a simple way to manage, why not going on=20 with ovirt 4 if people do need it? Is cloud approach something to do=20 with that idea? Rational reason would be much appreciated.
Regards, --=20 *Ekin Mero=C4=9Flu*/ Red Hat Certified Architect/
linuxera =E2=80=8BOpen Source Solutions and Services
*T* +90 (850) 22 LINUX | *GSM* +90 (532) 137 77 04 www.linuxera.com <http://www.linuxera.com> | bilgi@linuxera.com=20 <mailto:bilgi@linuxera.com>
--=20 Nathana=C3=ABl Blanchet Supervision r=C3=A9seau P=C3=B4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=C3=A9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr --------------E9C38C1BF9902D3531959385 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html> <head> <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Ty= pe"> </head> <body text=3D"#000000" bgcolor=3D"#FFFFFF"> <p><br> </p> <br> <div class=3D"moz-cite-prefix">Le 29/11/2016 =C3=A0 21:09, Ekin Mero=C4= =9Flu a =C3=A9crit=C2=A0:<br> </div> <blockquote cite=3D"mid:CAA0tEyNZhLR5M7kLMDnUFa_vr3gjOswOvi1-6Os497JNfbArTw@mail.gmai= l.com" type=3D"cite"> <div dir=3D"ltr"> <div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:small">Hi,</di= v> <div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:small"><br> </div> <div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:small"><span style=3D"font-family:arial,sans-serif">On Tue, Nov 29, 2016 a= t 1:01 AM, Oved Ourfali </span><span dir=3D"ltr" style=3D"font-family:arial,sans-serif"><<a moz-do-not-send=3D"true" href=3D"mailto:oourfali@redhat.com= " target=3D"_blank">oourfali@redhat.com</a>></span><span style=3D"font-family:arial,sans-serif"> wrote:</span><br> </div> <div class=3D"gmail_extra"> <div class=3D"gmail_quote"> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <p dir=3D"ltr">BTW, the ovirt-shell is something we deprecated. It is working on top of the v3 api, which we plan to remove in 4.2.<br> So better not use it.</p> </blockquote> </div> <div> <div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:small">=E2= =80=8BIs there a plan to replace the shell with something similar? I see it frequently used by our users for both scripting and one-off tasks.</div> </div> </div> </div> </blockquote> +1, yes deleting an old v3 API ok, but why not adapting ovirt-shell to the new v4 API? I use ovirt-shell every day, often to replace the slow webadmin and to run some useful scripts. I'm not enough familiar with python or java to write my own scripts, and I find ovirt-shell very useful, easy and fast. We've been used to have ready-to-go CLI in almost every opensource software as a simple way to manage, why not going on with ovirt 4 if people do need it? Is cloud approach something to do with that idea?<br> Rational reason would be much appreciated.<br> <blockquote cite=3D"mid:CAA0tEyNZhLR5M7kLMDnUFa_vr3gjOswOvi1-6Os497JNfbArTw@mail.gmai= l.com" type=3D"cite"> <div dir=3D"ltr"> <div class=3D"gmail_extra"> <div> <div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:small"><br=
Ekin Mero=C4=9Flu</strong><i style=3D"font-size:small"= =C2=A0Red Hat Certified Architect</= i><font size=3D"2">=C2=A0</font><= br> </font><font face=3D"arial, helvetica, sans-serif"><br> <font size=3D"2">linuxera <div class=3D"gmail_default"
T</strong><font size=3D"2">=C2=A0+90 (850= ) 22 LINUX=C2=A0|=C2=A0</font>= <strong style=3D"font-size:small"= GSM</strong><font size=3D"2">=C2=A0+90 (532= ) 137 77 04</font><br> <font size=3D"2"><a moz-do-not-send=3D"true= "
</div> <div class=3D"gmail_default" style=3D"font-family:tahoma,sans-serif;font-size:small">Reg= ards,</div> </div> -- <br> <div class=3D"gmail_signature" data-smartmail=3D"gmail_signatur= e"> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div> <div dir=3D"ltr"> <div dir=3D"ltr"> <div dir=3D"ltr"> <div dir=3D"ltr"> <div dir=3D"ltr"> <div style=3D"text-align:left"> <table style=3D"font-family:Ubuntu"> <tbody> <tr> <td><img moz-do-not-send=3D"true" src=3D"http://www.linuxera.= com/files/RH_CertifiedArchitect_CMYK_small.png"></td> <td valign=3D"top"><font face=3D"arial, helvetica, sans-serif"><strong style=3D"font-size:small"= style=3D"font-family:tahoma,sans-serif;font-size:small;display:inline">=E2= =80=8BOpen Source Solutions and Services</div> =C2=A0</font><br> <strong style=3D"font-size:small"= href=3D"http://www.linuxera.com" target=3D"_blank">www.linuxera.com</a> |= <a moz-do-not-send=3D"true= " href=3D"mailto:bilgi@linuxera.com" target=3D"_blank">bilgi@linuxera.com</= a></font></font></td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </blockquote> <br> <pre class=3D"moz-signature" cols=3D"72">--=20 Nathana=C3=ABl Blanchet Supervision r=C3=A9seau P=C3=B4le Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 =09 T=C3=A9l. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:blanchet@abes.fr">bl= anchet@abes.fr</a> </pre> </body> </html> --------------E9C38C1BF9902D3531959385--

On Wed, Nov 30, 2016 at 3:20 PM, Nathanaël Blanchet <blanchet@abes.fr> wrote:
Le 29/11/2016 à 21:09, Ekin Meroğlu a écrit :
Hi,
On Tue, Nov 29, 2016 at 1:01 AM, Oved Ourfali <oourfali@redhat.com> wrote:
BTW, the ovirt-shell is something we deprecated. It is working on top of the v3 api, which we plan to remove in 4.2. So better not use it.
Is there a plan to replace the shell with something similar? I see it frequently used by our users for both scripting and one-off tasks.
+1, yes deleting an old v3 API ok, but why not adapting ovirt-shell to the new v4 API? I use ovirt-shell every day, often to replace the slow webadmin and to run some useful scripts. I'm not enough familiar with python or java to write my own scripts, and I find ovirt-shell very useful, easy and fast. We've been used to have ready-to-go CLI in almost every opensource software as a simple way to manage, why not going on with ovirt 4 if people do need it? Is cloud approach something to do with that idea? Rational reason would be much appreciated.
There is no technical limitation, AFAIK. I've looked last night at ConfigShell[1] (and see example @ [2])], and it looks nice and simple (then again, all examples are simple at first). I'd be happy to see someone developing a CLI on top of the Python SDK using it. Perhaps we can write it down as a Google Summer Of Code project. Y. [1] https://github.com/open-iscsi/configshell-fb [2] https://github.com/open-iscsi/configshell-fb/blob/master/examples/myshell
Regards, -- *Ekin Meroğlu** Red Hat Certified Architect*
linuxera Open Source Solutions and Services
*T* +90 (850) 22 LINUX | *GSM* +90 (532) 137 77 04 www.linuxera.com | bilgi@linuxera.com
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14blanchet@abes.fr
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Looks like close to my own try : https://github.com/fbacchella/ovirtcmd
Le 26 nov. 2016 à 22:10, Chris Cowley <chris@chriscowley.me.uk> a écrit :
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Sun, Nov 27, 2016 at 12:54 PM, Fabrice Bacchella <fabrice.bacchella@orange.fr> wrote:
Looks like close to my own try :
Looks cool. But I think what we need is something like targetcli for ovirt. http://linux-iscsi.org/wiki/Targetcli#Display_the_object_tree With such tool we can see the ovirt setup as a file system tree: /ovirt/vms/vm-id /ovirt/storage/domain-id ... And be able to query and operate on the entities. Another crazy direction I discussed with Roy, is a fuse files system mapping ovirt setup to a file system - imagine: $ mount -t ovirtfs /ovirt $ ls /ovirt/vms vm-id-1 vm-id-2 ... $ cat /ovirt/vms/vm-ids/running 1 $ echo 0 > /ovirt/vms/vm-id/running
Le 26 nov. 2016 à 22:10, Chris Cowley <chris@chriscowley.me.uk> a écrit :
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

While I really like both ideas it is not a route I would PERSONALLY take. To me it seems logical that there should be parallels between oVirt and Openstack. After all, oVirt already integrates with Glance, Cinder and Neutron. Thus it is not unreasonable to suggest that any sort of CLI should take its inspiration from the Openstack CLI tools. Also, I am not sure that would scratch my personal itch - which even in its unbelievably primitive state, my tool does. Of course, this is FLOSS, so knock yourself out - the more the merrier. On 2016-11-27 15:00, Nir Soffer wrote:
On Sun, Nov 27, 2016 at 12:54 PM, Fabrice Bacchella <fabrice.bacchella@orange.fr> wrote:
Looks like close to my own try :
Looks cool.
But I think what we need is something like targetcli for ovirt. http://linux-iscsi.org/wiki/Targetcli#Display_the_object_tree
With such tool we can see the ovirt setup as a file system tree:
/ovirt/vms/vm-id /ovirt/storage/domain-id ...
And be able to query and operate on the entities.
Another crazy direction I discussed with Roy, is a fuse files system mapping ovirt setup to a file system - imagine:
$ mount -t ovirtfs /ovirt
$ ls /ovirt/vms vm-id-1 vm-id-2 ...
$ cat /ovirt/vms/vm-ids/running 1
$ echo 0 > /ovirt/vms/vm-id/running
Le 26 nov. 2016 à 22:10, Chris Cowley <chris@chriscowley.me.uk> a écrit :
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Regards Chris Cowley http://about.me/chriscowley

On Sun, Nov 27, 2016 at 4:00 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Sun, Nov 27, 2016 at 12:54 PM, Fabrice Bacchella <fabrice.bacchella@orange.fr> wrote:
Looks like close to my own try :
Looks cool.
But I think what we need is something like targetcli for ovirt. http://linux-iscsi.org/wiki/Targetcli#Display_the_object_tree
With such tool we can see the ovirt setup as a file system tree:
/ovirt/vms/vm-id /ovirt/storage/domain-id ...
And be able to query and operate on the entities.
I believe it is built on top of https://github.com/Datera/configshell (or its fork - https://github.com/open-iscsi/configshell-fb) Y.
Another crazy direction I discussed with Roy, is a fuse files system mapping ovirt setup to a file system - imagine:
$ mount -t ovirtfs /ovirt
$ ls /ovirt/vms vm-id-1 vm-id-2 ...
$ cat /ovirt/vms/vm-ids/running 1
$ echo 0 > /ovirt/vms/vm-id/running
Le 26 nov. 2016 à 22:10, Chris Cowley <chris@chriscowley.me.uk> a
écrit :
Hi all
I started hacking together something last night to use as a CLI to manage my oVirt clusters.
https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage
Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the
ID.
The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community.
Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain.
Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-)
-- Regards
Chris Cowley http://about.me/chriscowley
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (14)
-
Chris Cowley
-
Derek Atkins
-
Ekin Meroğlu
-
Fabrice Bacchella
-
Juan Hernández
-
Konstantin Shalygin
-
Logan Kuhn
-
Martin Sivak
-
Moran Goldboim
-
Nathanaël Blanchet
-
Nir Soffer
-
Oved Ourfali
-
Sandro Bonazzola
-
Yaniv Kaul