-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-8.9.0
-
rhel-system-roles-1.23.0-2.7.el8
-
None
-
None
-
rhel-sst-system-roles
-
24
-
26
-
3
-
QE ack, Dev ack
-
False
-
-
Yes
-
Red Hat Enterprise Linux
-
None
-
Requested
-
None
-
Bug Fix
-
-
Done
-
None
What were you trying to do that didn't work?
I have accidentally provided incorrect configuration for the registrar and as a result the registrar service did not start. Howover, from the Ansible perspective everything went fine and no error has been reported by system role.
Please provide the package NVR for which bug is seen:
rhel-system-roles-1.22.0-2.el9
How reproducible:
always
Steps to reproduce
- clone repo from https://gitlab.cee.redhat.com/keylime/keylime-tests-internal/-/merge_requests/61
enter it and in documentation/keylime-server-role/test.sh edit the playbook and do some change in keylime_server_registrar_trusted_client_ca. The typo I did was using keylime_server_registrar_trusted_server_ca instead (edited)- then schedule the test with
tmt run -vvv discover provision -h connect -g 10.0.187.157 -u root prepare execute plan --default test -n keylime-server-role
where 10.0.187.157 is RHEL-9 system, no TPM needed. I am using one from 1minutetip (just be sure to enable epel repo in /etc/yum.repos.d/epel.repo
You should see that ansible-playbook goes fine but later limeWaitForRegistrar fails and if you ssh to the container you will find the traceback in journalExpected results
no failure. Also, reasonable timeout value (30-60 seconds) should be used when waiting for opened ports. 300s default is too big.
Actual results
error report
- clones
-
RHEL-15909 keylime_server role won't detect registrar start failure
- Closed
- links to
-
RHBA-2023:124810 rhel-system-roles bug fix and enhancement update
- mentioned on