+++ This bug was initially created as a clone of Bug #1877475 +++ Description of problem: Rsyslog heat template point to wrong pacemaker log file. I'm cloning the original BZ because the problem is back in the branch. Inside the rsyslog container, the pacemaker logs are mounted under /var/log/host/pacemaker and not /var/log/pacemaker: ~~~ (overcloud) [stack.lab ~]$ ssh heat-admin@overcloud-controller-0 sudo podman exec rsyslog ls -ltr /var/log/{,host/}pacemaker/pacemaker.log -rw-rw----. 1 189 189 4982877 Mar 17 13:06 /var/log/host/pacemaker/pacemaker.log ls: cannot access '/var/log/pacemaker/pacemaker.log': No such file or directory Error: non zero exit code: 2: OCI runtime error (overcloud) [stack.lab ~]$ ~~~ We added a commit with the correct path to pacemaker.log on 2020-08-13: - https://opendev.org/openstack/tripleo-heat-templates/commit/34a2b091d2f48e2c5633b3dc2efb361655e36ba2 But then this other commit was added with the wrong path on 2021-04-12: - https://opendev.org/openstack/tripleo-heat-templates/commit/cda21df470cb801608fa7cf625100e754bc8e161 So the latest versions of tht in 16.1 and 16.2 are wrong again: ~~~ (overcloud) [stack.lab ~]$ rpm -qf /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-baremetal-puppet.yaml openstack-tripleo-heat-templates-11.3.2-1.20221013153262.el8ost.noarch (overcloud) [stack.lab ~]$ (overcloud) [stack.lab ~]$ rpm -qV openstack-tripleo-heat-templates-11.3.2-1.20221013153262.el8ost.noarch (overcloud) [stack.lab ~]$ (overcloud) [stack.lab ~]$ grep -A2 system.pacemaker /usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-baremetal-puppet.yaml tag: system.pacemaker file: /var/log/pacemaker/pacemaker.log startmsg.regex: "^[a-zA-Z]{3} [0-9]{2} [:0-9]{8}" (overcloud) [stack.lab ~]$ ~~~ But an older version shows we did have the fix in place at some point: ~~~ (overcloud) [stack.lab ~]$ grep -A2 system.pacemaker tht/openstack-tripleo-heat-templates-11.3.2-1.20210408163453.el8ost/usr/share/openstack-tripleo-heat-templates/deployment/pacemaker/pacemaker-baremetal-puppet.yaml tag: system.pacemaker file: /var/log/host/pacemaker/pacemaker.log startmsg.regex: "^[a-zA-Z]{3} [0-9]{2} [:0-9]{8}" (overcloud) [stack.lab ~]$ ~~~
Since there are no plans for 16.1 Z-stream releases, closing this bug as next release. This issue is fixed in 16.2 - https://bugzilla.redhat.com/show_bug.cgi?id=2179284 17.1 - https://bugzilla.redhat.com/show_bug.cgi?id=2180933