Skip to content

rebuilding node image fails because CentOS 8 is EOL #121

@boegel

Description

@boegel

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions