Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2132734

Summary: Missing reproducible steps how to setup slapd resource
Product: Red Hat Enterprise Linux 9 Reporter: Simon Foucek <sfoucek>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED NOTABUG QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: agk, cfeist, cluster-maint, fdinitto
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-27 16:28:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.

Comment 5 Chris Feist 2023-11-27 16:28:00 UTC
Closing as slapd is not supported in RHEL