-
Notifications
You must be signed in to change notification settings - Fork 582
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
etcd-snapshot save without local state file waits for state file to get copied #2492
Comments
This needs to be tested so that without a state file, the logging for waiting for state file to be copied is not seen. And a regular snapshot-save with state file present should still work as normal. |
Reproduced on rke version v1.2.6
Now removed the
|
Verified on the rke version
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RKE version:
v1.2.6
Steps to Reproduce:
cluster.yml
rke up
cluster.rkestate
rke etcd-snapshot save
Results:
See the process trying to copy the state file and waiting for the state file to be copied (around 20-30 seconds) and still successfully create the snapshot but waiting for the state file is unnecessary.
We probably need to error out without a local state file to indicate the state file is missing and add a flag to override it without local state (in the case we just need the etcd snapshot) and skip the copy state step to save time.
gz#14991
The text was updated successfully, but these errors were encountered: