aws-node-termination-handler icon indicating copy to clipboard operation
aws-node-termination-handler copied to clipboard

Missing v1.21.0 image on public ecr

Open adrianmelero-madiva opened this issue 1 year ago • 10 comments

Missing v1.21.0 image on public ecr.

adrianmelero-madiva avatar Feb 02 '24 08:02 adrianmelero-madiva

Could we please have Helm build for latest release as well? https://gallery.ecr.aws/aws-ec2/helm/aws-node-termination-handler

toha-nordic avatar Feb 02 '24 12:02 toha-nordic

Hello, there is an issue with the release workflow; we are working on a resolution.

cjerad avatar Feb 02 '24 17:02 cjerad

As of February 6, 2024, the v1.21.0 image does not exist in ECR Public Gallery.

image

 

More details: When installed with NTH helm v1.21.0, all aws-node-termination-handler daemonset pods get an ImagePullBackOff error.

$ kubectl get pod \
    -n kube-system \
    -l app.kubernetes.io/instance=aws-node-termination-handler
NAME                                 READY   STATUS             RESTARTS   AGE
aws-node-termination-handler-4c58t   0/1     ImagePullBackOff   0          111s
aws-node-termination-handler-4qq8w   1/1     Terminating        0          10h
aws-node-termination-handler-rklfb   0/1     ImagePullBackOff   0          35m
aws-node-termination-handler-tsbj5   0/1     ImagePullBackOff   0          31m
aws-node-termination-handler-wl928   0/1     ImagePullBackOff   0          14m
# Describe pod using k9s
...
Events:
  Type     Reason           Age                   From               Message
  ----     ------           ----                  ----               -------
  Warning  PolicyViolation  32m (x2 over 32m)     kyverno-scan       policy disallow-host-path/host-path fail: validation error: HostPath volumes are forbidden. The field spec.volumes[*].hostPath must be unset. rule host-path failed at path /spec/volumes/0/hostPath/
  Normal   Scheduled        33m                   default-scheduler  Successfully assigned kube-system/aws-node-termination-handler-rklfb to ip-10-xx-xx-xxx.ap-northeast-2.compute.internal
  Normal   Pulling          31m (x4 over 33m)     kubelet            Pulling image "public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.21.0"
  Warning  Failed           31m (x4 over 33m)     kubelet            Failed to pull image "public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.21.0": rpc error: code = NotFound desc = failed to pull and unpack image "public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.21.0": failed to resolve reference "publi
c.ecr.aws/aws-ec2/aws-node-termination-handler:v1.21.0": public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.21.0: not found
  Warning  Failed           31m (x4 over 33m)     kubelet            Error: ErrImagePull
  Warning  Failed           31m (x6 over 33m)     kubelet            Error: ImagePullBackOff
  Normal   BackOff          3m9s (x130 over 33m)  kubelet            Back-off pulling image "public.ecr.aws/aws-ec2/aws-node-termination-handler:v1.21.0"

younsl avatar Feb 06 '24 01:02 younsl

Looks that there is also no info about it in helm repo?

STDERR:
  Error: public.ecr.aws/aws-ec2/helm/aws-node-termination-handler:0.23.0: not found

tomislater avatar Feb 06 '24 15:02 tomislater

@cjerad any update?

reneeckstein avatar Feb 07 '24 09:02 reneeckstein

CC @bwagner5

stevehipwell avatar Feb 07 '24 16:02 stevehipwell

@cjerad any update?

Hi @reneeckstein, a proposed fix has been implemented and a PR is in draft.

Thanks everyone for your interest in this release. We will post progress updates to this thread.

cjerad avatar Feb 08 '24 16:02 cjerad

Any updates

CAR6807 avatar Feb 08 '24 16:02 CAR6807

Hello everyone, we attempted to re-create the release today but have encountered another issue in the workflow.

cjerad avatar Feb 12 '24 21:02 cjerad

@cjerad Any update on v1.21.0?

markshawtoronto avatar Mar 01 '24 14:03 markshawtoronto

Hello everyone, thank you for your patience. NTH v1.21.0, and the Helm chart v0.23.0, are now available.

cjerad avatar Mar 12 '24 20:03 cjerad