#3157 Inform user when ipa-upgradeconfig reports errors
Closed: Fixed None Opened 11 years ago by mkosek.

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:

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.


Add comment on how to reproduce.

Patch freeipa-mkosek-323-report-ipa-upgradeconfig-errors-during-rpm-upgrade.patch sent for review

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.0.1 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata