Hi.
Here in the documentation of a HA Cluster (https://pve.proxmox.com/wiki/Cluster_Manager) in "Remove a Cluster Node" we have the command:
pvecm delnode hp4
The tutorial says to turnoff the server before remove from node, however he give a error:
pvecm delnode MIRROR-USA-VIR-01-PV01
Killing node 4
Could not kill node (error = CS_ERR_NOT_EXIST)
error during cfs-locked 'file-corosync_conf' operation: command 'corosync-cfgtool -k 4' failed: exit code 1
When look in other comments, i look at /etc/pve/members and corosync.conf and nothing wrong there, so, the problem was with status stuck on gui.
The solution is: systemctl stop pve-ha-crm.service && rm -f /etc/pve/ha/manager_status && systemctl start pve-ha-crm.service
In the DOC is important add 'workarounds for remove node errors':
If the command pvecm delnode give a error and when try again the same command returns a: error during cfs-locked 'file-corosync_conf' operation: Node/IP: hp4 is not a known host of the cluster, verify /etc/pve/.members and /etc/pve/corosync.conf if has the removed node name (hp4 in this case). If not found in this files, execute the command ha-manager status. If "unable to read file '/etc/pve/nodes/hp4/lrm_status'" is returned, execute on each server/node:
systemctl stop pve-ha-crm.service && rm -f /etc/pve/ha/manager_status && systemctl start pve-ha-crm.service
This will fix the GUI.
Here in the documentation of a HA Cluster (https://pve.proxmox.com/wiki/Cluster_Manager) in "Remove a Cluster Node" we have the command:
pvecm delnode hp4
The tutorial says to turnoff the server before remove from node, however he give a error:
pvecm delnode MIRROR-USA-VIR-01-PV01
Killing node 4
Could not kill node (error = CS_ERR_NOT_EXIST)
error during cfs-locked 'file-corosync_conf' operation: command 'corosync-cfgtool -k 4' failed: exit code 1
When look in other comments, i look at /etc/pve/members and corosync.conf and nothing wrong there, so, the problem was with status stuck on gui.
The solution is: systemctl stop pve-ha-crm.service && rm -f /etc/pve/ha/manager_status && systemctl start pve-ha-crm.service
In the DOC is important add 'workarounds for remove node errors':
If the command pvecm delnode give a error and when try again the same command returns a: error during cfs-locked 'file-corosync_conf' operation: Node/IP: hp4 is not a known host of the cluster, verify /etc/pve/.members and /etc/pve/corosync.conf if has the removed node name (hp4 in this case). If not found in this files, execute the command ha-manager status. If "unable to read file '/etc/pve/nodes/hp4/lrm_status'" is returned, execute on each server/node:
systemctl stop pve-ha-crm.service && rm -f /etc/pve/ha/manager_status && systemctl start pve-ha-crm.service
This will fix the GUI.
Last edited: