mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Upgrade: log to ipaupgrade.log when IPA server is not installed
Message was printed only to stdout and leaves ipaupgrade.log without any record that ipa-server-upgrade failed because ipa server is not installed. Now error is passed to logger which prints meassage to stderr and ipaupgrade.log. Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
b3411dc985
commit
0ea7433d09
@ -1650,7 +1650,7 @@ def upgrade_check(options):
|
|||||||
try:
|
try:
|
||||||
installutils.check_server_configuration()
|
installutils.check_server_configuration()
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
print(unicode(e))
|
root_logger.error(e)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
if not options.skip_version_check:
|
if not options.skip_version_check:
|
||||||
|
Loading…
Reference in New Issue
Block a user