[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-users
Subject:    [ceph-users] Re: Switching to a private repository
From:       Eugen Block <eblock () nde ! ag>
Date:       2020-10-26 15:51:31
Message-ID: 20201026155131.Horde.o6HwPIrVXKf7oD8LdM1rhae () webmail ! nde ! ag
[Download RAW message or body]

Hi,

could this be of help?

---snip---
ceph1:~ # ceph config ls | grep registr
mgr/cephadm/registry_password
mgr/cephadm/registry_url
mgr/cephadm/registry_username

# set configs
ceph config-key set mgr/cephadm/registry_user $user
ceph config-key set mgr/cephadm/registry_password $password
---snip---


I haven't tried it myself yet though.

Regards,
Eugen

Zitat von Liam MacKenzie <Liam.MacKenzie@aarnet.edu.au>:

> Hi,
>
> What is the correct procedure to change a running cluster deployed  
> with cephadm to a custom container from a private repository that  
> requires a login?
>
> I would have thought something like this would have been the right  
> way, but the second command fails with an authentication error.
> $ cephadm registry-login --registry-url myregistry.com/ceph/  
> --registry-username 'robot$myuser --registry-password 'mysecret'
> $ ceph orch upgrade start --image myregistry.com/ceph/ceph:v15.2.5
>
> Thanks,
> Liam
>
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-leave@ceph.io


_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-leave@ceph.io
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic