Bug 2010658

Summary: AAA LDAP extension is querying DNS with ANY request
Product: [oVirt] ovirt-engine-extension-aaa-ldap Reporter: Petr Kubica <pkubica>
Component: ExtensionAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: high Docs Contact:
Priority: high    
Version: 1.4.4CC: bugs
Target Milestone: ovirt-4.4.9Flags: mperina: ovirt-4.4+
gdeolive: testing_ack+
Target Release: 1.4.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-extension-aaa-ldap-1.4.5 Doc Type: Release Note
Doc Text:
ovirt-engine-extension-aaa-ldap has been using single request to fetch both A and AAAA records from DNS servers in mixed IPv4/IPv6 setups. Underlying JVM transformed this request to ANY DNS call, which has been recently deprecated by RFC 8482 and that why we haven't got valid addresses from some DNS servers. From version 1.4.5 ovirt-engine-extension-aaa-ldap is going to fetch A and AAAA records in separate DNS requests.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-20 07:49:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Kubica 2021-10-05 09:55:32 UTC
Description of problem:

[org.ovirt.engine.core.aaa.servlet.SsoPostLoginServlet] (default task-3) [] server_error: An error occurred while attempting to connect to server <ldap_fqdn>:389:  IOException(LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to establish a connection to server <ldap_fqdn>/<ldap_ip>:389:  UnknownHostException(<ldap_fqdn>), ldapSDKVersion=4.0.14, revision=b2272901fd62ad978017ff1aeb049cafc1999b12'))


Sending ANY request is deprecated in RFC8482
https://tools.ietf.org/html/rfc8482

more info at:
https://blog.cloudflare.com/rfc8482-saying-goodbye-to-any/


Version-Release number of selected component (if applicable):
ovirt-engine-extension-aaa-ldap-1.4.4-1.el8ev.noarch

How reproducible:
always

Steps to Reproduce:
1. have LDAP integration

Comment 1 Petr Kubica 2021-10-27 11:23:22 UTC
Verified in
ovirt-engine-extension-aaa-ldap-1.4.5-1.el8ev.noarch

Comment 2 Sandro Bonazzola 2021-11-20 07:49:09 UTC
This bugzilla is included in oVirt 4.4.9 release, published on October 20th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.9 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.