Skip to content
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

`GLIBC_2.28' not found with aws-actions/configure-aws-credentials@v4 action #8779

Closed
DimuthuSig opened this issue Jul 3, 2024 · 2 comments
Closed
Assignees
Labels
bug This issue is a bug.

Comments

@DimuthuSig
Copy link

Describe the bug

The action aws-actions/configure-aws-credentials@v4 fails with the error /__e/node20/bin/node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node) /__e/node20/bin/node: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)

Expected Behavior

Authenticate with assumed role.

Current Behavior

Action fails immediately when running within the amazon/aws-cli:latest container.

Reproduction Steps

Add a Github actions run similar to the following

jobs:

  ecr_login:
    name: Login to ECR
    runs-on: medium
    container:
      image: amazon/aws-cli
    steps:
      - uses: aws-actions/configure-aws-credentials@v4
        with:
          role-to-assume: some-role

Possible Solution

nvm version

Additional Information/Context

No response

CLI version used

2.17.7

Environment details (OS name and version, etc.)

amazon-eks-node-1.28-v20240605

@DimuthuSig DimuthuSig added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jul 3, 2024
@DimuthuSig DimuthuSig changed the title aws-actions/configure-aws-credentials@v4 within Github action fails `GLIBC_2.28' not found with aws-actions/configure-aws-credentials@v4 action Jul 3, 2024
@tim-finnigan tim-finnigan self-assigned this Jul 3, 2024
@tim-finnigan
Copy link
Contributor

Thanks for reaching out — glibc is at the OS layer and so it would need to be provided by whichever distribution you're using. For amazonlinux please consider opening an issue here: https://github.com/amazonlinux. On our end we do have an open feature request for moving to the CLI Docker image to AL2023: #8331.

The default glibc version on AL2023 is 2.34 per https://docs.aws.amazon.com/linux/al2023/ug/glibc-gcc-and-binutils.html. For issues with configure-aws-credentials please consider opening an issue in: https://github.com/aws-actions/configure-aws-credentials/ and share a full workflow file to reproduce the issue.

@tim-finnigan tim-finnigan closed this as not planned Won't fix, can't repro, duplicate, stale Jul 3, 2024
@tim-finnigan tim-finnigan removed the needs-triage This issue or PR still needs to be triaged. label Jul 3, 2024
Copy link

github-actions bot commented Jul 3, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants