All ipa-server-install runs contain errors printed during LDAP updates:
# ipa-server-install ... [14/14]: configuring httpd to start on boot done configuring httpd. Applying LDAP updates ipa : ERROR Add failure 'NoneType' object is not callable ipa : ERROR Add failure 'NoneType' object is not callable Restarting the directory server Restarting the KDC ...
This is not very user friendly, we should remove those.
attachment freeipa-mkosek-259-remove-ipa-server-install-ldap-update-errors.patch
Patch freeipa-mkosek-259-remove-ipa-server-install-ldap-update-errors.patch sent for review
To test, just install a fresh new IPA server or update an IPA server without NIS enabled to see the reported error.
With the patch, instead of the reported errors, you will find the following logs in /var/log/ipaserver-install.log (for server installs) or /var/log/ipaupgrade.log for LDAP upgrades:
/var/log/ipaserver-install.log
/var/log/ipaupgrade.log
2012-05-10T08:55:59Z INFO Parent DN cn=NIS Server,cn=plugins,cn=config does not exist, cannot create the entry
Can also be tested with an update like:
dn: uid=newrecord,cn=notfound,cn=etc,$SUFFIX add: objectClass: account add: uid: newrecord
master: aa9ea47
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 3.0 Core Effort - 2012/05
Login to comment on this ticket.