Bug 2112243 - dogtag uses deprecated constant ldap.OPT_X_TLS which breaks in rawhide with python-ldap 3.4.1
Summary: dogtag uses deprecated constant ldap.OPT_X_TLS which breaks in rawhide with p...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dogtag-pki
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Matthew Harmsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-29 06:52 UTC by Alexander Bokovoy
Modified: 2022-08-08 12:15 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-08 12:15:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dogtagpki pki issues 4081 0 None closed Dogtag uses deprecated/removed python-ldap constants 2022-07-29 09:20:25 UTC
Github dogtagpki pki pull 4082 0 None Merged Don't use deprecated python-ldap options 2022-07-29 09:20:28 UTC

Description Alexander Bokovoy 2022-07-29 06:52:12 UTC
python-ldap 3.4.1 removed a constant OPT_X_TLS which was deprecated in OpenLDAP some time ago. With https://bodhi.fedoraproject.org/updates/FEDORA-2022-fb02fe60bb update FreeIPA is not not installable in Rawhide because dogtag uses it:

 ./base/server/python/pki/server/deployment/__init__.py:            ldap.set_option(ldap.OPT_X_TLS, ldap.OPT_X_TLS_DEMAND)

This line should simply be removed.

Comment 1 Marco Fargetta 2022-07-29 09:22:16 UTC
This has been fixed upstream.

Comment 2 Florence Blanc-Renaud 2022-08-08 07:32:20 UTC
Our nightly tests [1] are now passing with dogtag-pki update to dogtag-pki-11.2.0-2.fc37 [2].

I'm not sure of the workflow followed by pki-dogtag component on rawhide, but from IPA standpoint the issue is fixed. Can you update the BZ status accordingly?

[1] http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/793e5828-1573-11ed-ae96-fa163ec89814/report.html
[2] https://bodhi.fedoraproject.org/updates/FEDORA-2022-94eb716c5c

Comment 3 Chris Kelley 2022-08-08 12:15:03 UTC
If your CI is green again then I will close, thanks!


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