Description of problem: hiera parameter octavia::wsgi::apache::server_name should be octavia::wsgi::apache::servername in puppet/services/octavia-api.yaml to match the parameter in the puppet module. Currently, always set to $::fqdn grep "server.*name" /usr/share/openstack-tripleo-heat-templates/puppet/services/octavia-api.yaml octavia::wsgi::apache::server_name: $ grep -A3 "server.*name" /etc/puppet/modules/octavia/manifests/wsgi/apache.pp # [*servername*] # (Optional) The servername for the virtualhost. # Defaults to $::fqdn # # [*port*] -- $servername = $::fqdn, $port = 9876, $bind_host = undef, $path = '/', -- servername => $servername, ssl => $ssl, ssl_ca => $ssl_ca, ssl_cert => $ssl_cert, Version-Release number of selected component (if applicable): OSP 13 openstack-tripleo-heat-templates-8.4.1-51.el7ost.noarch (current) puppet-octavia-12.4.0-15.el7ost.noarch (current) How reproducible: 100% Steps to Reproduce: 1. Deploy with octavia & note the hiera config does not match the config for octavia httpd config on the controllers sudo hiera -c /etc/puppet/hiera.yaml octavia::wsgi::apache::server_name sudo grep ServerName /var/lib/config-data/puppet-generated/octavia/etc/httpd/conf.d/10-octavia_wsgi.conf
Work-around: ControllerExtraConfig: octavia::wsgi::apache::servername: "%{hiera('fqdn_internal_api')}"
After verification process that involved these steps, I: Deployed OSP13 with Octavia. Verified that the hiera parameter in puppet/services/octavia-api.yaml matches the parameter in the puppet module: [stack@undercloud-0 ~]$ grep "server.*name" /usr/share/openstack-tripleo-heat-templates/puppet/services/octavia-api.yaml octavia::wsgi::apache::servername: [stack@undercloud-0 ~]$ grep -A3 "server.*name" /etc/puppet/modules/octavia/manifests/wsgi/apache.pp # [*servername*] # (Optional) The servername for the virtualhost. # Defaults to $::fqdn # # [*port*] -- $servername = $::fqdn, $port = 9876, $bind_host = undef, $path = '/', -- servername => $servername, ssl => $ssl, ssl_ca => $ssl_ca, ssl_cert => $ssl_cert, [stack@undercloud-0 ~]$ And also: [root@controller-0 ~]# hiera -c /etc/puppet/hiera.yaml octavia::wsgi::apache::servername controller-0.internalapi.redhat.local [root@controller-0 ~]# grep -i servername /var/lib/config-data/puppet-generated/octavia/etc/httpd/conf.d/10-octavia_wsgi.conf ServerName controller-0.internalapi.redhat.local Puddle: [stack@undercloud-0 ~]$ cat /var/lib/rhos-release/latest-installed 13 -p 2020-10-06.2 All the commands' results contain 'servername' and none of them contain 'server_name'. The config parameters match. Looks good to me.
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 13.0 director bug fix 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-2020:4388