Bug 1981652

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.1 (Train)CC: gregraka, jhakimra, oschwart
Target Milestone: z7Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.5.1-1.20210713143305.902c3c8.el8ost Doc Type: Bug Fix
Doc Text:
Before this update, an optional feature of the RHOSP Load-balancing service (octavia), log offloading, was not correctly configured during deployment. As a result of this problem, the Load-balancing service was not receiving logs from the amphorae. This update resolves the issue.
Story Points: ---
Clone Of: 1976115 Environment:
Last Closed: 2021-12-09 20:20:15 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: 1976115    
Bug Blocks:    

Description Gregory Thiemonge 2021-07-13 05:59:58 UTC
+++ This bug was initially created as a clone of Bug #1976115 +++

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 9 Bruna Bonguardo 2021-07-22 10:34:47 UTC
Bug cannot be verified until 16.1 z7 puddle is available.

Comment 26 errata-xmlrpc 2021-12-09 20:20:15 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 (Red Hat OpenStack Platform 16.1.7 (Train) bug fix and enhancement advisory), 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-2021:3762