Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJan Pazdziora (Red Hat)
2023-08-30 11:46:56 UTC
Description of problem:
Today, attempt to run ipa-server-install started to fail on CentOS 9 Stream.
Version-Release number of selected component (if applicable):
ipa-server-4.10.2-4.el9.x86_64
389-ds-base-2.3.6-2.el9.x86_64
idm-pki-ca-11.4.2-1.el9.noarch
How reproducible:
Deterministic.
Steps to Reproduce:
1. Start with CentOS 9 Stream
or start with RHEL 9.2 and do
dnf install -y https://mirror.stream.centos.org/9-stream/BaseOS/$(uname -m)/os/Packages/centos-stream-repos-9.0-22.el9.noarch.rpm https://mirror.stream.centos.org/9-stream/BaseOS/$(uname -m)/os/Packages/centos-gpg-keys-9.0-22.el9.noarch.rpm
rpm -e redhat-release-eula ; rmdir /usr/share/redhat-release ; sed -i 's/^/# /' /etc/yum/protected.d/redhat-release.conf ; dnf swap -y redhat-release centos-stream-release
dnf upgrade -y
2. yum install -y --setopt=install_weak_deps=False ipa-server
3. ipa-server-install -U -r EXAMPLE.TEST -n example.test -p Secret123 -a Secret123
Actual results:
[4/5]: starting ipa-custodia
[5/5]: configuring ipa-custodia to start on boot
Done configuring ipa-custodia.
Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
[1/30]: configuring certificate server instance
Failed to configure CA instance
See the installation logs and the following files/directories for more information:
/var/log/pki/pki-tomcat
[error] RuntimeError: CA configuration failed.
CA configuration failed.
The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
/var/log/ipaserver-install.log has near end
DEBUG: Installing Maven dependencies: False
INFO: BEGIN spawning CA subsystem in pki-tomcat instance
INFO: Loading instance: pki-tomcat
INFO: Loading global Tomcat config: /etc/tomcat/tomcat.conf
ERROR: FileNotFoundError: [Errno 2] No such file or directory: '/etc/tomcat/tomcat.conf'
File "/usr/lib/python3.9/site-packages/pki/server/pkispawn.py", line 588, in main
scriptlet.spawn(deployer)
File "/usr/lib/python3.9/site-packages/pki/server/deployment/scriptlets/initialization.py", line 124, in spawn
instance.load()
File "/usr/lib/python3.9/site-packages/pki/server/instance.py", line 373, in load
super().load()
File "/usr/lib/python3.9/site-packages/pki/server/__init__.py", line 1168, in load
self.load_config()
File "/usr/lib/python3.9/site-packages/pki/server/__init__.py", line 1177, in load_config
pki.util.load_properties(Tomcat.TOMCAT_CONF, self.config)
File "/usr/lib/python3.9/site-packages/pki/util.py", line 359, in load_properties
with open(filename, encoding='utf-8') as f:
2023-08-30T11:39:23Z CRITICAL Failed to configure CA instance
2023-08-30T11:39:23Z CRITICAL See the installation logs and the following files/directories for more information:
2023-08-30T11:39:23Z CRITICAL /var/log/pki/pki-tomcat
2023-08-30T11:39:23Z DEBUG Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/ipaserver/install/service.py", line 686, in start_creation
run_step(full_msg, method)
File "/usr/lib/python3.9/site-packages/ipaserver/install/service.py", line 672, in run_step
method()
File "/usr/lib/python3.9/site-packages/ipaserver/install/cainstance.py", line 651, in __spawn_instance
DogtagInstance.spawn_instance(
File "/usr/lib/python3.9/site-packages/ipaserver/install/dogtaginstance.py", line 227, in spawn_instance
self.handle_setup_error(e)
File "/usr/lib/python3.9/site-packages/ipaserver/install/dogtaginstance.py", line 604, in handle_setup_error
raise RuntimeError(
RuntimeError: CA configuration failed.
The /var/log/pki/pki-tomcat does not exist.
Expected results:
No error, IdM server configured and running.
Additional info:
Comment 1Alexander Bokovoy
2023-08-30 11:53:40 UTC