Bug 1881362
Summary: | [Octavia][16.1] Amphora tenant flow log messages join administrative log file instead of having their own file | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Omer Schwartz <oschwart> |
Component: | openstack-tripleo-heat-templates | Assignee: | Michael Johnson <michjohn> |
Status: | CLOSED ERRATA | QA Contact: | Omer Schwartz <oschwart> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 16.1 (Train) | CC: | cgoncalves, gthiemon, ihrachys, lpeer, majopela, mburns, michjohn, scohen |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | 16.2 (Train on RHEL 8.4) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-11.4.1-2.20210323012110.c3396e2.el8ost.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-09-15 07:09:19 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: | 1856835, 1883536 | ||
Bug Blocks: |
Description
Omer Schwartz
2020-09-22 09:21:21 UTC
Hi Michael, Thanks for the information. Actually, I do use an environment file (am I wrong?) Steps to Reproduce: . 2. Change the flag of the OctaviaLogOffload: true in /home/stack/virt/extra_templates.yaml . . I set the 'OctaviaLogOffload: true' flag under 'parameter_defaults:' on extra_templates.yaml. Afterwards I re-run overcloud_deploy.sh which contains the extra_templates.yaml by default: (This is the overcloud_deploy.sh file I use) openstack overcloud deploy \ . . -e /home/stack/virt/extra_templates.yaml \ . . Anyway, for now, due to this bug https://bugzilla.redhat.com/show_bug.cgi?id=1856835, I can't deploy the amphora log offloading feature, so I don't have an environment to provide until I find a kind of a workaround. A workaround for the bug I mentioned in comment number 4: https://review.opendev.org/#/c/754079 I provided Michael my host/system. Fix is verified. Verification steps: 1. I deployed OSP 16.2 (as mentioned in the Target Release) 2. Added the flag "OctaviaLogOffload: true" in /home/stack/virt/extra_templates.yaml 3. ran overcloud_deploy.sh -> Ansible passed.Overcloud configuration completed. 4. Due to https://bugzilla.redhat.com/show_bug.cgi?id=1976115, I had to restart the octavia_rsyslog container so it would be properly configured: [root@controller-0 octavia-amphorae]# podman restart octavia_rsyslog e7b99ddac68ad12c4074174f9bedbd36e5154a9c3e2e26e6513261f14b24fdb4 5. I create an LB and sent some traffic. (overcloud) [stack@undercloud-0 ~]$ req="curl $LB_FIP"; for i in {1..10}; do $req;echo; done lb-tree-server2-um5eygv73ncg lb-tree-server1-pee4qmrxrxzh lb-tree-server2-um5eygv73ncg lb-tree-server1-pee4qmrxrxzh lb-tree-server2-um5eygv73ncg lb-tree-server1-pee4qmrxrxzh lb-tree-server2-um5eygv73ncg lb-tree-server1-pee4qmrxrxzh lb-tree-server2-um5eygv73ncg lb-tree-server1-pee4qmrxrxzh 6. Made sure there are 2 files in the log offloading (new dir, since OSP 16.2), one for administrative amphora logs, and another one for tenant traffic logs: [root@controller-0 /]# ll /var/log/containers/octavia-amphorae/ total 24 -rw-r--r--. 1 root root 17977 Jul 1 09:41 octavia-amphora.log -rw-r--r--. 1 root root 3700 Jul 1 09:54 octavia-tenant-traffic.log (overcloud) [stack@undercloud-0 ~]$ cat /var/lib/rhos-release/latest-installed 16.2 -p RHOS-16.2-RHEL-8-20210630.n.0 I am moving the BZ status to VERIFIED. 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 (RHOSP) 16.2 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/RHEA-2021:3483 |