You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gabrieldemarmiesse Do you use SIGINT to stop snapshotter? If so, please try SIGTERM.
And, as of now, you need to re-run containers too.
If you use SIGINT, it performs graceful cleanup which unmounts and deletes all snapshots under /var/lib/containerd-stargz-grpc.
This is useful to make sure the node is fully cleaned up but, as of now, restoring snapshots isn't supported for SIGINT.
If you use other signal (e.g. SIGTERM) to stop the snapshotter, it doesn't perform this cleanup and restore will hopefully work.
Oups, sorry, I totally forgot to answer. The bug was triggerred because I rebooted my pc. I can confirm that with ctrl-c (sigint), the cleanup is done and there is no issue. We can close this :)
I'm using ECR and nerdctl, and credentials for ecr expire after 12 hours, so that might impact stargz after a reboot.
EDIT: It might have something to do with #314 but I'm not sure.
The text was updated successfully, but these errors were encountered: