RHEL AI: ilab model download command failing with error "unauthorized: access to the requested resource is not authorized"

Solution Verified - Updated -

Issue

  • RHEL AI: ilab model download command failing with error.
$ ilab model download --release latest --repository docker://registry.redhat.io/rhelai1/ranite-3.1-8b-lab-v1
INFO 2025-03-07 17:36:40,984 instructlab.model.download:193: Downloading model from OCI registry:
    Model: docker://registry.redhat.io/rhelai1/ranite-3.1-8b-lab-v1@latest
    Destination: /var/home/instruct/.cache/instructlab/models
FATA[0000] initializing source docker://registry.redhat.io/rhelai1/ranite-3.1-8b-lab-v1:latest: reading manifest latest in registry.redhat.io/rhelai1/ranite-3.1-8b-lab-v1: unauthorized: access to the requested resource is not authorized 
Downloading failed with the following exception: 
Downloading model failed with the following error: 
Failed to run skopeo command:
    Command '['skopeo', 'copy', 'docker://registry.redhat.io/rhelai1/ranite-3.1-8b-lab-v1:latest', 'oci:/var/home/instruct/.cache/instructlab/oci/ranite-3.1-8b-lab-v1', '--remove-signatures']' returned non-zero exit status 1..
    stderr: None

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content