2017-09-07T21:29:39Z DEBUG Logging to /var/log/ipaserver-kra-install.log 2017-09-07T21:29:39Z DEBUG ipa-kra-install was invoked with arguments ['replica-info-vm-058-193.abc.idm.lab.eng.brq.redhat.com.gpg'] and options: {'verbose': False, 'no_host_dns': False, 'quiet': False, 'log_file': None, 'unattended': False, 'uninstall': False} 2017-09-07T21:29:39Z DEBUG IPA version 4.5.3-1.fc26 2017-09-07T21:29:39Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2017-09-07T21:29:39Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2017-09-07T21:29:40Z DEBUG retrieving schema for SchemaCache url=ldapi://%2fvar%2frun%2fslapd-DOM-058-194-ABC-IDM-LAB-ENG-BRQ-REDHAT-COM.socket conn= 2017-09-07T21:29:41Z DEBUG Created connection context.ldap2_140190673704080 2017-09-07T21:29:41Z DEBUG Starting external process 2017-09-07T21:29:41Z DEBUG args=/usr/bin/gpg-agent --batch --homedir /tmp/tmpbZHlfPipa/ipa-lxHqLU/.gnupg --daemon /usr/bin/gpg --batch --homedir /tmp/tmpbZHlfPipa/ipa-lxHqLU/.gnupg --passphrase-fd 0 --yes --no-tty -o /tmp/tmpbZHlfPipa/files.tar -d replica-info-vm-058-193.abc.idm.lab.eng.brq.redhat.com.gpg 2017-09-07T21:29:41Z DEBUG Process finished, return code=0 2017-09-07T21:29:41Z DEBUG Starting external process 2017-09-07T21:29:41Z DEBUG args=tar xf /tmp/tmpbZHlfPipa/files.tar -C /tmp/tmpbZHlfPipa 2017-09-07T21:29:41Z DEBUG Process finished, return code=0 2017-09-07T21:29:41Z DEBUG stdout= 2017-09-07T21:29:41Z DEBUG stderr= 2017-09-07T21:29:41Z DEBUG Installing replica file with version 40503 (0 means no version in prepared file). 2017-09-07T21:29:41Z DEBUG Check if vm-058-193.abc.idm.lab.eng.brq.redhat.com is a primary hostname for localhost 2017-09-07T21:29:41Z DEBUG Primary hostname for localhost: vm-058-193.abc.idm.lab.eng.brq.redhat.com 2017-09-07T21:29:41Z DEBUG Search DNS for vm-058-193.abc.idm.lab.eng.brq.redhat.com 2017-09-07T21:29:41Z DEBUG Check if vm-058-193.abc.idm.lab.eng.brq.redhat.com is not a CNAME 2017-09-07T21:29:41Z DEBUG Check reverse address of 2620:52:0:224e:21a:4aff:fe23:1651 2017-09-07T21:29:41Z DEBUG Found reverse name: vm-058-193.abc.idm.lab.eng.brq.redhat.com 2017-09-07T21:29:41Z DEBUG Check reverse address of 10.34.58.193 2017-09-07T21:29:41Z DEBUG Found reverse name: vm-058-193.abc.idm.lab.eng.brq.redhat.com 2017-09-07T21:29:41Z DEBUG Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' 2017-09-07T21:29:41Z DEBUG Loading Index file from '/var/lib/ipa/sysrestore/sysrestore.index' 2017-09-07T21:29:41Z DEBUG raw: kra_is_enabled(version=u'2.228') 2017-09-07T21:29:41Z DEBUG kra_is_enabled(version=u'2.228') 2017-09-07T21:30:59Z DEBUG Starting external process 2017-09-07T21:30:59Z DEBUG args=/usr/bin/certutil -d /tmp/tmpGSehAN -N -f /tmp/tmpGSehAN/pwdfile.txt -f /tmp/tmpGSehAN/pwdfile.txt 2017-09-07T21:30:59Z DEBUG Process finished, return code=0 2017-09-07T21:30:59Z DEBUG stdout= 2017-09-07T21:30:59Z DEBUG stderr= 2017-09-07T21:31:05Z DEBUG Starting external process 2017-09-07T21:31:05Z DEBUG args=/usr/bin/pk12util -d /tmp/tmpGSehAN -i /tmp/tmpbZHlfPipa/realm_info/cacert.p12 -k /tmp/tmpGSehAN/pwdfile.txt -v -w /tmp/tmpvYcyVB 2017-09-07T21:31:05Z DEBUG Process finished, return code=19 2017-09-07T21:31:05Z DEBUG stdout= 2017-09-07T21:31:05Z DEBUG stderr=pk12util: PKCS12 decode import bags failed: SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY: Unable to import. Error attempting to import private key. 2017-09-07T21:36:39Z DEBUG File "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 172, in execute return_value = self.run() File "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_kra_install.py", line 208, in run kra.install_check(api, config, self.options) File "/usr/lib/python2.7/site-packages/ipaserver/install/kra.py", line 60, in install_check replica_config.dirman_password) File "/usr/lib/python2.7/site-packages/ipapython/certdb.py", line 410, in import_pkcs12 if e.returncode == 17: File "/usr/lib/python2.7/site-packages/ipapython/certdb.py", line 410, in import_pkcs12 if e.returncode == 17: File "/usr/lib64/python2.7/bdb.py", line 49, in trace_dispatch return self.dispatch_line(frame) File "/usr/lib64/python2.7/bdb.py", line 68, in dispatch_line if self.quitting: raise BdbQuit 2017-09-07T21:36:39Z DEBUG The ipa-kra-install command failed, exception: BdbQuit: 2017-09-07T21:36:39Z ERROR The ipa-kra-install command failed. See /var/log/ipaserver-kra-install.log for more information