Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2180933

Summary: [RHOSP 17.1] Rsyslog container looking pacemaker log file in the wrong directory
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: openstack-tripleo-heat-templatesAssignee: Yadnesh Kulkarni <ykulkarn>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: medium Docs Contact: mgeary <mgeary>
Priority: medium    
Version: 17.1 (Wallaby)CC: csibbitt, enothen, lmadsen, lnatapov, mburns, mgarciac, mgeary, pgodwin, rhos-maint, rhos-maint, ykulkarn
Target Milestone: betaKeywords: Regression, Reopened, Triaged, ZStream
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-14.3.1-1.20230423001017.004ef6e.el9ost Doc Type: Bug Fix
Doc Text:
Before this update, host services, such as Pacemaker, were mounted under `/var/log/host/` in the rsyslog container. However, the configuration path was the same as the host path `/var/log/pacemaker/`. Because of this issue, the rsyslog service could not locate Pacemaker log files. With this update, the Pacemaker log path is changed from `/var/log/pacemaker/` to `/var/log/host/pacemaker/`.
Story Points: ---
Clone Of: 2179343 Environment:
Last Closed: 2023-08-16 01:14:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1877475    
Bug Blocks: 2179284, 2179343    

Comment 6 Leonid Natapov 2023-05-07 15:41:46 UTC
Fixed.

[root@controller-1 heat-admin]# grep -A5 pacemaker_system.pacemaker /var/lib/config-data/puppet-generated/rsyslog/etc/rsyslog.d/50_openstack_logs.conf
# pacemaker_system.pacemaker
input(type="imfile"
  file="/var/log/host/pacemaker/pacemaker.log"
  startmsg.regex="^[a-zA-Z]{3} [0-9]{2} [:0-9]{8}"
  tag="system.pacemaker"
)

Comment 16 errata-xmlrpc 2023-08-16 01:14:22 UTC
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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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-2023:4577