+++ This bug was initially created as a clone of Bug #2026290 +++ Description of problem: Some log files are not processed by rsyslog when customer enables centralized logging option following document [1]. The following log file was reported and fixed on #2026290: - /var/log/containers/haproxy/haproxy.log The following files are still missing - /var/log/containers/horizon/horizon.log Current workaround is to explicitly add a definition using a custom template like the following: ~~~ parameter_defaults: ExtraConfig: tripleo_logging_sources_horizon: - tag: openstack.horizon file: /var/log/containers/horizon/horizon.log ~~~ [1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/logging_monitoring_and_troubleshooting_guide/installing-and-configuring-the-logs-service_osp
How to reproduce: 1. Deploy RHOSP 16.{1,2} including /usr/share/openstack-tripleo-heat-templates/environments/logging-environment-rsyslog.yaml as one of the templates 2. Verify rsyslog configuration on one of the controllers: $ ansible -i inventory.yaml -b -m shell -a "egrep -w file /var/lib/config-data/puppet-generated/rsyslog/etc/rsyslog.d/50_openstack_logs.conf" overcloud-controller-0 overcloud-controller-0 | CHANGED | rc=0 >> file="/var/log/containers/cinder/cinder-scheduler.log" file="/var/log/containers/cinder/cinder-volume.log" file="/var/log/containers/glance/api.log" file="/var/log/containers/haproxy/haproxy.log" file="/var/log/containers/heat/heat_api_cfn.log" file="/var/log/containers/heat/heat_api.log" file="/var/log/containers/heat/heat-engine.log" file="/var/log/containers/keystone/keystone.log" file="/var/log/containers/neutron/server.log" file="/var/log/containers/nova/nova-api.log" file="/var/log/containers/nova/nova-conductor.log" file="/var/log/containers/nova/nova-metadata-api.log" file="/var/log/containers/nova/nova-scheduler.log" file="/var/log/containers/nova/nova-novncproxy.log" file="/var/log/containers/octavia/api.log" file="/var/log/containers/octavia/health-manager.log" file="/var/log/containers/octavia/housekeeping.log" file="/var/log/containers/octavia/worker.log" file="/var/log/host/pacemaker/pacemaker.log" file="/var/log/host/messages" $
There was added horizon.log forwarding and it is also backported upstream [1], so apparently this was not pulled downstream. Will submit DS backport for [2]. [1] https://github.com/openstack/tripleo-heat-templates/blob/stable/train/deployment/horizon/horizon-container-puppet.yaml#L132-L136 [2] https://github.com/openstack/tripleo-heat-templates/commit/95ec1f23b51983c647dc9a11e2909eaa12113569
I see that most recent build has the patch already attached. Please try to update to most recent 16.2 z-release to have horizon.log included in centralized logging.
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 (Moderate: Red Hat OpenStack Platform 16.2 (openstack-tripleo-heat-templates) security update), 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/RHSA-2022:0995