Misconfigured health check for Barbican with haproxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
High
|
Major Hayden |
Bug Description
DISTRIB_ID="OSA"
DISTRIB_
DISTRIB_
DISTRIB_
When deploying the os_barbican role, the backend health check fails. Upon investigation, haproxy is configured for:
backend barbican-back
mode http
balance leastconn
stick store-request src
stick-table type ip size 256k expire 30m
option forwardfor
option httplog
option httpchk HEAD /
http-check expect status 401
However, HEAD does not appear to be an allowed method:
# curl -I http://
HTTP/1.1 405 Method Not Allowed
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Allow: GET
Connection: close
A GET returns a 300 with data:
# curl -G http://
{"versions": {"values": [{"status": "stable", "updated": "2015-04-
It may just be that the path is incorrect, as 'curl -I http://
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in openstack-ansible: | |
assignee: | nobody → Jean-Philippe Evrard (jean-philippe-evrard) |
Changed in openstack-ansible: | |
assignee: | Jean-Philippe Evrard (jean-philippe-evrard) → Major Hayden (rackerhacker) |
Fix proposed to branch: master /review. openstack. org/494583
Review: https:/