-
Notifications
You must be signed in to change notification settings - Fork 105
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
failed to initialize snapshotter: initialize filesystem thin layer: xxxx bootstrap xxxx/image.boot: not found" #632
Comments
In fact, the startup of nydus-snapshotter should not be reversely dependent on the startup of daemon. I think the parent process should not depend on the child process. In theory, the startup of nydus-snapshotter and daemon should be asynchronous, or if a daemon fails to run, it should be cleaned up or the image should be pulled again. |
@zzzyuan0 Did you changed the containerd root directory to |
We found the reason for the loss of bootstrap. It was a problem with the order of running our disk mount program and nydus, which caused nydus-snapshotter to read the unmounted directory (root) and think that the current config was empty. However, when cleaning the bootstrap, the mount was normal and the normal data was read, so all were cleaned up. This caused the config data and bootstrap data to be inconsistent. |
@zzzyuan0 It makes sense, so we need to improve the logic about recovering daemon on the boot stage of snapshotter, ignoring the failed daemons here: |
I'd like to work on this issue. I'll start working on it and submit a PR soon. |
The following error occurs when using nydus snapshotter
The above error occurs after the machine is powered off and restarted. Is it possible that the snapshot was cleaned up earlier, but the initialization operation of the restart was not checked until then? However, I checked the corresponding config and
ctr -n k8s.io image ls| grep xxxx
and found that the corresponding image does exist.The text was updated successfully, but these errors were encountered: