-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Not able to build eks ami with CIS BENCHMARK AMAZON LINUX 2 #1229
Comments
@sudhanshud See if this PR fixes your issue: #1230 |
Now we are getting below issue. 2023-03-27T11:41:33+05:30: ==> amazon-ebs: Provisioning with shell script: /home/mohanreddy/1.23/amazon-eks-ami/scripts/generate-version-info.sh 2023-03-27T11:41:34+05:30: amazon-ebs: /tmp/script_4278.sh: line 19: /usr/bin/kubelet: Permission denied please test in cis bench amazon linux 2 as a base image and publish latest code. |
Getting error in eks version 1.27, and CIS hardening AL2 amazon-ebs: ctr: failed to dial "/run/containerd/containerd.sock": context deadline exceeded: connection error: desc = "transport: error while dialing: dial unix:///run/containerd/containerd.sock: timeout" |
@cartermckinnon still i am getting this error /sandeep/amazon-eks-ami/scripts/generate-version-info.sh Command : EKS version 1.27 |
we are not able to build eks ami with latest code with base AMI reference of CIS BENCHMARK AMAZON LINUX 2. and it is working for plain amazon linux 2.
getting below error
2023-03-24T16:30:28+05:30: amazon-ebs: Ciphers aes128-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
2023-03-24T16:30:29+05:30: amazon-ebs: mv: cannot stat ‘/tmp/worker/iptables-restore.service’: No such file or directory
2023-03-24T16:30:29+05:30: ==> amazon-ebs: Provisioning step had errors: Running the cleanup provisioner, if present...
2023-03-24T16:30:29+05:30: ==> amazon-ebs: Terminating the source AWS instance...
2023-03-24T16:31:30+05:30: ==> amazon-ebs: Cleaning up any extra volumes...
2023-03-24T16:31:30+05:30: ==> amazon-ebs: No volumes to clean up, skipping
2023-03-24T16:31:30+05:30: ==> amazon-ebs: Deleting temporary security group...
2023-03-24T16:31:30+05:30: ==> amazon-ebs: Deleting temporary keypair...
2023-03-24T16:31:31+05:30: Build 'amazon-ebs' errored after 6 minutes 42 seconds: Script exited with non-zero exit status: 1. Allowed exit codes are: [0]
==> Wait completed after 6 minutes 42 seconds
Note: we were able to build with old code with same cis benchmark ami without any issues and latest code only building with plain amazon linux amis not working for cis bench mark amazon linux 2.
kindly test and revert back as we need to build for eks ami for 1.23 and 1.24 for prod upgrades got stuck over here.
The text was updated successfully, but these errors were encountered: