Bug 2034730
| Summary: | Horizon log not collected/relayed by rsyslog to remote log server | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Eric Nothen <enothen> | |
| Component: | openstack-tripleo-heat-templates | Assignee: | Martin Magr <mmagr> | |
| Status: | CLOSED ERRATA | QA Contact: | Leonid Natapov <lnatapov> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 16.2 (Train) | CC: | astupnik, csibbitt, enothen, lmadsen, mburns, mrunge, oblaut | |
| Target Milestone: | z3 | Keywords: | Triaged, ZStream | |
| Target Release: | 16.2 (Train on RHEL 8.4) | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-tripleo-heat-templates-11.6.1-2.20220116004909.64b2e88.el8ost | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 2026290 | |||
| : | 2034793 (view as bug list) | Environment: | ||
| Last Closed: | 2022-03-23 22:30:16 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: | 2026290 | |||
| Bug Blocks: | 2034793 | |||
|
Description
Eric Nothen
2021-12-21 20:29:46 UTC
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 |