Orchestrator 클러스터 확장 후 새 노드가 클러스터에 참여할 수 없습니다.

Orchestrator는 Raft 기반의 분산 클러스터입니다.현재 원래 있던 세 개의 노드가 집단을 이루는 기초 위에서 두 개의 노드를 새로 확장하였다.모든 노드가 설정 파일을 업데이트하고 다시 시작하면 새 노드가 그룹에 가입할 수 없습니다.
새 노드 오류 정보;
2020/09/04 15:22:53 [WARN] raft: Heartbeat timeout from "" reached, starting election
2020/09/04 15:22:53 [INFO] raft: Node at 10.77.243.28:10008 [Candidate] entering Candidate state
2020/09/04 15:22:53 [DEBUG] raft: Votes needed: 3
2020/09/04 15:22:53 [DEBUG] raft: Vote granted from 10.77.243.28:10008. Tally: 1
2020/09/04 15:22:53 [WARN] raft: Remote peer 10.23.116.176:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:53 [WARN] raft: Remote peer 10.42.137.68:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:53 [WARN] raft: Remote peer 10.48.153.76:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:53 [DEBUG] raft: Vote granted from 10.8.249.149:10008. Tally: 2
2020/09/04 15:22:54 [WARN] raft: Election timeout reached, restarting election
2020/09/04 15:22:54 [INFO] raft: Node at 10.77.243.28:10008 [Candidate] entering Candidate state
2020/09/04 15:22:54 [DEBUG] raft: Votes needed: 3
2020/09/04 15:22:54 [DEBUG] raft: Vote granted from 10.77.243.28:10008. Tally: 1
2020/09/04 15:22:54 [WARN] raft: Remote peer 10.23.116.176:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:54 [WARN] raft: Remote peer 10.42.137.68:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:54 [WARN] raft: Remote peer 10.48.153.76:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:54 [DEBUG] raft: Vote granted from 10.8.249.149:10008. Tally: 2
2020/09/04 15:22:55 [WARN] raft: Election timeout reached, restarting election
2020/09/04 15:22:55 [INFO] raft: Node at 10.77.243.28:10008 [Candidate] entering Candidate state
2020/09/04 15:22:55 [DEBUG] raft: Votes needed: 3
2020/09/04 15:22:55 [DEBUG] raft: Vote granted from 10.77.243.28:10008. Tally: 1
2020/09/04 15:22:55 [WARN] raft: Remote peer 10.23.116.176:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:55 [WARN] raft: Remote peer 10.42.137.68:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:55 [WARN] raft: Remote peer 10.48.153.76:10008 does not have local node 10.77.243.28:10008 as a peer
2020/09/04 15:22:55 [DEBUG] raft: Vote granted from 10.8.249.149:10008. Tally: 2

github에서 Orchestrator 프로젝트를 본 결과, 최신 버전release v3.2.3 신규 노드에 대한 지원이 추가되었습니다.
support for api/raft-add-peer and api/raft-remove-peer #1208, addressing #253

구체적인 코드는 변동하면 알 수 있다https://github.com/openark/orchestrator/pull/1208/files.
==!
참고 자료
orchestrator GA release v3.2.3

좋은 웹페이지 즐겨찾기