summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/opendnssecinstance.py
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2015-10-30 10:32:43 +0100
committerMartin Basti <mbasti@redhat.com>2015-10-30 13:45:36 +0100
commit6f855dcc5cbd4a316ae03cdf0e2cc7e8c21bec88 (patch)
tree35fe93af92f81d5a9412344e5cf0d907980d46aa /ipaserver/install/opendnssecinstance.py
parentd7f0d633d93d3d7791ea0c3cedf084f004cbf27b (diff)
downloadfreeipa-6f855dcc5cbd4a316ae03cdf0e2cc7e8c21bec88.tar.gz
freeipa-6f855dcc5cbd4a316ae03cdf0e2cc7e8c21bec88.tar.xz
freeipa-6f855dcc5cbd4a316ae03cdf0e2cc7e8c21bec88.zip
DNSSEC: improve log messages in uninstaller
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaserver/install/opendnssecinstance.py')
-rw-r--r--ipaserver/install/opendnssecinstance.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipaserver/install/opendnssecinstance.py b/ipaserver/install/opendnssecinstance.py
index ba8328007..322eec586 100644
--- a/ipaserver/install/opendnssecinstance.py
+++ b/ipaserver/install/opendnssecinstance.py
@@ -352,9 +352,10 @@ class OpenDNSSECInstance(service.Service):
ods_enforcerd = services.knownservices.ods_enforcerd
cmd = [paths.IPA_ODS_EXPORTER, 'ipa-full-update']
try:
+ self.print_msg("Exporting DNSSEC data before uninstallation")
ipautil.run(cmd, runas=ods_enforcerd.get_user_name())
except CalledProcessError:
- root_logger.debug("OpenDNSSEC database has not been updated")
+ root_logger.error("DNSSEC data export failed")
try:
shutil.copy(paths.OPENDNSSEC_KASP_DB,