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

Helm installation fails #1330

Closed
dumlutimuralp opened this issue Apr 27, 2024 · 5 comments
Closed

Helm installation fails #1330

dumlutimuralp opened this issue Apr 27, 2024 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@dumlutimuralp
Copy link

/kind bug

What happened? When I used helm to install EFS CSI Driver I received the following error :

Warning  Failed     17m (x2 over 17m)     kubelet            Failed to pull image "amazon/aws-efs-csi-driver:v2.0.1": rpc error: code = NotFound desc = failed to pull and unpack image "[docker.io/amazon/aws-efs-csi-driver:v2.0.1](http://docker.io/amazon/aws-efs-csi-driver:v2.0.1)": failed to resolve reference "[docker.io/amazon/aws-efs-csi-driver:v2.0.1](http://docker.io/amazon/aws-efs-csi-driver:v2.0.1)": [docker.io/amazon/aws-efs-csi-driver:v2.0.1](http://docker.io/amazon/aws-efs-csi-driver:v2.0.1): not found

It seems that helm values should be updated with the ECR repository path due to this PR. It still points out to Docker repo (this part in the Helm here)

What you expected to happen? The image to be pulled successfully.

How to reproduce it (as minimally and precisely as possible)? Use helm to install EFS CSI Driver

Anything else we need to know?:

Environment

  • Kubernetes version (use kubectl version): Amazon EKS 1.29
  • Driver version: 2.0.1

Please also attach debug logs to help us better diagnose

  • Instructions to gather debug logs can be found here
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 27, 2024
@calvinbui
Copy link

i ran into the same issue.

#1323 forgot to change the image.repository to public.ecr.aws/efs-csi-driver/amazon/aws-efs-csi-driver.

the tests/qa/ci should've caught this and probably needs to.

@dongminlee94
Copy link

I am currently experiencing the same issue as reported. I hope it can be resolved quickly.

@mskanth972
Copy link
Contributor

Hi, thanks for bringing this to our attention. I've opened a PR that should resolve this. We will work on creating a test to catch this issue in the future.

@dongminlee94
Copy link

Hi, @mskanth972

Thank you for the support and the PR addressing the installation issues. I'm pleased to report that the issue has been resolved! By removing and re-adding the Helm repository with the following commands, I was able to successfully deploy the AWS EFS CSI Driver:

$ helm repo remove aws-efs-csi-driver
$ helm repo add aws-efs-csi-driver https://kubernetes-sigs.github.io/aws-efs-csi-driver

This resolved the ImagePullBackOff errors I was facing. Thanks again for your prompt assistance and dedication to resolving this issue.

@mskanth972
Copy link
Contributor

Closing the issue as the new helm version(v3.0.2) is able to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants