ipa-upgradeconfig may report errors when some part of the configuration upgrade process fails. However, the errors are not reported to user even though they may be important and user should follow on and investigate. Few examples of such error messages:
ipa-upgradeconfig
root_logger.error('Cannot enable serial_autoincrement in %s: %s', ... root_logger.error('Cannot move CRL files to new directory: %s', e)
We should enable stderr for ipa-upgradeconfig in our %post scriptlet, just like we did with ipa-ldap-updater. The error level log messages would be then also reported to the user at least during RPM update. We also need to make sure that there is an actual log file with output of ipa-upgradeconfig.
stderr
%post
ipa-ldap-updater
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=866977
Add comment on how to reproduce.
attachment freeipa-mkosek-323-report-ipa-upgradeconfig-errors-during-rpm-upgrade.patch
Patch freeipa-mkosek-323-report-ipa-upgradeconfig-errors-during-rpm-upgrade.patch sent for review
master: a5ec992
ipa-3-0: 3488770
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 3.0.1 (bug fixing)
Login to comment on this ticket.