aws-actions / configure-aws-credentials

Configure AWS credential environment variables for use in other GitHub Actions.
MIT License
2.37k stars 461 forks source link

Issue with aws-actions/configure-aws-credentials@v1 - GLIBC_2.28' not found #1106

Open karty-s opened 1 week ago

karty-s commented 1 week ago

Describe the bug

HI Team, our github actions workflows which uses the configure aws actions V1 started failing with the below error from past two days :-

Run aws-actions/configure-aws-credentials@v1
/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)

we tried using the V3 and V4 as well but no luck, kindly provide a fix for this. runner os - amazon linux 2

Expected Behavior

The action should be able to fetch the glib 2.26 available with node20 AL2 , or use the node16 available with the runner instance

Current Behavior

currently the action picks up node20 which supports glib2.28 which is available in AL 2 +

Reproduction Steps

os version - Amazon linux 2 node version - node 20 action - Run aws-actions/configure-aws-credentials@v1 error :- /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: versionGLIBC_2.28' not found (required by /opt/actions-runner/externals/node20/bin/node)

Possible Solution

No response

Additional Information/Context

No response

Bubbassauro commented 1 week ago

As a workaround to fix our GA, we had to add this to the workflow level, according to this discussion: https://github.com/actions/checkout/issues/1809#issuecomment-2208202462

env:
  ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

and reverted to using:

uses: aws-actions/configure-aws-credentials@v1-node16
tim-finnigan commented 1 week ago

Thanks for reaching out, other workarounds were referenced here as well: https://github.com/aws-actions/configure-aws-credentials/issues/862. AL2 uses glibc 2.26 per https://docs.aws.amazon.com/linux/al2023/ug/glibc-gcc-and-binutils.html. I'm able to run v4 on ubuntu-latest (Ubuntu 22.04.4 LTS) with Node 18.