Skip to content

Doc: make sure snapshotter's root dir exist #581

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

Merged
merged 1 commit into from
Jul 9, 2022

Conversation

liubogithub
Copy link
Collaborator

For the very 1st run, snapshotter's root dir may not exist, leading to errors such as,

"
sudo ctr run --rm -t --snapshotter=nydus docker.io/hsiangkao/ubuntu:20.04-rafs-v6 ubuntu /bin/bash
ctr: failed to mount daemon wMZ3kd7hRWCtE1M_5bnfVA: failed to shared mount: failed to share mount: failed to create new nydus client: failed to build transport for nydus client: stat /var/lib/containerd/io.containerd.snapshotter.v1.nydus/socket/shared_daemon/api.sock: no such file or directory: unknown
"

Reported-by: Benjamin Huang [email protected]
Signed-off-by: Liu Bo [email protected]

For the very 1st run, snapshotter's root dir may not exist, leading to errors such as,

"
sudo ctr run --rm -t --snapshotter=nydus docker.io/hsiangkao/ubuntu:20.04-rafs-v6 ubuntu /bin/bash
ctr: failed to mount daemon wMZ3kd7hRWCtE1M_5bnfVA: failed to shared mount: failed to share mount: failed to create new nydus client: failed to build transport for nydus client: stat /var/lib/containerd/io.containerd.snapshotter.v1.nydus/socket/shared_daemon/api.sock: no such file or directory: unknown
"

Reported-by: Benjamin Huang <[email protected]>
Signed-off-by: Liu Bo <[email protected]>
@yqleng1987
Copy link
Contributor

@liubogithub , a new test job has been submitted. Please wait in patience.

@yqleng1987
Copy link
Contributor

@liubogithub , The CI test is completed, please check result:

Test CaseTest Result
merge-target-branch✅SUCCESS
build-docker-image✅SUCCESS
compile-nydus✅SUCCESS
compile-ctr-remote✅SUCCESS
compile-nydus-snapshotter✅SUCCESS
start-nydus-snapshotter-config-containerd✅SUCCESS
run-container-with-nydus-image✅SUCCESS

Congratulations, your test job passed!

@jiangliu jiangliu merged commit 07fbb02 into dragonflyoss:master Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants