aboutsummaryrefslogtreecommitdiffstats
path: root/overcloud-source.yaml
diff options
context:
space:
mode:
authorTom Cammann <tom.cammann@hp.com>2014-11-04 11:11:52 +0000
committerTom Cammann <tom.cammann@hp.com>2014-11-07 15:43:33 +0000
commit2cab499f433e9a88ed4017399f3ca1e66bf8effa (patch)
tree91ccce41f43cbf7266ccbc19d4932bcd0b0e1c57 /overcloud-source.yaml
parent897c8b8aa9295b0214f35bd08ac42416078904f5 (diff)
Use HAProxy httpchk for openstack services
Instead of the default TCP connection check use the HTTP check. This provides a more reliable way to tell if the service is up or not, only 2xx and 3xx response codes will signal a healthy service. This check can also be used in conjunction with check-ssl to enable checks for services running SSL/TLS in overcloud. Change-Id: I1581c091b996422fb1374ea4c024d0a88453e10b
Diffstat (limited to 'overcloud-source.yaml')
-rw-r--r--overcloud-source.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index 64deb95b..5034a940 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -732,6 +732,8 @@ resources:
net_binds:
- &control_vip {ip: {get_attr: [ControlVirtualIP, fixed_ips, 0, ip_address]}}
- &public_vip {ip: {get_attr: [PublicVirtualIP, fixed_ips, 0, ip_address]}}
+ options:
+ - option httpchk GET /
services:
- name: keystone_admin
port: 35357
@@ -747,6 +749,7 @@ resources:
port: 9292
- name: glance_registry
port: 9191
+ options: # overwrite options as glace_reg needs auth for http req
- name: heat_api
port: 8004
- name: heat_cloudwatch
@@ -772,8 +775,11 @@ resources:
port: 6080
- name: ceilometer
port: 8777
+ options: # overwrite options as ceil needs auth for http req
- name: swift_proxy_server
port: 8080
+ options:
+ - option httpchk GET /info
- name: rabbitmq
port: 5672
net_binds: