-
Notifications
You must be signed in to change notification settings - Fork 473
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
AWS Self Hosted runner fails with Node error #862
Comments
Hello @tbulding , Thank you very much for your submission. As you can see in the changelog, the difference between configure-aws-credentials v3 and v4 is that we have upgraded runtime to node20 from node16. What OS and glibc version are you using? Node16 and Node20 don't have the same requirements which is why you might experience this error by upgrading from v3 to v4. I have linked the Building.md file for node16 and node20 respectively above so you can check if you are meeting all requirement. Let me know if this helps you resolve your issue or if you have any further questions or inquiries! Best regards, Yasmine |
I suspect you're running this on EL7 (CentOS, RHEL, etc.). Although the GitHub runner documentation says that CentOS 7 is supported, I'm not sure this is true for recent versions of the GitHub runner. Does this still happen if you use version 2.285 of the runner? This was the first release to support Node 16. |
Hello, thank you for the prompt replies. The build is using ec2 instances on al2, This is a new deployment using the latest runner code. |
I encountered this even when using latest docker image from amazon for aws cli (amazon/aws-cli:2.15.11); I would have thought that this way would be compatible. |
I get these same error messages if I try to set up AWS credentials when running:
The same credential setup action is successful if I replace the Docker image with one based on Ubuntu (Focal or Jammy, both work.) Seems like there is definitely some issue between v4 of this action and AL2. |
1. Downgrade AWS authentication v3 (see aws-actions/configure-aws-credentials#862) 2. Add missing needs label to the benchmark job
1. Downgrade AWS authentication v3 (see aws-actions/configure-aws-credentials#862) 2. Add missing needs label to the benchmark job
Same issue is happening for us. However we are using the default GitHub runners with the aws-cli:2.15.44 container. The workaround: configure-aws-credentials@v3 does not fix it for us though. |
I am also experiencing this issue with v3. Downgrading to v2 and v1 does not work either. |
Same issue |
|
Was able to get a workaround following this comment: dawidd6/action-download-artifact#262 (comment) Details here: |
The workaround which @timbrunette mentioned worked for me as well.
and
|
Describe the bug
When authenticating with a Self Hosted runner that runs on AWS, the action fails with the following error...
Run aws-actions/configure-aws-credentials@v4
/opt/actions-runner/externals/node20/bin/node: /lib64/libm.so.6: version
GLIBC_2.27' not found (required by /opt/actions-runner/externals/node20/bin/node) /opt/actions-runner/externals/node20/bin/node: /lib64/libc.so.6: version
GLIBC_2.28' not found (required by /opt/actions-runner/externals/node20/bin/node)Expected Behavior
Run aws-actions/configure-aws-credentials@v3
Proceeding with IAM user credentials
Current Behavior
Run aws-actions/configure-aws-credentials@v4
/opt/actions-runner/externals/node20/bin/node: /lib64/libm.so.6: version
GLIBC_2.27' not found (required by /opt/actions-runner/externals/node20/bin/node) /opt/actions-runner/externals/node20/bin/node: /lib64/libc.so.6: version
GLIBC_2.28' not found (required by /opt/actions-runner/externals/node20/bin/node)Reproduction Steps
Possible Solution
I was able to execute the authentication simply by going down to version 3
- name: Step 2 - Configure AWS Credentials
if: ${{ always() }} # This ensures that your workflow runs successfully
uses: aws-actions/configure-aws-credentials@v3
with:
aws-region: ${{ env.AWS_REGION }}
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: