loadbalancer configuration is not updated when units are removed

Bug #2067611 reported by David Negreira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apache2 Charm
New
Undecided
Unassigned

Bug Description

When we have apache2 related to more units with the 'balancer' relation, the balancer configuration stays the same after deleting 1 of the 3 units as an example:

“ cat /etc/apache2/conf-enabled/kubernetes-worker.balancer.conf
<Proxy balancer://kubernetes-worker/>.
BalancerMember http://a.a.a.a:80 timeout=60
BalancerMember http://b.b.b.b:80 timeout=60
BalancerMember http://c.c.c.c:80 timeout=60

ProxySet lbmethod=byrequests
RequestHeader set X-Balancer-Name “kubernetes-worker”
</Proxy>.

Refreshes automatically only after adding another worker

“ cat /etc/apache2/conf-enabled/kubernetes-worker.balancer.conf
<Proxy balancer://kubernetes-worker/>.
BalancerMember http://a.a.a.a:80 timeout=60
BalancerMember http://d.d.d.d:80 timeout=60
BalancerMember http://c.c.c.c:80 timeout=60

ProxySet lbmethod=byrequests
RequestHeader set X-Balancer-Name “kubernetes-worker”
</Proxy>.

Related branches

Revision history for this message
Tom Haddon (mthaddon) wrote :

The related change has been merged and published to the edge channel in revision 43.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.