-
Notifications
You must be signed in to change notification settings - Fork 24
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
Mark invalid snapshots as obsolete #720
Comments
I think last point is already fixed by implementing #841 which maintains up-to-date list of snapshots.
|
I have tested the following scenario: Deploy cluster at version 1.31 -> Take S3 snapshots -> Update cluster to 1.32 -> Restore S3 snapshots from 1.31: In this case, the restore seems to have no effect as the control planes appear to be running in different versions for a short period of time but eventually the nodes running the previous version become
After restore
It's worth noting that currently we only support creation of local snapshots from the management cluster. So attempting to restore S3 snapshots manually (as I've done above) and not through the management cluster may be out-of-scope for the time being. |
Another scenario that I've tested: Deploy cluster at version 1.31 -> Take local snapshot from mgmt cluster via the ETCDMachineSnapshot resource -> Restore snapshot from mgmt cluster via the ETCDSnapshotRestore resource: This time snapshot restore worked as expected and the cluster was fully operational after restore. |
In general, since the current implementation of ETCD snapshot/restore in Turtles only supports local snapshots, it doesn't make a lot of sense to test the scenarios above:
For the reasons above, it probably makes sense to close this issue and create a new one once we have S3 support implemented, wdyt @alexander-demicev ? |
Moving back to backlog until we make a firm decision on the future of this. |
We need to mark invalid as obsolete and prevent using obsolete snapshots when performing a restore. The snapshot is obsolete when:
The text was updated successfully, but these errors were encountered: