Task 'Get keystone crontab' failed: Host: undercloud Message: Command `crontab -l -u keystone | grep -v "^#"` exited with code: 1: non-zero return code stderr: no crontab for keystone Failure! The validation failed for all hosts: * undercloud
The validator always passes. I tried to fail it like this: 1) Drop into a shell in the keystone container: sudo docker exec -it keystone bash 2) Edit the keystone user's cron table: crontab -e -u keystone 3) Delete the job definition from cron: PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh 1 * * * * keystone-manage token_flush >>/var/log/keystone/keystone-tokenflush.log 2>&1 Save the changes and run the validator again. It still passes, so it seems to not check properly.
Udi, we have two keystone containers (keystone and keystone_cron). On both the keystone user have the job definition in its cron table, but cronie is just running on the keystone_cron container. The validation have to check it out on the keystone_cron container instead of the keystone one.
Verified: openstack-tripleo-validations-9.3.1-0.20181008110752.4064fb7.el7ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045