You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to rebuild the node image of the CitC cluster that has been running for a while, and that's failing because CentOS 8 is end-of-life, and the repositories are no longer available:
When /etc/citc/packer/prepare_ansible.sh is running yum install -y epel-release, it fails with:
==> amazon-ebs.aws: Provisioning with shell script: /etc/citc/packer/prepare_ansible.sh
amazon-ebs.aws: CentOS Linux 8 - AppStream 95 B/s | 38 B 00:00
==> amazon-ebs.aws: Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
==> amazon-ebs.aws: Provisioning step had errors: Running the cleanup provisioner, if present...
I'm looking into dancing around this by switching to Rocky 8 instead, will report back here how I did that (if I can sort it out)
The text was updated successfully, but these errors were encountered:
@milliams suggested to me to tweak the source_ami_filter section in /etc/citc/packer/all.pkr.hcl to start from a Rocky Linux 8 AMI rather than a CentOS 8 one, but that's less straightforward as it seems because the official Rocky Linux AMIs are provided through the AWS Marketplace, not as a "community image".
That implies that you can't just search for "Rocky Linux 8.*" and then filter based on owner, and be sure that you'll always get the official AMIs...
I was trying to rebuild the node image of the CitC cluster that has been running for a while, and that's failing because CentOS 8 is end-of-life, and the repositories are no longer available:
When
/etc/citc/packer/prepare_ansible.sh
is runningyum install -y epel-release
, it fails with:I'm looking into dancing around this by switching to Rocky 8 instead, will report back here how I did that (if I can sort it out)
The text was updated successfully, but these errors were encountered: