#8680 [Tracker] Random failure in ipa-server-install (rawhide) during pkispawn step
Closed: fixed 2 years ago by fcami. Opened 3 years ago by frenaud.

3 nightly tests failed in rawhide during ipa-server-install, in the pkispawn step, waiting for CA to be available. See PR #666:
- test_installation_TestInstallWithCA_KRA_DNS1: report
- test_replication_layouts_TestLineTopologyWithoutCA: report
- test_topology_TestCASpecificRUVs: report

In the 3 tests, the command ips-server-install failed in the pkispawn step:

[...]
Done configuring ipa-custodia.
Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
  [1/28]: configuring certificate server instance
Failed to configure CA instance: CalledProcessError(Command ['/usr/sbin/pkispawn', '-s', 'CA', '-f', '/tmp/tmp94ze9rqd', '--debug'] returned non-zero exit status 1: ...

ipa-server-install log shows that pkispawn failed waiting for CA subsystem to start:

INFO: Waiting for CA subsystem to start (60s)\nERROR: Exception: CA subsystem did not start after 60s\n

The journal shows that startup of pki:

Jan 23 14:31:01 master.ipa.test systemd[1]: Starting PKI Tomcat Server pki-tomcat...
Jan 23 14:31:04 master.ipa.test java[29024]: usr/lib/api/apiutil.c Could not open /run/lock/opencryptoki/LCK..APIlock
[...]
Jan 23 14:31:06 master.ipa.test systemd[1]: Started PKI Tomcat Server pki-tomcat.
Jan 23 14:31:06 master.ipa.test audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=pki-tomcatd@pki-tomcat comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 23 14:31:06 master.ipa.test server[29132]: Java virtual machine used: /usr/bin/java
Jan 23 14:31:06 master.ipa.test server[29132]: classpath used: /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/lib/java/commons-daemon.jar
Jan 23 14:31:06 master.ipa.test server[29132]: main class used: org.apache.catalina.startup.Bootstrap
Jan 23 14:31:06 master.ipa.test server[29132]: flags used: -Dcom.redhat.fips=false
Jan 23 14:31:06 master.ipa.test server[29132]: options used: -Dcatalina.base=/var/lib/pki/pki-tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/lib/pki/pki-tomcat/temp -Djava.util.logging.config.file=/var/lib/pki/pki-tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager     -Djava.security.manager     -Djava.security.policy==/var/lib/pki/pki-tomcat/conf/catalina.policy
Jan 23 14:31:06 master.ipa.test server[29132]: arguments used: start
[...]
Jan 23 14:31:52 master.ipa.test server[29132]: WARNING: Match [Server/Service/Connector] failed to set property [address] to [localhost4]

Installed versions:
- pki-server-10.10.3-3.fc34.noarch


Not seen in a while. Closing.

Metadata Update from @fcami:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata