#2175 Server upgrade fails on F-16
Closed: Fixed None Opened 12 years ago by mkosek.

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).

# /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.

Patch freeipa-mkosek-177-add-connection-failure-recovery-to-ipadmin.patch sent for review

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.0 Core Effort - 2011/12

7 years ago

Login to comment on this ticket.

Metadata