loadbalancer configuration is not updated when units are removed
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/
<Proxy balancer:
BalancerMember http://
BalancerMember http://
BalancerMember http://
ProxySet lbmethod=byrequests
RequestHeader set X-Balancer-Name “kubernetes-worker”
</Proxy>.
“
Refreshes automatically only after adding another worker
“ cat /etc/apache2/
<Proxy balancer:
BalancerMember http://
BalancerMember http://
BalancerMember http://
ProxySet lbmethod=byrequests
RequestHeader set X-Balancer-Name “kubernetes-worker”
</Proxy>.
Related branches
- Tom Haddon: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 29 lines (+6/-0)1 file modifiedhooks/hooks.py (+6/-0)
The related change has been merged and published to the edge channel in revision 43.