Changed the IP addresses of both nodes in a 2 node cluster and now /etc/pve is empty and my cluster wont start.

0daymaster

New Member
Jul 17, 2022
2
0
1
I followed the guide in this forum regarding changing IP addresses and changed both addresses in a two node cluster. After updating /etc/hosts and rebooting, the IP addresses changed as expected, but corosync will not start.

/etc/hosts on host "sv-pve-1"
Code:
127.0.0.1 localhost.localdomain localhost
10.27.1.41 sv-pve-1.corp.[REDACTED].com sv-pve-1

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

/etc/hosts on host "sv-pve-2"

Code:
127.0.0.1 localhost.localdomain localhost
10.27.1.42 sv-pve-2.corp.[REDACTED].com sv-pve-2

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

After rebooting corosync will not start. journalctl -xe reveals this over and over:

Code:
pveproxy[2761]: worker exit
pveproxy[2762]: worker exit
pveproxy[1732]: worker 2761 finished
pveproxy[1732]: worker 2760 finished
pveproxy[1732]: worker 2762 finished
pveproxy[1732]: starting 3 worker(s)
pveproxy[1732]: worker 2763 started
pveproxy[1732]: worker 2764 started
pveproxy[1732]: worker 2765 started
pveproxy[2763]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm lied to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1917.
pveproxy[2764]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm lied to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1917.
pveproxy[2765]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm lied to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1917.

I have tried doing everything others have done to resolve this problem and nothing is working. Is it time to back up my VMs and start fresh?
 
Hi,

Did you change the iP in /etc/hosts and /etc/network/interfaces and /etc/pve/corosync.conf?
 

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!