Bug 1981652 - 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.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z7
: 16.1 (Train on RHEL 8.2)
Assignee: Gregory Thiemonge
QA Contact: Bruna Bonguardo
URL:
Whiteboard:
Depends On: 1976115
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-13 05:59 UTC by Gregory Thiemonge
Modified: 2021-12-09 20:20 UTC (History)
3 users (show)

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.
Clone Of: 1976115
Environment:
Last Closed: 2021-12-09 20:20:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 798982 0 None MERGED Restart octavia rsyslog after updating the config 2021-07-13 06:01:26 UTC
Red Hat Issue Tracker OSP-6159 0 None None None 2021-11-18 11:34:48 UTC
Red Hat Product Errata RHBA-2021:3762 0 None None None 2021-12-09 20:20:45 UTC

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


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