[node-devel] RFE: Plugin validation after minimizing
Charles_Rose at Dell.com
Charles_Rose at Dell.com
Tue Nov 20 10:58:01 UTC 2012
Hello,
We have an existing software developed for popular Linux distributions and satisfies some of the
requirements to be a node plug-in, like files present in /opt/<vendor>/<plugin>, etc.
There are some files present outside of /opt and that fails validation in
edit_node:_validate_installed_files. These files are not critical for the functionality of the
plugin and can be removed via /etc/ovirt-plugins.d/<plugin>.minimizer. But the minimizer runs
*after* _validate_installed_files. So the validation fails anyway.
The other way to address this might be with a separate set of packages that have the offending
files/directories cleaned up and plug-in-ready. We would very much like to avoid taking this route
for efficiency reasons.
We would like to have a mechanism that can remove files/directories that are non-critical for the
plug-in and *then* invoke _validate_installed_files. Since the minimizer would anyway remove some
files/directories, it seems like validating the installed files makes more sense after unwanted
files are removed, not before.
Any thoughts/comments?
--
Thanks,
Charles Rose
Linux Engineering
Dell Inc.
More information about the node-devel
mailing list