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
After bootstrap, vbox3 was become a leader in this cluster. Then I restart vbox3, a new leader vbox1 was elected. When I restart vbox1, leadership was turn back to vbox3. This is the ouput below:
xxx@vbox3:~/dkron$ ./dkron agent --config=config.yml
INFO[2022-05-16T21:18:20+08:00] agent: Dkron agent starting node=vbox3
INFO[2022-05-16T21:18:20+08:00] agent: joining: [192.168.56.103 192.168.56.104 192.168.56.105] replay: true node=vbox3
INFO[2022-05-16T21:18:20+08:00] agent: joined: 3 nodes node=vbox3
INFO[2022-05-16T21:18:20+08:00] api: Running HTTP server address=":8080" node=vbox3
INFO[2022-05-16T21:18:20+08:00] dkron: monitoring leadership node=vbox3
INFO[2022-05-16T21:18:20+08:00] agent: registering usage stats for cluster ID '9xcWVuPZKGLuJx0VJKroc4qphQhm/jUv1FEceqEPWRQ=' node=vbox3
WARN[2022-05-16T21:18:20+08:00] agent: unable to create the usage report client:Post "https://stats.dkron.io/session": dial tcp: lookup stats.dkron.io on 127.0.0.53:53: server misbehaving node=vbox3
INFO[2022-05-16T21:18:20+08:00] agent: Listen for events node=vbox3
INFO[2022-05-16T21:18:21+08:00] agent: Received event event=member-join node=vbox3
INFO[2022-05-16T21:18:21+08:00] adding server node=vbox3 server=vbox2
INFO[2022-05-16T21:18:21+08:00] adding server node=vbox3 server=vbox1
INFO[2022-05-16T21:18:21+08:00] agent: Received event event=member-update node=vbox3
ERRO[2022-05-16T21:18:23+08:00] no member leader found in member list node=vbox3
INFO[2022-05-16T21:18:57+08:00] dkron: cluster leadership acquired node=vbox3
INFO[2022-05-16T21:18:57+08:00] dkron: monitoring leadership node=vbox3
INFO[2022-05-16T21:18:57+08:00] agent: Starting scheduler node=vbox3
INFO[2022-05-16T21:19:01+08:00] agent: Received event event=member-failed node=vbox3
INFO[2022-05-16T21:19:01+08:00] removing server vbox1 (Addr: 192.168.56.103:6868) (DC: dc1) node=vbox3
INFO[2022-05-16T21:19:01+08:00] agent: Received event event=member-update node=vbox3
INFO[2022-05-16T21:19:13+08:00] agent: Received event event=member-update node=vbox3
INFO[2022-05-16T21:19:18+08:00] dkron: cluster leadership lost node=vbox3
INFO[2022-05-16T21:19:18+08:00] dkron: monitoring leadership node=vbox3
ERRO[2022-05-16T21:19:19+08:00] no member leader found in member list node=vbox3
INFO[2022-05-16T21:19:21+08:00] dkron: cluster leadership acquired node=vbox3
INFO[2022-05-16T21:19:21+08:00] dkron: monitoring leadership node=vbox3
INFO[2022-05-16T21:19:21+08:00] agent: Starting scheduler node=vbox3
ERRO[2022-05-16T21:19:21+08:00] dkron: failed to establish leadership error="cron is already configured, can not start scheduler" node=vbox3
INFO[2022-05-16T21:20:21+08:00] agent: Starting scheduler node=vbox3
ERRO[2022-05-16T21:20:21+08:00] dkron: failed to establish leadership error="cron is already configured, can not start scheduler" node=vbox3
INFO[2022-05-16T21:21:21+08:00] agent: Starting scheduler node=vbox3
ERRO[2022-05-16T21:21:21+08:00] dkron: failed to establish leadership error="cron is already configured, can not start scheduler" node=vbox3
INFO[2022-05-16T21:22:21+08:00] agent: Starting scheduler node=vbox3
ERRO[2022-05-16T21:22:21+08:00] dkron: failed to establish leadership error="cron is already configured, can not start scheduler" node=vbox3
INFO[2022-05-16T21:23:21+08:00] agent: Starting scheduler node=vbox3
ERRO[2022-05-16T21:23:21+08:00] dkron: failed to establish leadership error="cron is already configured, can not start scheduler" node=vbox3
INFO[2022-05-16T21:24:21+08:00] agent: Starting scheduler node=vbox3
ERRO[2022-05-16T21:24:21+08:00] dkron: failed to establish leadership error="cron is already configured, can not start scheduler" node=vbox3
version
xxx@vbox1:~/dkron$ ./dkron version
INFO[0000] No valid config found: Applying default values. error="Config File \"dkron\" Not Found in \"[/etc/dkron /home/xiao/.dkron /home/xiao/dkron/config]\""
Name: Dkron
Version: 3.1.11
Codename: merichuas
Agent Protocol: 5 (Understands back to: 2)
I have 3 nodes:
After bootstrap, vbox3 was become a leader in this cluster. Then I restart vbox3, a new leader vbox1 was elected. When I restart vbox1, leadership was turn back to vbox3. This is the ouput below:
version
config.yml
The text was updated successfully, but these errors were encountered: