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 1376723

Summary: IPA Replica installation fails on second replica machine
Product: Red Hat Enterprise Linux 7 Reporter: Abhijeet Kasurde <akasurde>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED WORKSFORME QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: akasurde, lkrispen, pvoborni, rcritten
Target Milestone: rcKeywords: Regression, TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-20 05:07:45 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:
Bug Depends On:    
Bug Blocks: 1366612    
Attachments:
Description Flags
ipamaster1.dirsrv.errors.log
none
ipa-replica-install.log
none
console logs tar.gz none

Description Abhijeet Kasurde 2016-09-16 09:14:07 UTC
Created attachment 1201574 [details]
ipamaster1.dirsrv.errors.log

Description of problem:
If user tries to install replica from an existing replica server then IPA replica installation fails with following error 

  [27/44]: retrieving DS Certificate
  [28/44]: restarting directory server
  [29/44]: setting up initial replication
Starting replication, please wait until this has completed.
Update in progress, 15 seconds elapsed
[ipareplica1.testrelm.test] reports: Update failed! Status: [-1  - LDAP error: Can't contact LDAP server]

  [error] RuntimeError: Failed to start replication
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.

ipa.ipapython.install.cli.install_tool(Replica): ERROR    Failed to start replication
ipa.ipapython.install.cli.install_tool(Replica): ERROR    The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information



Version-Release number of selected component (if applicable):
ipa-server-4.4.0-11.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install IPA server
2. Install IPA replica 1
3. Install IPA replica 2 using IPA replica 1 as master server

Actual results:
Installation fails with LDAP error

Expected results:
Installation should be successful.

Additional info:

Seen "Permission Denied" messages in Dirsrv Error log.

Comment 1 Abhijeet Kasurde 2016-09-16 09:14:26 UTC
Created attachment 1201575 [details]
ipa-replica-install.log

Comment 2 Petr Vobornik 2016-09-16 09:26:01 UTC
Could you attach also directory server error and access log from both master(replica 1) and replica(replica 2)?

Comment 4 Abhijeet Kasurde 2016-09-16 10:02:56 UTC
Created attachment 1201583 [details]
console logs tar.gz

Comment 6 Ludwig 2016-09-19 12:38:04 UTC
I just tried to reproduce with 
ipa-server.x86_64              4.4.0-12.el7

but it works fine. If you still can reproduce the failure, can you give the exact commands, with all options, you are using

Comment 8 Abhijeet Kasurde 2016-09-20 05:07:45 UTC
Unable to reproduce using IPA version :: 

ipa-server-4.4.0-12.el7.x86_64

Closing BZ as WORKSFORME