-
Notifications
You must be signed in to change notification settings - Fork 600
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
Question: GLIBC_2.27 failure (base linux image) #3497
Comments
Same issue here using anything above node 16 on the base Amazon Linux image. I tried to add the below to use the Ubuntu one but then for some reason while the EC2 instance spins up it fails to run the job and GitHub Actions hangs. Any guidance on getting node 18+ working for anyone?
|
you need to use Amazon Linux 2023. They are working on it here #3437. If you want to workaround this while they fix it, modify the user-data to install |
We just started seeing all new runner instances start failing with this issue. Curious to know why that would have happened if this underlying problem has been present for a couple weeks. |
This also just started failing for me, appears to be tripped by an update to the actions runner -- actions/runner#2844 The latest release https://github.com/actions/runner/releases/tag/v2.310.0 includes this change to update the default version to node20. I've attempted adding Edit: Just figured out a workaround, but it's only for ephemeral runners. Will need adjustment if you're not using
|
For anyone coming here, here's a fairly simple workaround that worked for me - integrating the AL2023 PR. This works for x64 amazon linux (the defaults). ami_filter = { name = ["al2023-ami-2023.*-kernel-6.*-x86_64"], state = ["available"] }
userdata_template = "${path.module}/user-data.sh" Where #!/bin/bash -e
exec > >(tee /var/log/user-data.log | logger -t user-data -s 2>/dev/console) 2>&1
# AWS suggest to create a log for debug purpose based on https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-log-user-data/
# As side effect all command, set +x disable debugging explicitly.
#
# An alternative for masking tokens could be: exec > >(sed 's/--token\ [^ ]* /--token\ *** /g' > /var/log/user-data.log) 2>&1
set +x
%{ if enable_debug_logging }
set -x
%{ endif }
${pre_install}
dnf upgrade-minimal -y
# Install docker
dnf install -y docker
service docker start
usermod -a -G docker ec2-user
dnf install -y amazon-cloudwatch-agent jq git
dnf install -y --allowerasing curl
user_name=ec2-user
# Install libicu on non-ubuntu
if [[ ! "$os_id" =~ ^ubuntu.* ]]; then
dnf install -y libicu
fi
${install_runner}
${post_install}
${start_runner} And apply |
You could also add a line:
or in then run a Make sure to terminate previous EC2 instances. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions. |
I am not sure does it right place or not.
I am having issues with many simple actions now
I assume that this is due to the base image on which my actions are run.
I do not use custom AMI, therefore I think this kind of failure may affect many people. Can you please tell me which way to look to fix this error?
The text was updated successfully, but these errors were encountered: