最近,我不得不更改我的Nomad主服务器的内部IP。不幸的是,这阻止了Nomad选举领导人...
我该如何重置?
我尝试nomad server force-leave $HOSTNAME
时没有运气。
May 16 13:08:18 tickethub-perm sh[637]: 2019-05-16T13:08:18.547Z [ERROR] nomad: raft: Failed to make RequestVote RPC to {Voter 10.156.0.2:4647 10.156.0.2:4647}: dial tcp 10.156.0.2:4647: i/o timeout
May 16 13:08:19 tickethub-perm sh[637]: 2019-05-16T13:08:19.848Z [ERROR] nomad: raft: Failed to make RequestVote RPC to {Voter 10.156.0.2:4647 10.156.0.2:4647}: dial tcp 10.156.0.2:4647: i/o timeout
May 16 13:08:20 tickethub-perm sh[637]: 2019-05-16T13:08:20.427Z [WARN ] nomad: raft: Election timeout reached, restarting election
May 16 13:08:20 tickethub-perm sh[637]: 2019-05-16T13:08:20.428Z [INFO ] nomad: raft: Node at 10.156.0.3:4647 [Candidate] entering Candidate state in term 364
May 16 13:08:20 tickethub-perm sh[637]: 2019-05-16T13:08:20.431Z [DEBUG] nomad: raft: Votes needed: 1
May 16 13:08:21 tickethub-perm sh[637]: 2019-05-16T13:08:21.025Z [ERROR] nomad: raft: Failed to make RequestVote RPC to {Voter 10.156.0.2:4647 10.156.0.2:4647}: dial tcp 10.156.0.2:4647: i/o timeout
May 16 13:08:21 tickethub-perm sh[637]: 2019-05-16T13:08:21.451Z [WARN ] nomad: raft: Election timeout reached, restarting election
May 16 13:08:21 tickethub-perm sh[637]: 2019-05-16T13:08:21.452Z [INFO ] nomad: raft: Node at 10.156.0.3:4647 [Candidate] entering Candidate state in term 365
May 16 13:08:21 tickethub-perm sh[637]: 2019-05-16T13:08:21.455Z [DEBUG] nomad: raft: Votes needed: 1
May 16 13:08:22 tickethub-perm sh[637]: 2019-05-16T13:08:22.624Z [ERROR] nomad: raft: Failed to make RequestVote RPC to {Voter 10.156.0.2:4647 10.156.0.2:4647}: dial tcp 10.156.0.2:4647: i/o timeout