Bug 1284406 - [RFE] Add multiple-search paths for vdsm hooks
Summary: [RFE] Add multiple-search paths for vdsm hooks
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: vdsm
Classification: oVirt
Component: RFEs
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Yaniv Bronhaim
QA Contact: Aleksei Slaikovskii
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-23 09:28 UTC by Fabian Deutsch
Modified: 2022-06-30 13:01 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-22 14:51:42 UTC
oVirt Team: Infra
Embargoed:
sbonazzo: ovirt-4.1-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1279555 0 unspecified CLOSED Add drop-in dir for vdsm configuration file 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker RHV-46843 0 None None None 2022-06-30 13:01:28 UTC

Internal Links: 1279555

Description Fabian Deutsch 2015-11-23 09:28:58 UTC
Description of problem:
Currently vdsm is just looking in one directory for hooks.
To allow a better integration with Node (and other image based delivery models) it would be good if vdsm was looking in multiple locations for hooks.

i.e. the search order could be

1. /usr/libexec/vdsm/hooks/
2. /usr/lib/vdsm/hooks.d/  # See below, for vendor side (by default) enabled hooks
2. /etc/vdsm/hooks.d/  # For user enabled hooks


In addition it would be very useful, to separate the hook delivery from the hook enablement.
i.e. the hooks could be delivered in /usr/libexec/vdsm/hooks, but to enable them, a symlink needs to be placed into /usr/lib/vdsm/hooks.d/ or /etc/vdsm/hooks.d/.

Comment 1 Oved Ourfali 2016-01-27 06:35:02 UTC
Fabian - is that still relevant in next-gen node?

Comment 2 Fabian Deutsch 2016-01-27 11:12:05 UTC
Yes, it is _especially_ relevant for ngn.

Comment 3 Fabian Deutsch 2016-02-22 16:09:41 UTC
Any plans for this RFE?

Comment 4 Oved Ourfali 2016-02-24 11:24:08 UTC
(In reply to Fabian Deutsch from comment #3)
> Any plans for this RFE?

We will do our best to accomplish that in 4.0, but note that it might be pushed out eventually.

Comment 5 Yaniv Bronhaim 2016-11-22 14:51:42 UTC
Spoke with Fabian offline - there is no actual need for additional hook path folder right now. please re-open if the requirement is indeed needed


Note You need to log in before you can comment on or make changes to this bug.