Bug 697878

Summary: IPA server install should wait for Directory Server port to open after every restart of dirsrv
Product: Red Hat Enterprise Linux 6 Reporter: Namita Soman <nsoman>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: benl, dpal, jgalipea, mkosek, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.1.0-1.el6 Doc Type: Bug Fix
Doc Text:
Cause: The IPA server installation may fail with the error that it cannot contact the LDAP server. Consequence: The IPA server installation failed. Fix: Always wait for the 389-ds server to be fully started after a restart before continuing the installation. Result: The IPA server installation is successful.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 18:21:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Namita Soman 2011-04-19 14:41:24 UTC
Description of problem:
This is a continuation of the behaviour seen when verifying bug 688934. Based on Martin's Comment 9, opening this bug, to keep track of the rest of the cases that need to be addressed in the installer.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Martin Kosek 2011-04-19 15:20:29 UTC
Upstream ticket:

https://fedorahosted.org/freeipa/ticket/1182

Comment 5 Martin Kosek 2011-04-28 08:01:30 UTC
Upstream commits:
master: 98eefab5e15c4a01f0887c4c68cbe10b5cdaab84
ipa-2-0: 425e2fa31ff2f3346437b6d6e50225202652cafd

Comment 7 Rob Crittenden 2011-10-31 17:57:39 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: The IPA server installation may fail with the error that it cannot contact the LDAP server.
Consequence: The IPA server installation failed.
Fix: Always wait for the 389-ds server to be fully started after a restart before continuing the installation.
Result: The IPA server installation is successful.

Comment 8 Namita Soman 2011-11-04 19:22:42 UTC
Verified using ipa-server-2.1.3-8.el6.x86_64

edited /etc/init.d/dirsrv as suggested in bug 688934. saw the install hang, and fail as expected. Next install, after unblocking ports, install continued, and was successful.

Comment 9 errata-xmlrpc 2011-12-06 18:21:45 UTC
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.

http://rhn.redhat.com/errata/RHSA-2011-1533.html