In some earlier Red Hat OpenStack Platform versions, the following validations were not working:
- neutron-sanity-check
- rabbitmq-limits
- undercloud-process-count
- undercloud-tokenflush
- undercloud-heat-purge-deleted
In RHOSP 15, this problem has been corrected. A new director CLI now allows you to run the earlier listed validations through Red Hat Ansible Automation directly from the Undercloud machine.
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:2811
Description of problem: Running a validation related to running a podman command will fail because there are no permissions to touch /var/run/libpod/alive.lck [root@undercloud-0 ~]# ls -l /var/run/libpod/ total 0 -rw-r--r--. 1 root root 0 Jul 15 11:56 alive -rw-------. 1 root root 0 Jul 15 11:56 alive.lck drwxr-x---. 2 root root 40 Jul 15 12:14 exits drwxr-xr-x. 2 root root 2600 Jul 15 12:14 lock drwxr-x---. 2 root root 1040 Jul 15 12:14 socket [root@undercloud-0 ~]# getfacl /var/run/libpod/alive.lck getfacl: Removing leading '/' from absolute path names # file: var/run/libpod/alive.lck # owner: root # group: root user::rw- group::--- other::--- Version-Release number of selected component (if applicable): openstack-tripleo-validations-10.4.1-0.20190701170405.10b4d77.el8ost.noarch How reproducible: 100% Steps to Reproduce: run a podman related validation such as "undercloud-heat-purge-deleted" Actual results: [FAILED] - undercloud-heat-purge-deleted Task 'undercloud-heat-purge-deleted : Get heat crontab' failed: Host: undercloud Message: Command `set -o pipefail podman exec heat_api_cron crontab -l -u heat |grep -v '^#' ` exited with code: 1: non-zero return code stderr: error creating libpod runtime: error acquiring runtime init lock: error opening "/var/run/libpod/alive.lck": permission denied Failure! The validation failed for all hosts: * undercloud Expected results: Test should be able to run fully.