No way to disable haproxy backends
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Hi,
From an operator perspective it would be great if one haproxy backend server needed rebooting or other such maintenance to be able to disable it inside of haproxy so no new traffic goes to it.
This would be done by sending "set server backend/serv state drain" to the haproxy socket. But the current socket doesn't get created with the right permissions.
So to completely take out a node I'd want to do something like:
docker exec -it haproxy bash -c 'for backend in $(echo "show backend" | sudo socat stdio /var/lib/
This would need us to set `level admin` on the socket.
Changed in kolla-ansible: | |
importance: | Undecided → Wishlist |
Fix proposed to branch: master /review. opendev. org/c/openstack /kolla- ansible/ +/828107
Review: https:/