mirror of
https://github.com/coelacant1/ProxmoxScripts.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #6] [BUG] Removing cluster node errors on "wait_spin 15" #2
Labels
No labels
bug
bug
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ProxmoxScripts#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oskari on GitHub (Jan 16, 2025).
Original GitHub issue: https://github.com/coelacant1/ProxmoxScripts/issues/6
Description
Apparently there's command that is not defined anywhere? I can't even find on google what
wait_spinshould be?Steps to Reproduce
./GUI.shExpected Behavior
No error, node removed
Screenshots/Logs
Example usage (from script comments):
./RemoveClusterNode.sh [--force] <node_name>
=== Enter parameters for cc_pve/Cluster/RemoveClusterNode.sh (type 'c' to cancel or leave empty to run no-args):
pve-m2
=== Running: cc_pve/Cluster/RemoveClusterNode.sh pve-m2 ===
Node is in a cluster named: Karpalo
Checking for VMs/containers on node "pve-m2"...
=== Removing node "pve-m2" from the cluster ===
[main] notice: resolved node name 'pve-m2' to 'xxx' for default node IP address
[main] notice: forcing local mode (although corosync.conf exists)
Connection to xxx closed.
Running: pvecm delnode pve-m2
Could not kill node (error = CS_ERR_NOT_EXIST)
Killing node 1
/root/ProxmoxScripts/Cluster/RemoveClusterNode.sh: line 104: wait_spin: command not found
[ERROR] line 104, exit code 0 while executing: wait_spin 15
@raymondh2 commented on GitHub (Jan 16, 2025):
You would seem to be correct. I assume it's a variation of the spin function in Utilities.
@coelacant1 commented on GitHub (Jan 18, 2025):
Fixed the issue in the latest commit:
github.com/coelacant1/ProxmoxScripts@1592e55b5aThis was referencing the testing version of the communication/spinner code. Forgot to update this file!
This was replaced with info() / update() / ok() / err() etc, now within the communication utility script