Re: [ovirt-devel] API for executing commands on node?
On 03-06-2015 8:43, Sven Kieske wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03.06.2015 08:12, Christopher Pereira wrote: Thanks Oved, but I need to script and trigger the remote commands from a centralized script (not through the UI). In this case, I guess my best option would be to use SSH + keys. why don't you use something like saltstack, chef, ansible, or puppet? Thanks. SSH will do fine. I just wanted to use the host certificates already managed by Engine or some existing solution provided by VDSM. do you use ovirt-node based images or good old EL6/7 ? CentOS 7 nodes. ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Re: [ovirt-devel] API for executing commands on node?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03.06.2015 08:12, Christopher Pereira wrote: Thanks Oved, but I need to script and trigger the remote commands from a centralized script (not through the UI). In this case, I guess my best option would be to use SSH + keys. why don't you use something like saltstack, chef, ansible, or puppet? do you use ovirt-node based images or good old EL6/7 ? HTH Sven -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQGcBAEBCAAGBQJVbuhoAAoJEAq0kGAWDrqlJt4L/1qBkvlgmjTdkxiqu4bv3/y+ ebb6rjJQSHv6gq5BtU73HyvTe9ODuGVWIc7k5FW8beGRWoX3MawHmkDFaqJQxN17 9AGqcI/YDRoxxAA/lPZmM0yIBTVLD5Fr4ldyV4i2ghhs6R3WuyeiEnsWhVDYSRdF YtKX7COrBDfVZh9UOSz9BW98/2I3bxvoULNNjaht5v5imPb9vn7SmjPJrvPlQhwc izu0F7EJLU3rwGMfBz9PG5RUbzvlUDua4W66wB8pOlAsl/Tk6aRL0308o6AOThzP V5IlEFYdOdA28o9V1sjXB7/2jH3viCQhsL/UQw9SaqjEtuYPM9Wg61SJdawJdkn6 8kTCBxys35f7kSNmhQYV50pwOLhvPYmUQSrrRpH1iqOP2h8j3uHkaNUI5HokDIwm ljYfLU3Vcf43EmFh1S50IyIYW7NG7sMp6bKdXYdg+nlWKTAVpCubqguxVG75vfR3 PrNQnITgjkidG7XSwzK7kmtXm7rmIV6RkR2PzLBPMQ== =GhNn -END PGP SIGNATURE- ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Re: [ovirt-devel] API for executing commands on node?
On 03-06-2015 2:56, Oved Ourfali wrote: We don't have any API that allows that. However, if you want you can use the shell in a box UI plugin (see http://derezvir.blogspot.co.il/2013/01/ovirt-webadmin-shellinabox-ui-plugin.html). But it requires manually installing something on the host as well. It will allow you to connect to the host through the UI and run operations on it. Regards, Oved Thanks Oved, but I need to script and trigger the remote commands from a centralized script (not through the UI). In this case, I guess my best option would be to use SSH + keys. Thanks again. ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Re: [ovirt-devel] API for executing commands on node?
We don't have any API that allows that. However, if you want you can use the shell in a box UI plugin (see http://derezvir.blogspot.co.il/2013/01/ovirt-webadmin-shellinabox-ui-plugin.html). But it requires manually installing something on the host as well. It will allow you to connect to the host through the UI and run operations on it. Regards, Oved - Original Message - From: Christopher Pereira krip...@imatronix.cl To: devel@ovirt.org Sent: Wednesday, June 3, 2015 8:52:09 AM Subject: [ovirt-devel] API for executing commands on node? Hi, What is the best practice to run custom console commands on a given oVirt host? Do we have some API for this? I need to pass arguments to this remote commands/scripts. ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel