kube-tools icon indicating copy to clipboard operation
kube-tools copied to clipboard

Seg fault on aws command

Open frederikcolardyn opened this issue 4 years ago • 2 comments
trafficstars

Since a week, we can no longer use this images in our gitlab ci/cd pipeline to deploy to kubernetes. Every aws command exits promptly with a segfault error. Prior to this week the image worked flawless.

Using image:

jshimko/kube-tools-aws:latest on Amazon Linux EKS optimized AMI 1.20.7-20210914

Output:

/bin/bash: line 177: 21 Segmentation fault (core dumped) aws eks --region $AWS_DEFAULT_REGION update-kubeconfig --name $EKS_CLUSTER

frederikcolardyn avatar Oct 08 '21 08:10 frederikcolardyn

Version 3.7.0 still works.

frederikcolardyn avatar Oct 08 '21 10:10 frederikcolardyn

I just tried this and it worked...

docker run -it \
  -e AWS_ACCESS_KEY_ID="<AWS key>" \
  -e AWS_SECRET_ACCESS_KEY="<AWS secret>" \
  -e AWS_DEFAULT_REGION="us-west-2" \
  jshimko/kube-tools-aws:3.8.0

aws eks list-clusters

aws eks update-kubeconfig --name $CLUSTER_NAME

kubectl get nodes

If it's still not working for you, can you try the 3.8.1 build I just pushed up. I just want to see if a dependency I updated in 3.8.0 had anything to do with your issue.

jshimko avatar Oct 08 '21 17:10 jshimko