IPA Server upgrade fails on F-16. The root cause is that LDAPUpdate is run before the LDAP server is started and the socket is created.
A possible solution would be to fix ipa-ldap-updater to fallback in this case and wait until the socket is available (with a timeout).
ipa-ldap-updater
# /usr/sbin/ipa-ldap-updater --upgrade Upgrading IPA: [1/8]: stopping directory server [2/8]: saving configuration [3/8]: disabling listeners [4/8]: starting directory server [5/8]: upgrading server ipa : ERROR Upgrade failed with Unable to connect to LDAP server ldapi://%2fvar%2frun%2fslapd-IDM-LAB-BOS-REDHAT-COM.socket [6/8]: stopping directory server [7/8]: restoring configuration [8/8]: starting directory server done configuring dirsrv.
attachment freeipa-mkosek-177-add-connection-failure-recovery-to-ipadmin.patch
Patch freeipa-mkosek-177-add-connection-failure-recovery-to-ipadmin.patch sent for review
master: 8526f65[[BR]] ipa-2-1: 859d28c
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 3.0 Core Effort - 2011/12
Login to comment on this ticket.