[DE52]: openstack-ha causes unnecessary restarts of haproxy when the order of the IPs changes #341

Closed
breu opened this Issue Mar 25, 2013 · 0 comments

Comments

Projects
None yet
3 participants
Contributor

breu commented Mar 25, 2013

There exists a case where the sorted order of IP addresses returned from get_realserver_endpoints changes between runs because it is not really a sorted order.

node2:
- update template[/etc/haproxy/haproxy.d/vs_horizon-dash_ssl.cfg] from dedcf8 to e90e5a
--- /etc/haproxy/haproxy.d/vs_horizon-dash_ssl.cfg 2013-03-25 13:17:13.000000000 +0000
+++ /tmp/chef-rendered-template20130325-16629-asqvvy 2013-03-25 13:24:21.000000000 +0000
@@ -1,5 +1,5 @@
listen horizon-dash_ssl 192.168.0.251:443
mode tcp
balance source
- server horizon-dash_ssl-1 192.168.0.21:443 check
- server horizon-dash_ssl-2 192.168.0.19:443 check
+ server horizon-dash_ssl-1 192.168.0.19:443 check
+ server horizon-dash_ssl-2 192.168.0.21:443 check

This can happen randomly.

@ghost ghost assigned mancdaz Mar 25, 2013

@galstrom21 galstrom21 closed this Mar 26, 2013

@mancdaz mancdaz referenced this issue in rcbops-cookbooks/openstack-ha Mar 26, 2013

Merged

[DE52] [TA36] allow swift-only attribute && Sort realserver list #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment