When running ipa-ca-install to install a CA replica, if the installation fails it says:
Your system may be partly configured. Run /usr/sbin/ipa-server-install --uninstall to clean up. Unexpected error - see /var/log/ipareplica-ca-install.log for details:
However, the actual log file was /var/log/ipaserver-ca-install.log.
/var/log/ipaserver-ca-install.log
Expected behaviour: progress is logged to /var/log/ipareplica-ca-install.log as suggested by the error message.
/var/log/ipareplica-ca-install.log
Some info, log name and log file mismatch for running on master was introduced in commit d27e77adc56f5a04f3bdd1aaed5440a89ed3acad (4.1) the issue was then extended also to replica promotion in 958996b9cc55b6e9ecdc23981e79599ec6826b4c (4.3)
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1358849
master:
Test coverage: no - Logging needs to be handled properly and will be refactored, otherwise this is low prio.
Metadata Update from @ftweedal: - Issue assigned to pvoborni - Issue set to the milestone: FreeIPA 4.4.1