Description of problem: A user might override the default endpoints for rsyslog servers using the OctaviaAdminLogTargets and OctaviaTenantLogTargets parameters from THT But setting those options doesn't work properly, the default endpoints are still defined in the octavia configuration file Version-Release number of selected component (if applicable): 16.2 (16.1 and 17.0 too) How reproducible: 100% Steps to Reproduce: 1. Deploy OSP with Octavia, define OctaviaAdminLogTargets 2. Check the DEBUG output of the Octavia services, amphora_agent.admin_log_targets is not set correctly 3. I used the following parameters: parameter_defaults: OctaviaAdminLogTargets: 172.17.0.2:514 OctaviaTenantLogTargets: 172.17.0.3:514 after deployment in worker.log: 2022-09-13 14:05:57.134 24 DEBUG cotyledon.oslo_config_glue [-] amphora_agent.admin_log_targets = ['172.24.1.180:514', '172.24.1.117:514', '172.24.1.107:514'] log_opt_values /usr/lib/python3.6/site-packages/oslo_config/cfg.py:2589 This is the default parameter (the 3 controllers) [root@controller-0 heat-admin]# grep admin_log_targets -r /var/lib/config-data/puppet-generated/octavia -r /var/lib/config-data/puppet-generated/octavia/etc/octavia/octavia.conf:# admin_log_targets = /var/lib/config-data/puppet-generated/octavia/etc/octavia/octavia.conf:admin_log_targets=172.17.0.2:514 /var/lib/config-data/puppet-generated/octavia/etc/octavia/post-deploy.conf:admin_log_targets = 172.24.1.180:514, 172.24.1.117:514, 172.24.1.107:514 puppet-octavia sets the right value in octavia.conf but tripleo-ansible overrides the parameter with computed values (IPs of the controllers + :514)
Update on the fix: OctaviaAdminLogTargets and OctaviaTenantLogTargets no longer affects the octavia settings (octavia.conf), they only affect the configuration of the octavia-rsyslog container, creating an rsyslog forwarder when one of these params is set.
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.2.5 (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-2023:1763