Bug 2180933 - [RHOSP 17.1] Rsyslog container looking pacemaker log file in the wrong directory
Summary: [RHOSP 17.1] Rsyslog container looking pacemaker log file in the wrong directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 17.1
Assignee: Yadnesh Kulkarni
QA Contact: Leonid Natapov
mgeary
URL:
Whiteboard:
Depends On: 1877475
Blocks: 2179284 2179343
TreeView+ depends on / blocked
 
Reported: 2023-03-22 16:35 UTC by Leonid Natapov
Modified: 2023-08-16 01:15 UTC (History)
11 users (show)

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/`.
Clone Of: 2179343
Environment:
Last Closed: 2023-08-16 01:14:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 879485 0 None MERGED Set the correct path for pacemaker logs in rsyslog 2023-04-21 04:27:11 UTC
Red Hat Issue Tracker OSP-23586 0 None None None 2023-03-22 16:36:31 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:15:01 UTC

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


Note You need to log in before you can comment on or make changes to this bug.