On 07/25/2018 12:02 AM, Jared Biel via FreeIPA-users wrote:
I'm trying to add a CA replica to an already established "regular"
replica and am unable to do so. Can anyone point me to instructions for
how to do this? It seems like maybe some files need to be manually
copied over from the existing replica but none of the instructions that
I've found mention this. The existing CA is running 4.5.4 and the new
replica is 4.7.0 (I'm trying to migrate to 4.7.0 entirely.)
I was able to reproduce the first part of your issue (ERROR: Failed to
add lightweight CA...), this is a bug in FreeIPA. Could you open a
pagure ticket at https://pagure.io/freeipa/new_issue?
The issue can be easily reproduced with:
* on the master:
ipa-server-install (with integrated ca)
ipa ca-add (create a lightweight CA on the master)
* on the replica:
ipa-ca-install is internally calling ipa-certupdate, and ipa-certupdate
tries to track lightweight CA even though there is no CA instance yet on
Regarding the 2nd issue (pkispawn failure), can you provide the replica
logs in /var/log/pki/pki-ca-spawn-$DATE.log? They may provide more
Regarding the output below, /var/log/pki/pki-tomcat does not exist
there are only 2 uninteresting files in /var/log/pki.
Directory Manager (existing master) password:
ipaclient.install.ipa_certupdate: ERROR Failed to add lightweight CA
Traceback (most recent call last):
line 117, in run_with_args
1914, in add_lightweight_ca_tracking_requests
line 672, in get_pin
with open(paths.PKI_TOMCAT_PASSWORD_CONF, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory:
Run connection check to master
Connection check OK
Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
[1/26]: creating certificate server db
[2/26]: setting up initial replication
Starting replication, please wait until this has completed.
Update in progress, 5 seconds elapsed
[3/26]: creating ACIs for admin
[4/26]: creating installation admin user
[5/26]: configuring certificate server instance
ipaserver.install.dogtaginstance: CRITICAL Failed to configure CA
instance: CalledProcessError(Command ['/usr/sbin/pkispawn', '-s',
'-f', '/tmp/tmp0n1ii3z2'] returned non-zero exit status 1: '')
ipaserver.install.dogtaginstance: CRITICAL See the installation logs and
the following files/directories for more information:
ipaserver.install.dogtaginstance: CRITICAL /var/log/pki/pki-tomcat
[error] RuntimeError: CA configuration failed.
Your system may be partly configured.
Run /usr/sbin/ipa-server-install --uninstall to clean up.
CA configuration failed.
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines