You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm start confd, waiting few seconds. Cond generate haproxy config right. I'm stoping one node of patroni, waiting 1 minute, to disapear znode from zookeeper and config has changed exptectialy, the one node disapear from haproxy config
After this i'm start the patroni node, at first config changed right. But after few seconds config reverted to state without second patroni node while in zookeeper all 2 znode exist and have right data.
If restart confd at this point, the config will regenerate right.
If change interval to from 1 to 5 this behaviour not so frequent, but repeats. I'm need confidence that confd work right.
If use -oneshot and start confd in bash script all work well. But spawn avery 1 second new process is bad.
here the last state of zookeeper after enable patroni node back:
ls /patroni/15-main/members
Hello
I'm setup patroni cluster, and use confd to configure haproxy.
Backend zookeeper
Confd configs structure
cat confd.toml
cat conf.d/haproxy.toml
cat templates/haproxy.tmpl
start command:
I'm start confd, waiting few seconds. Cond generate haproxy config right. I'm stoping one node of patroni, waiting 1 minute, to disapear znode from zookeeper and config has changed exptectialy, the one node disapear from haproxy config
After this i'm start the patroni node, at first config changed right. But after few seconds config reverted to state without second patroni node while in zookeeper all 2 znode exist and have right data.
If restart confd at this point, the config will regenerate right.
If change interval to from 1 to 5 this behaviour not so frequent, but repeats. I'm need confidence that confd work right.
If use -oneshot and start confd in bash script all work well. But spawn avery 1 second new process is bad.
here the last state of zookeeper after enable patroni node back:
ls /patroni/15-main/members
get /patroni/15-main/members/devlocal20
get /patroni/15-main/members/devlocal20-2
Here the full log of confd with this behaviour
The text was updated successfully, but these errors were encountered: