Bug 1623458
| Summary: | ovirt-engine-extension-aaa-ldap-setup generates incorrect config for LDAP setup using multiple servers with round robin request distribution | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Roman Hodain <rhodain> | |
| Component: | ovirt-engine-extension-aaa-ldap | Assignee: | Ondra Machacek <omachace> | |
| Status: | CLOSED ERRATA | QA Contact: | Petr Matyáš <pmatyas> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.1.11 | CC: | audgiri, lsurette, lsvaty, mgoldboi, mperina, Rhev-m-bugs | |
| Target Milestone: | ovirt-4.3.0 | Keywords: | ZStream | |
| Target Release: | --- | Flags: | pmatyas:
testing_plan_complete-
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ovirt-engine-extension-aaa-ldap-1.3.8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1635198 (view as bug list) | Environment: | ||
| Last Closed: | 2019-05-08 12:35:33 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1635198 | |||
Verified on ovirt-engine-extension-aaa-ldap-1.3.9-0.0.master.gitaeab284.el7.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:1072 |
Description of problem: ovirt-engine-extension-aaa-ldap-setup generates to following properties file /etc/ovirt-engine/aaa/ldap-profile.properties include = <rfc2307-openldap.properties> pool.authz.auth.type = none pool.default.serverset.type = round-robin pool.default.serverset.round-robin.00.server = ldap01.example.com pool.default.serverset.round-robin.00.server = 636 pool.default.serverset.round-robin.01.server = ldap02.example.com pool.default.serverset.round-robin.01.server = 636 pool.default.serverset.round-robin.02.server = ldap03.example.com pool.default.serverset.round-robin.02.server = 636 pool.default.ssl.enable = true pool.default.ssl.insecure = true This is incorrect as the server is then set to 636 instead of the DNS record. Version-Release number of selected component (if applicable): ovirt-engine-extension-aaa-ldap-setup-1.3.7-1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. LDAP implementations: 8 (OpenLDAP RFC-2307 Schema) 2. Use DNS (Yes, No) [Yes]: Yes 3. Available policy method: 3 (Round-robin between multiple hosts) 4. Please enter space separated list of hosts: ldap01.example.com ldap02.example.com ldap03.example.com Actual results: Provided properties file Expected results: pool.default.serverset.round-robin.00.port = 636 pool.default.serverset.round-robin.01.port = 636 pool.default.serverset.round-robin.02.port = 636 Additional info: