-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The server flag should be skipped or present an error during a cluster-reset #3178
Comments
This should probably be handled as an error. It does not make sense to allow a server with the Ignoring it is also an option, but I think the user should need to explicitly remove the server configuration. |
Validated on Version:-$ rke2 version v1.28.2+dev.f8cb4092 (f8cb409287ac09608d3d2fbac364dddb05400a3e)
Environment DetailsInfrastructure Node(s) CPU architecture, OS, and Version: Cluster Configuration: Steps to validate the fix
Reproduction Issue:
Validation Results:
|
Environmental Info:
RKE2 Version:
All v1.22, v1.23, and v1.24
Node(s) CPU architecture, OS, and Version:
Any
Cluster Configuration:
3 servers 1 agent, running cluster-reset on 1 server that was NOT the initial server
Describe the bug:
When running cluster-reset on a server node that was not the initial bootstrap server, and therefore has the
server
flag in the config.yaml, it fails to complete successfully. Instead, it constantly loops with:If I remove the
server
flag from the config, the reset is successful.Steps To Reproduce:
Expected behavior:
The command should complete successfully.
Actual behavior:
The command loops forever with the logs shown above.
Additional context / logs:
N/A
The text was updated successfully, but these errors were encountered: