Bug 1916789

Summary: octavia rsyslog container fails to deploy when OctaviaLogOffload is enabled
Product: Red Hat OpenStack Reporter: Gregory Thiemonge <gthiemon>
Component: openstack-tripleo-heat-templatesAssignee: Gregory Thiemonge <gthiemon>
Status: CLOSED ERRATA QA Contact: Omer Schwartz <oschwart>
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: mburns
Target Milestone: betaKeywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-2.20210131004936.1698db6.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-15 07:11:01 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:

Description Gregory Thiemonge 2021-01-15 15:22:46 UTC
Description of problem:
when enabling the Octavia log offloading feature (OctaviaLogOffload: true), tripleo fails to deploy the rsyslog container:

controller-0/var/log/containers/stdouts/octavia_rsyslog.log.gz:

2021-01-11T12:48:15.516165569+00:00 stderr F ERROR:__main__:Unexpected error:
2021-01-11T12:48:15.516165569+00:00 stderr F Traceback (most recent call last):
2021-01-11T12:48:15.516165569+00:00 stderr F   File "/usr/local/bin/kolla_set_configs", line 425, in main
2021-01-11T12:48:15.516165569+00:00 stderr F     execute_config_strategy(config)
2021-01-11T12:48:15.516165569+00:00 stderr F   File "/usr/local/bin/kolla_set_configs", line 392, in execute_config_strategy
2021-01-11T12:48:15.516165569+00:00 stderr F     handle_permissions(config)
2021-01-11T12:48:15.516165569+00:00 stderr F   File "/usr/local/bin/kolla_set_configs", line 349, in handle_permissions
2021-01-11T12:48:15.516165569+00:00 stderr F     uid = pwd.getpwnam(desired_user).pw_uid
2021-01-11T12:48:15.516165569+00:00 stderr F KeyError: "getpwnam(): name not found: 'octavia'"



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

How reproducible:
100%

Steps to Reproduce:
1. enable OctaviaLogOffload
2. deploy


Actual results:
Deployment is successful but octavia rsyslog container is not working

Comment 5 Omer Schwartz 2021-02-22 09:56:28 UTC
BZ will be verified as soon as the fix reaches OSP 16.2 passed_phase2 (fixed in 
openstack-tripleo-heat-templates-11.3.2-2.20210131004936.1698db6,
and OSP16.2 passed_phase2 has 
openstack-tripleo-heat-templates-11.3.2-2.20210121035809.936e05a).

Comment 8 errata-xmlrpc 2021-09-15 07:11:01 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 (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