[SOLVED] Erro ao ingressar nó ao cluster

manzke89

New Member
Sep 1, 2023
25
0
1
Tenho um cluster com 4 nós, precisei refazer 2 deles, utilizei o comando pvecm delnode node2 para remover o mesmo, e o procedimento normal pela dashboard para ingressar ao cluster. Estou tendo o seguinte problema, ao executar replicação estou obtendo erros, e ao fazer o migration também estou tendo erros. A versão de todos nós são 8.0.3, segue abaixo as imagens de erro.
1693850847565.png
1693850929570.png
 
Hello, is the cluster working correctly? e.g. whats the output of `pvecm status`.

If it is working correctly, does `pvecm updatecerts` improves the situation?
 
Hello, is the cluster working correctly? e.g. whats the output of `pvecm status`.

If it is working correctly, does `pvecm updatecerts` improves the situation?
Ola, a saida pvecm status:
Cluster information
-------------------
Name: cluster
Config Version: 9
Transport: knet
Secure auth: on

Quorum information
------------------
Date: Tue Sep 5 07:53:54 2023
Quorum provider: corosync_votequorum
Nodes: 4
Node ID: 0x00000003
Ring ID: 1.3e3
Quorate: Yes

Votequorum information
----------------------
Expected votes: 4
Highest expected: 4
Total votes: 4
Quorum: 3
Flags: Quorate

Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.20.201
0x00000002 1 192.168.20.202
0x00000003 1 192.168.20.133 (local)
0x00000004 1 192.168.20.117

E o comando pvecm updatecerts tambem não resolveu.
 
Whats the output of `pvecm updatecerts`? Have you touched the SSH keys? It seems like the SSH keys of the nodes changed at some point from the error.
 
Whats the output of `pvecm updatecerts`? Have you touched the SSH keys? It seems like the SSH keys of the nodes changed at some point from the error.

pvecm updatecerts
(re)generate node files
merge authorized SSH keys and known hosts

Após reingressar os nodes eu atualizei a chave ssh nos servidores e todos conseguem acessar um ao outro sem a necessidade de senha.
 
Resolvi fazendo o seguinte procedimento:
Em cada node do cluster

ssh-keygen -f "/etc/ssh/ssh_known_hosts" -R "node1"

/usr/bin/ssh -e none -o 'HostKeyAlias=node1' root@192.168.20.117 /bin/true


Com isso todas funções voltaram a funcionar.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!