Expose HAProxy stats for management purpose

Change-Id: Ia7263a9993e29c8f3db71e86264b786398224223
Closes-Bug: #1496658
This commit is contained in:
Qiu Yu 2015-09-16 18:39:51 -07:00
parent 3d486550fa
commit c7ceca711a
3 changed files with 22 additions and 0 deletions

View File

@ -78,6 +78,8 @@ rabbitmq_management_port: "15672"
rabbitmq_cluster_port: "25672"
rabbitmq_epmd_port: "4369"
haproxy_stats_port: "1984"
keystone_public_port: "5000"
keystone_admin_port: "35357"
@ -153,6 +155,12 @@ enable_murano: "no"
rabbitmq_user: "openstack"
####################
# HAProxy options
####################
haproxy_user: "openstack"
#################################
# Cinder - Block Storage options
#################################

View File

@ -14,6 +14,14 @@ defaults
timeout server 1m
timeout check 10s
listen stats :{{ haproxy_stats_port }}
mode http
stats enable
stats uri /
stats refresh 15s
stats realm Haproxy\ Stats
stats auth {{ haproxy_user }}:{{ haproxy_password }}
listen mariadb
mode tcp
option tcpka

View File

@ -51,3 +51,9 @@ murano_keystone_password: "password"
####################
rabbitmq_password: "password"
rabbitmq_cluster_cookie: "password"
####################
# HAProxy options
####################
haproxy_password: "password"