Bug 1976115 - Octavia log offloading does not work, rsyslog is not properly configured
Summary: Octavia log offloading does not work, rsyslog is not properly configured
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z2
: 16.2 (Train on RHEL 8.4)
Assignee: Gregory Thiemonge
QA Contact: Bruna Bonguardo
URL:
Whiteboard:
Depends On:
Blocks: 1981652
TreeView+ depends on / blocked
 
Reported: 2021-06-25 08:53 UTC by Gregory Thiemonge
Modified: 2022-03-23 22:11 UTC (History)
1 user (show)

Fixed In Version: tripleo-ansible-0.8.1-2.20210702224947.74d4165.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1981652 (view as bug list)
Environment:
Last Closed: 2022-03-23 22:10:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 798066 0 None MERGED Restart octavia rsyslog after updating the config 2022-06-28 08:52:33 UTC
OpenStack gerrit 798982 0 None MERGED Restart octavia rsyslog after updating the config 2022-06-28 08:52:30 UTC
Red Hat Issue Tracker OSP-5450 0 None None None 2021-12-13 13:11:13 UTC
Red Hat Product Errata RHBA-2022:1001 0 None None None 2022-03-23 22:11:15 UTC

Description Gregory Thiemonge 2021-06-25 08:53:23 UTC
Description of problem:
After deploying an OSP16.2 env with OctaviaLogOffload=true, the log offloading feature doesn't work, the octavia_rsyslog container is running but it's not correctly configured

Version-Release number of selected component (if applicable):
16.2

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP16.2 with OctaviaLogOffload
2. Create a load balancer
3. Check the logs on controller-0 in /var/log/containers/octavia-amphorae/, the directory is empty

Actual results:
Logs are not collected

Expected results:
Logs should be in /var/log/containers/octavia-amphorae/

Additional info:

the octavia-ansible playbook was moved from step 5 to post_deploy, which means that the rsyslog configuration file (created by the ansible playbook) is now created after starting the container, so the config is not updated in the running container. Restarting the tripleo_octavia_rsyslog service on controller-0 fixes the issue.

Comment 2 Gregory Thiemonge 2021-06-25 10:04:37 UTC
Fix proposed on tripleo-ansible master

Comment 17 errata-xmlrpc 2022-03-23 22:10:48 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 16.2.2), 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/RHBA-2022:1001


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