Skip to content

Cannot build silverblue based image due to curl timeout during build #1119

@woprandi

Description

@woprandi

For several days, I cannot build silverblue-based image due to timeout on fedora's mirrors

Fedora's mirrors correctly resolve locally

❯ sudo podman run --rm -it --privileged --pull=newer \
      --security-opt label=type:unconfined_t \
      -v ./output:/output \
      -v /var/lib/containers/storage:/var/lib/containers/storage \
      -v ./config.toml:/config.toml:ro \
      quay.io/centos-bootc/bootc-image-builder:latest \
      --type iso \
      --chown 1000:1000 --rootfs=btrfs \
      localhost/testosbuild
Mot de passe : 
Trying to pull quay.io/centos-bootc/bootc-image-builder:latest...
Getting image source signatures
Copying blob 2beaf58eb799 done   | 
Copying blob 0c12f5ce5f1f done   | 
Copying config 8e94b7e998 done   | 
Writing manifest to image destination
Errors during downloading metadata for repository 'fedora':
  - Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64 [Resolving timed out after 30002 milliseconds]
  - Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64 [Resolving timed out after 30001 milliseconds]
  - Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64 [Resolving timed out after 30000 milliseconds]
RepoError: There was a problem reading a repository: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64 [Resolving timed out after 30000 milliseconds]
[-] Manifest generation step
Message: Generating manifest manifest-iso.json
2025/11/10 10:37:01 error: cannot build manifest: cannot depsolve: running osbuild-depsolve-dnf failed:
DNF error occurred: RepoError: There was a problem reading a repository: Failed to download metadata for repo 'fedora': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-42&arch=x86_64 [Resolving timed out after 30000 milliseconds]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions