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.
Cause: Running ds-replcheck with a invalid suffix
Consequence: The tool reports a very odd confusing error message
Fix: Properly check if the suffix exists
Result: The tools reports a useful error message when the suffix does not exist.
Description of problem:
seen at customer site, as first request to ldap database is the RUV, if the suffix provided in the command line does not exist or it's not replicated, we have an error message that it's regarding the RUV:
ds-replcheck -D "cn=directory manager" -w secret12 -b "o=ipaca" -r ldap://ipamaster.germanparente.local:389 -m ldap://ipareplica.germanparente.local
Performing online report...
Connecting to servers...
Gathering Master's RUV...
Error: Failed to get Master RUV entry: {'desc': 'No such object'}
Version-Release number of selected component (if applicable): 7.5
How reproducible: always
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Build Tested: 389-ds-base-1.3.9.1-5.el7.x86_64
Steps:
1) Create a replication between LDAP instances.
2) Run ds-replcheck -D "cn=directory manager" -w password -m ldap://aadhikar.example.com:39001 -r ldap://aadhikar.example.com:39002 -b "dc=test,dc=com"
where the suffix provided does not exist("dc=test,dc=com").
ds-replcheck script does not have the required changes, actual fix is not back-ported. Marking it as FAILED_QA.
Build Tested: 389-ds-base-1.3.9.1-6.el7.x86_64
Steps:
1) Create a replication between LDAP instances
2) Run ds-replcheck script with an incorrect suffix
[root@master ~]# ds-replcheck -D "cn=directory manager" -w password -m ldap://`hostname`:39001 -r ldap://`hostname`:39002 -b "dc=test,dc=com"
Performing online report...
Connecting to servers...
Validating suffix ...
Error: Failed to validate suffix in web9.testrelm.test. dc=test,dc=com does not exist.
Marking it as VERIFIED.
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/RHBA-2019:2152
Description of problem: seen at customer site, as first request to ldap database is the RUV, if the suffix provided in the command line does not exist or it's not replicated, we have an error message that it's regarding the RUV: ds-replcheck -D "cn=directory manager" -w secret12 -b "o=ipaca" -r ldap://ipamaster.germanparente.local:389 -m ldap://ipareplica.germanparente.local Performing online report... Connecting to servers... Gathering Master's RUV... Error: Failed to get Master RUV entry: {'desc': 'No such object'} Version-Release number of selected component (if applicable): 7.5 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: