Bug 1916789 - octavia rsyslog container fails to deploy when OctaviaLogOffload is enabled
Summary: octavia rsyslog container fails to deploy when OctaviaLogOffload is enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Gregory Thiemonge
QA Contact: Omer Schwartz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-15 15:22 UTC by Gregory Thiemonge
Modified: 2021-09-15 07:11 UTC (History)
1 user (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-2.20210131004936.1698db6.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-15 07:11:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1907260 0 None None None 2021-01-15 15:23:42 UTC
OpenStack gerrit 766161 0 None MERGED Fix ownership of octavia_rsyslog log directory 2021-02-15 10:08:56 UTC
OpenStack gerrit 771451 0 None MERGED Fix ownership of octavia_rsyslog log directory 2021-02-15 10:08:56 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:11:21 UTC

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


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