Skip to content

Rocky 10 container has broken 'extras' repo mirrorlist #4

@jackaltx

Description

@jackaltx

Issue

Rocky 10 container has broken repository configuration - the 'extras' repo mirrorlist is empty/invalid, causing all DNF operations to fail.

Error

fatal: [uut-ct4]: FAILED\! => {"changed": false, "msg": "Failed to download metadata for repo 'extras': Cannot prepare internal mirrorlist: No URLs in mirrorlist", "rc": 1, "results": []}

Context

  • Stage: Idempotence test (second converge run)
  • Task: Installing telegraf package via DNF
  • Impact: All DNF package operations fail, making the container unusable for testing
  • Working: Rocky 9 container has properly configured repos

Root Cause

Rocky 10 base image has invalid/empty mirrorlist configuration for the 'extras' repository. This could be:

  1. Rocky 10 is still in development/beta and repos aren't stable
  2. Base image built with incorrect repo configuration
  3. Mirrorlist URLs pointing to non-existent infrastructure

Possible Fixes

Option 1: Disable extras repo (if not needed)

RUN dnf config-manager --set-disabled extras

Option 2: Use vault/archive repos (if Rocky 10 not GA)

RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/*.repo && \
    sed -i 's|#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://download.rockylinux.org/pub/rocky|g' /etc/yum.repos.d/*.repo

Option 3: Fix mirrorlist URLs

Check Rocky 10 official documentation for correct mirrorlist configuration.

Investigation Needed

  1. Is Rocky 10 officially released/GA?
  2. What are the correct repo URLs for Rocky 10?
  3. Should we even be testing Rocky 10 yet, or stick to Rocky 9 as the current stable?

Recommendation

Consider removing Rocky 10 (uut-ct4) from testing matrix until Rocky 10 is officially released with stable repository infrastructure. Focus on:

  • ✅ Rocky 9 (current stable)
  • ✅ Debian 12 (current stable)
  • ✅ Ubuntu 24 (current LTS)
  • 🔄 Debian 13 (next stable - once containers fixed)

Repository

  • Testing: jackaltx/solti-monitoring (GitHub CI)
  • Container: ghcr.io/jackaltx/testing-containers/rocky-ssh:10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions