Bug 1623075 - Enable configuration of HAProxyStatsEnabled on another network via Director and fix its binding addresses
Summary: Enable configuration of HAProxyStatsEnabled on another network via Director ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z7
: 13.0 (Queens)
Assignee: Michele Baldessari
QA Contact: pkomarov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-28 12:40 UTC by Pablo Iranzo Gómez
Modified: 2023-03-24 14:12 UTC (History)
6 users (show)

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:
Clone Of:
Environment:
Last Closed: 2019-07-10 13:03:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1830334 0 None None None 2019-05-24 08:20:25 UTC
OpenStack gerrit 662930 0 None None None 2019-06-05 10:26:27 UTC
OpenStack gerrit 662931 0 None None None 2019-06-05 10:26:27 UTC
Red Hat Product Errata RHBA-2019:1738 0 None None None 2019-07-10 13:04:57 UTC

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


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