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

Bug 1976115

Summary: Octavia log offloading does not work, rsyslog is not properly configured
Product: Red Hat OpenStack Reporter: Gregory Thiemonge <gthiemon>
Component: tripleo-ansibleAssignee: Gregory Thiemonge <gthiemon>
Status: CLOSED ERRATA QA Contact: Bruna Bonguardo <bbonguar>
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: oschwart
Target Milestone: z2Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.8.1-2.20210702224947.74d4165.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1981652 (view as bug list) Environment:
Last Closed: 2022-03-23 22:10:48 UTC Type: Bug
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:    
Bug Blocks: 1981652    

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