I set up a temp cluster so I could migrate vms from the old host to the new host.
When done, I wanted to remove the node (called p) from the cluster but I get this.
# pvecm delnode p
Killing node 1
unable to open file '/etc/pve/corosync.conf.new.tmp.78679' - Permission denied
On the GUI of the new host, I can still see both nodes but the 'p' node is a red x.
Figured it should simply be gone now, no?
In another post, it is suggested to try the following;
No change. The node continues to show in the hosts list from the new host.
When done, I wanted to remove the node (called p) from the cluster but I get this.
# pvecm delnode p
Killing node 1
unable to open file '/etc/pve/corosync.conf.new.tmp.78679' - Permission denied
Code:
# pvecm status
Cluster information
-------------------
Name: tempClust
Config Version: 2
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Mon Nov 6 17:45:02 2023
Quorum provider: corosync_votequorum
Nodes: 2
Node ID: 0x00000002
Ring ID: 1.16
Quorate: Yes
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 2
Quorum: 2
Flags: Quorate
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.192.215
0x00000002 1 192.168.192.243 (local)
# pvecm nodes
Membership information
----------------------
Nodeid Votes Name
1 1 p
2 1 pro01 (local)
# pvecm delnode p
Killing node 1
unable to open file '/etc/pve/corosync.conf.new.tmp.78679' - Permission denied
# pvecm nodes
Membership information
----------------------
Nodeid Votes Name
2 1 pro01 (local)
root@pro01:~# pvecm status
Cluster information
-------------------
Name: tempClust
Config Version: 2
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Mon Nov 6 17:46:17 2023
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000002
Ring ID: 2.1a
Quorate: No
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 1
Quorum: 2 Activity blocked
Flags:
Membership information
----------------------
Nodeid Votes Name
0x00000002 1 192.168.192.243 (local)
On the GUI of the new host, I can still see both nodes but the 'p' node is a red x.
Figured it should simply be gone now, no?
In another post, it is suggested to try the following;
Code:
# ls -la /etc/pve/nodes/
total 0
dr-xr-xr-x 2 root www-data 0 Oct 13 11:54 .
drwxr-xr-x 2 root www-data 0 Dec 31 1969 ..
dr-xr-xr-x 2 root www-data 0 Oct 13 11:54 p
dr-xr-xr-x 2 root www-data 0 Nov 5 20:17 pro01
# rm -rf /etc/pve/nodes/p/
rm: cannot remove '/etc/pve/nodes/p/lxc': Permission denied
rm: cannot remove '/etc/pve/nodes/p/pve-ssl.key': Permission denied
rm: cannot remove '/etc/pve/nodes/p/lrm_status': Permission denied
rm: cannot remove '/etc/pve/nodes/p/pve-ssl.pem': Permission denied
rm: cannot remove '/etc/pve/nodes/p/priv': Permission denied
rm: cannot remove '/etc/pve/nodes/p/openvz': Permission denied
rm: cannot remove '/etc/pve/nodes/p/qemu-server': Permission denied
# service pve-cluster restart
# ls -la /etc/pve/nodes/
total 0
dr-xr-xr-x 2 root www-data 0 Oct 13 11:54 .
drwxr-xr-x 2 root www-data 0 Dec 31 1969 ..
dr-xr-xr-x 2 root www-data 0 Oct 13 11:54 p
dr-xr-xr-x 2 root www-data 0 Nov 5 20:17 pro01
No change. The node continues to show in the hosts list from the new host.
Last edited: