-
Notifications
You must be signed in to change notification settings - Fork 121
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
rpull pulls all layers? #254
Comments
Have you done registry configuration on the snapshotter's side? something like (/etc/containerd-stargz-grpc/config.toml): [[resolver.host."myip:5000".mirrors]]
host = "myip:5000"
insecure = true If it doesn't work, please provide the debug log of |
it still pulls the tar.gzip layers. by the way, i forget to hide my ip address, would you mind hiding it in your comment? |
@nicktming Could you provide the log output from |
there is no output
i already covert my ubuntu image to stargz-format image and pushed to my private registry. but ctr-remote images rpull will pull the tar.gzip layer, as https://github.com/containerd/stargz-snapshotter
it only pulls the manifest config. |
@ktock i tested the
it pulls all the layers, is it the normal case? logs of containerd, containerd-stargz does not output log.
|
Please add
no. Check also |
already installed. |
@nicktming Doesn't |
it has logs now, logs like that: |
@nicktming Please provide the complete log line. It's hard to make sure where is the root cause of that error. |
containerd logs
containerd-stargz logs
|
this log says that you are trying to pull the image from your non-HTTPS (i.e. plain-http) registry As mentioned in #254 (comment), please make sure that your [[resolver.host."<ip>:5000".mirrors]]
host = "<ip>:5000"
insecure = true (replace |
@ktock what is the stability of stargz-snapshotter in the range of different cluster nodes? such as 100+ nodes, 500+nodes, 1000+ nodes, 5000+ nodes . is there any docs to provide this kind of information? |
Though there is no survey about stability, this is one of the topics we'll work on this year. |
@ktock ok, thx. Looking forward to the survey. |
@nicktming |
@ktock it worked with your suggestions, but it failed some times after that with the same command, so i got a little confused. i will get into the details to find what happens if having free times . |
TL;DR It works for me a while ago. But today I found that rpull pulls all the layers. And I confirm it by running in the Docker container provided in
But then I check the |
@nicktming How is this issue going? |
containerd: v1.4.3
stargz-snapshotter: v0.3.0
$ ctr-remote images rpull --plain-http myip:5000/myimage:v0.1
fetching sha256:d737a6fd... application/vnd.docker.distribution.manifest.v2+json
fetching sha256:8c4e826b... application/vnd.docker.container.image.v1+json
fetching sha256:0703b966... application/vnd.docker.image.rootfs.diff.tar.gzip
fetching sha256:e966595c... application/vnd.docker.image.rootfs.diff.tar.gzip
fetching sha256:3b36b637... application/vnd.docker.image.rootfs.diff.tar.gzip
is it normal case? it pulls the tar.gzip besides image manifest/config files. and it is pending here, rpull takes a long time.
The text was updated successfully, but these errors were encountered: