Re: Pull from local registry fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did not work, still the same error.

> Op 24-04-2025 17:01 CEST schreef Adam King <adking@xxxxxxxxxx>:
> 
> 
> You could try setting `ceph config set mgr mgr/cephadm/use_repo_digest false` and give it another go. I've seen some issues in the past with using the image digest with local repos.
> 
> 
> On Thu, Apr 24, 2025 at 10:15 AM Sake Ceph <ceph@xxxxxxxxxxx> wrote:
> > 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@xxxxxxx
> >  To unsubscribe send an email to ceph-users-leave@xxxxxxx
> >  
> >
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux