Red Hat Bugzilla – Bug 981282
[RFE] [engine-backend] adding new hooks to host cluster should be done by engine and not by adding them host by host
Last modified: 2017-03-13 03:48:39 EDT
Description of problem:
As for now, adding new hooks process is being done by adding them to hooks directory /usr/libexec/vdsm/hooks/ on the host.
This process can be painful for user, in a case of large number of hosts (user has to go host by host and create his hook).
In order to optimize the process, I would recommend about delegating the process to engine.
The idea is that user would be able to add his new hooks using engine.
For example, creating a new sub tab under cluster main tab in UI, where user will be able to upload his scripts and there he also would be able to add the hosts he would like them to contain the new hook.
It seems that this becomes even more relevant when considering RHEV-H
These days, I'd suggest using Ansible to do this - closing for the time being.