Sticky IPs for backends
Bug #1871256 reported by
Haw Loeung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Content Cache Charm |
Fix Released
|
High
|
Haw Loeung |
Bug Description
Hi,
As mentioned in the past, and seen today, when we use DNS names for backends, it's stickied and only changed or updated on reloading HAProxy. We should fix this. Per link below (and also suggested by Junien? in the past), we can define a set of resolvers and then have the backend servers use that.
| https:/
Related branches
~hloeung/content-cache-charm:cleanup
- Benjamin Allot: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 39 lines (+8/-4)3 files modifiedlib/haproxy.py (+5/-1)
tests/unit/files/content_cache_rendered_haproxy_test_output_srv_template.txt (+2/-2)
tests/unit/files/haproxy_config_rendered_backends_stanzas_test_output2.txt (+1/-1)
~hloeung/content-cache-charm:haproxy-config
- Joel Sing (community): Approve (+1)
- Canonical IS Reviewers: Pending requested
-
Diff: 100 lines (+22/-12)4 files modifiedlib/haproxy.py (+1/-1)
tests/unit/files/content_cache_rendered_haproxy_test_output_backup.txt (+13/-6)
tests/unit/files/content_cache_rendered_haproxy_test_output_srv_template.txt (+2/-1)
tests/unit/test_content_cache.py (+6/-4)
~hloeung/content-cache-charm:haproxy-config
- Barry Price: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 171 lines (+132/-3)3 files modifiedlib/haproxy.py (+10/-3)
tests/unit/files/content_cache_rendered_haproxy_test_output_srv_template.txt (+99/-0)
tests/unit/test_content_cache.py (+23/-0)
~hloeung/content-cache-charm:haproxy-config
- Stuart Bishop (community): Approve
- Content Cache Charmers: Pending requested
-
Diff: 309 lines (+119/-3)17 files modifiedlib/haproxy.py (+9/-2)
lib/utils.py (+13/-0)
templates/haproxy_cfg.tmpl (+12/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output.txt (+7/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output2.txt (+7/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output3.txt (+7/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output_auto_maxconns.txt (+7/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output_processes_and_threads.txt (+7/-0)
tests/unit/files/haproxy_config_rendered_backends_stanzas_test_output2.txt (+6/-0)
tests/unit/files/haproxy_config_rendered_test_output.txt (+7/-0)
tests/unit/files/haproxy_config_rendered_test_output2.txt (+7/-0)
tests/unit/files/resolv.conf (+3/-0)
tests/unit/files/resolv.conf-none (+1/-0)
tests/unit/files/resolv.conf2 (+2/-0)
tests/unit/test_content_cache.py (+5/-0)
tests/unit/test_haproxy.py (+11/-1)
tests/unit/test_utils.py (+8/-0)
~hloeung/content-cache-charm:master
- Content Cache Charmers: Pending requested
- Diff: 0 lines
Changed in content-cache-charm: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in content-cache-charm: | |
assignee: | nobody → Haw Loeung (hloeung) |
status: | Triaged → In Progress |
Changed in content-cache-charm: | |
status: | In Progress → Fix Committed |
Changed in content-cache-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.