[node-devel] RFE: Plugin validation after minimizing

Joey Boggs jboggs at redhat.com
Tue Nov 20 19:18:16 UTC 2012


On 11/20/2012 08:21 AM, Joey Boggs wrote:
> On 11/20/2012 05:58 AM, Charles_Rose at Dell.com wrote:
>> 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?
>>
> What directories are those files located under that would trigger the 
> failure? The current list of valid locations was just a first pass at 
> it and we can alter that list based on feedback.

You can also use --install which is unrestricted on what can be installed



More information about the node-devel mailing list