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)
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.shis 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)