[RFE] Enable health check httpchk options - haproxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Keystone Charm |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
In the HA environment keystone uses haproxy but heath check only validates the status of keystone/apache2 TCP ports
backend admin-port_
balance leastconn
server keystone-1 10.5.1.86:35347 check
server keystone-0 10.5.1.201:35347 check
server keystone-2 10.5.3.8:35347 check
backend public-
balance leastconn
server keystone-1 10.5.1.86:4990 check
server keystone-0 10.5.1.201:4990 check
server keystone-2 10.5.3.8:4990 check
This can create a false positive if a unit/apache2 does not have a healthy service and has the TCP port UP, haproxy will continue sending requests to the unit.
It would be a benefit to have the option of a different health check[0] as option httpchk to check a valid apache2 response or to have a custom check using one of the HEAD HTTP, GET or POST HTTP methods.
[0] http://
Changed in charm-keystone: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- keystone/ +/803502
Review: https:/