Skip to content
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

Unable to run nydus images from private registry(ecr) aws #1648

Open
gane5hvarma opened this issue Nov 22, 2024 · 0 comments
Open

Unable to run nydus images from private registry(ecr) aws #1648

gane5hvarma opened this issue Nov 22, 2024 · 0 comments

Comments

@gane5hvarma
Copy link

Additional Information

Hi, I'm running nydus snapshotter in eks(k8s). Im facing a problem when nydus images are stored in private registry(ecr). Following are the logs of the pod. Normal docker images from ecr are working fine, the problem is with nydus image

Warning  Failed  13s               kubelet  Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount1813997578: read /var/lib/containerd/tmpmounts/containerd-mount1813997578/etc/passwd: invalid argument
  Warning  Failed  13s               kubelet  Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount2887762423: read /var/lib/containerd/tmpmounts/containerd-mount2887762423/etc/passwd: invalid argument
  Normal   Pulled  1s (x3 over 14s)  kubelet  Container image "089962644720.dkr.ecr.us-east-1.amazonaws.com/nydus-test:7b1afd3b8ef94e638570136cf88e0738-nydus" already present on machine
  Warning  Failed  1s                kubelet  Error: failed to create containerd container: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount3406305402: read /var/lib/containerd/tmpmounts/containerd-mount3406305402/etc/passwd: invalid argument

Version of nydus being used (nydusd --version)

Version of nydus-snapshotter being used (containerd-nydus-grpc --version)

Kernel information (uname -r)

_command result: x.xx.xxx-xxx.xxx.amzn2.x86_64

GNU/Linux Distribution, if applicable (cat /etc/os-release)

command result: cat /etc/os-release

containerd-nydus-grpc command line used, if applicable (ps aux | grep containerd-nydus-grpc)

containerd-nydus-grpc --nydusd /usr/local/bin/nydusd --nydusd-config /etc/nydus/config.json --root /var/lib/containerd-nydus --address /run/containerd-nydus/containerd-nydus-grpc.sock --log-level info --daemon-mode multiple --log-to-stdout

client command line used, if applicable (such as: nerdctl, docker, kubectl, ctr)

kubectl

Screenshots (if applicable)

Details about issue

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

No branches or pull requests

1 participant