We're used a local registry (docker registry), but needed to switch to Harbor. 
The old registry needed credentials and was working fine.

I used "sudo cephadm -v registry-login --registry-json login" to login to the 
new registry. login is the json with the credentials.

When starting the upgrade, I get the following error: "UPGRADE_FAILED_PULL: 
Upgrade: failed to pull target image".

But using "sudo cephadm --image <url> pull" works fine.
$ sudo cephadm --image harbor.url/project/ceph/ceph:v18.2.6-20250417 pull
Pulling container image harbor.url/project/ceph/ceph:v18.2.6-20250417...
{
    "ceph_version": "ceph version 18.2.6 
(ff498e17d264a1a4d588c361cbce9cc65afa2327) reef (stable)",
    "image_id": 
"d4baa6a728fa46bda2d58db9f458847bde23ca99135c6c9bb025a9d50fb9f011",
    "repo_digests": [
        
"harbor.url/project/ceph/ceph@sha256:848ef15fd4bb29a42d1063aba7b2543432ecec78afe35e7b64cc91f9748de551"
    ]
}

I also tried updating the config, didn't help either.
ceph config-key set mgr/cephadm/registry_url
ceph config-key set mgr/cephadm/registry_username
ceph config-key set mgr/cephadm/registry_password

So what's wrong? Currently using 18.2.4.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to