-
Notifications
You must be signed in to change notification settings - Fork 20
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
Investigate why the registry cache cannot pull blobs from ECR #259
Comments
I just stumbled over this issue 😄 I can remember similar issues for gcsweb on prow on GCP when the VMs had a GCP service-account. The application was aware of the service account because of the GCP metadata service and tried to use it. The service account did not have permissions to access the storage buckets (it was a storage bucket in the gcsweb case) at all. Even though the bucket was public, gcsweb could not access it. It is just an idea which came to my mind. I did not investigate the registry-cache case at all yet. |
The issue occurs on all shoots, even in the local setup. |
I found some weirdness about public ECR: https://docs.aws.amazon.com/AmazonECR/latest/public/public-registry-auth.html When I tried for example I think this is the same reason why distribution registry (I used 3.0.0-beta.1) is not working with public ECR. However, when it comes to the private ECR, the same I can only conclude that this is a limitation with public ECR. |
How to categorize this issue?
/area quality
/kind bug
What happened:
The registry cache for some reason cannot pull blobs from ECR (at least from
public.ecr.aws
).What you expected to happen:
The registry cache to pull images from ECR.
How to reproduce it (as minimally and precisely as possible):
Create a Shoot with cache for upstream
public.ecr.aws
Create a Pod from the upstream , for example
public.ecr.aws/nginx/nginx:1.23.0
Make sure the registry-cache fails to pull the blobs
Logs:
Anything else we need to know?:
Similar upstream issue: distribution/distribution#4383
Credits to @dimitar-kostadinov for this finding
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: