Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1623075

Summary: Enable configuration of HAProxyStatsEnabled on another network via Director and fix its binding addresses
Product: Red Hat OpenStack Reporter: Pablo Iranzo Gómez <pablo.iranzo>
Component: openstack-tripleo-heat-templatesAssignee: Michele Baldessari <michele>
Status: CLOSED ERRATA QA Contact: pkomarov
Severity: medium Docs Contact:
Priority: medium    
Version: 10.0 (Newton)CC: chjones, emacchi, gfidente, mburns, ojanas, smykhail
Target Milestone: z7Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-tripleo-8.4.1-11.el7ost openstack-tripleo-heat-templates-8.3.1-39.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-10 13:03:16 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 Pablo Iranzo Gómez 2018-08-28 12:40:27 UTC
Description of problem:

Customer wants to have haproxy.stat from ctlplane relocated to internal

HA-Proxy heat template contains some entries
~~~
  HAProxyStatsPassword:
    description: Password for HAProxy stats endpoint
    hidden: true
    type: string
  HAProxyStatsUser:
    description: User for HAProxy stats endpoint
    default: admin
    type: string
  HAProxySyslogAddress:
    default: /dev/log
    description: Syslog address where HAproxy will send its log
    type: string
  HAProxyStatsEnabled:
    default: true
    description: Whether or not to enable the HAProxy stats interface.
    type: boolean
~~~

patch used was

- Change haproxy from ctlplane to internal_api.
   I found the template /usr/share/openstack-tripleo-heat-templates/puppet/all-nodes-config.yaml defines the ctlplane. I changed the variables:
   controller_virtual_ip: {get_param: [NetVipMap, ctlplane]} to controller_virtual_ip: {get_param: [NetVipMap, internal_api]}
   tripleo::haproxy::controller_virtual_ip: {get_param: [NetVipMap, ctlplane]} to internal_api
   tripleo::keepalived::controller_virtual_ip: {get_param: [NetVipMap, ctlplane]} to internal_api
   tripleo::redis_notification::haproxy_monitor_ip: {get_param: [NetVipMap, ctlplane]} to internal_api  


Can this be somehow enabled on Director level and consider it supported?

Thanks

Comment 17 errata-xmlrpc 2019-07-10 13:03:16 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, 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-2019:1738