Bug 2132734 - Missing reproducible steps how to setup slapd resource
Summary: Missing reproducible steps how to setup slapd resource
Keywords:
Status: MODIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: resource-agents
Version: 9.1
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Oyvind Albrigtsen
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-06 13:48 UTC by Simon Foucek
Modified: 2023-08-10 15:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-135856 0 None None None 2022-10-06 14:25:38 UTC

Description Simon Foucek 2022-10-06 13:48:06 UTC
Description of problem:
I'm trying to set up ocf:heartbeat:slapd resource agent, but I can't find information about it at all. Tutorials for setup are really old, and the resource agent throws error when I try to run him. I found only this example command and it fails:

 https://www.mankier.com/7/ocf_heartbeat_slapd  
>Failed Resource Actions:
>  * p_slapd_start_0 on virt-488 'error' (1): call=36, status='complete', >exitreason='slapd returned error.', last-rc-change='Thu Oct  6 15:32:11 2022', ?>queued=0ms, exec=109ms

Can you verify that this resource agent is still viable in new RHEL versions and if there are described reproducible steps on how to set it up?



How reproducible:
Set up HA cluster, install all packages, and try to create slapd resource.

Steps to Reproduce:
1.yum install -y openldap*
2.yum install -y sendmail
3. pcs resource create p_slapd ocf:heartbeat:slapd   op monitor OCF_CHECK_LEVEL="0" timeout="20s" interval="60s"

Actual results:
>  * p_slapd_start_0 on virt-488 'error' (1): call=36, status='complete', >exitreason='slapd returned error.', last-rc-change='Thu Oct  6 15:32:11 2022', ?>queued=0ms, exec=109ms


Expected results:
Users can set up slapd resource agent successfully.

Comment 1 Oyvind Albrigtsen 2022-10-06 14:41:09 UTC
Seems like we dont provide openldap-servers anymore.

You can get it with EPEL on RHEL9: https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/o/

Comment 2 Simon Foucek 2022-10-17 09:33:53 UTC
So do I understand correctly that we don't support this resource agent officially anymore, and there is no tutorial on how to set it up?

Comment 3 Chris Feist 2022-10-17 15:22:02 UTC
Simon,

My understanding is that RHEL doesn't support slapd anymore (that's an EPEL only package), so we wouldn't provide any official support for configuration of slapd/openldap.


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