Re: Error initializing cluster client: ObjectNotFound('RADOS object not found (error calling conf_read_file)')

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

 



Thanks Simon, as you mentioned, I did the missing things and now everything
works fine.

On Tue, Jun 16, 2020 at 9:30 AM Simon Sutter <ssutter@xxxxxxxxxxx> wrote:

> Hello,
>
>
> When you deploy ceph to other nodes with the orchestrator, they "just"
> have the containers you deployed to them.
> This means in your case, you started the monitor container on ceph101 and
> you must have installed at least the ceph-common package (else the ceph
> command would not work).
>
> If you enter the command ceph -s there is no configuration file, nor is
> there a key file (ceph does not know, where to connect).
> Ceph's configuration directory defaults to /etc/ceph/ (should be empty or
> not exist on ceph101).
>
> So in your case, you can either create the configuration files
> manually (read throug "ceph auth" and how the config and the keyring file
> should look like), or just copy the ceph.conf and the admin keyring to
> /etc/ceph/ on ceph101.
>
>
> Regards,
>
> Simon
> ------------------------------
> *Von:* cemzafer <cemzafer@xxxxxxxxx>
> *Gesendet:* Montag, 15. Juni 2020 21:27:30
> *An:* ceph-users@xxxxxxxx
> *Betreff:*  Error initializing cluster client:
> ObjectNotFound('RADOS object not found (error calling conf_read_file)')
>
> I have installed  simple ceph system with two nodes (ceph100, ceph101)
> with cephadm and ceph orch host add command. I put the ssh-copy-id -f -i
> /etc/ceph/ceph.pub key to the second host (ceph101). I can execute the
> ceph -s command from the first host(ceph100) but when I execute the
> command in the second host(ceph101), I get the following error.
>
> Error initializing cluster client: ObjectNotFound('RADOS object not
> found (error calling conf_read_file)')
>
> Also, when I execute the 'ceph orch ps' command the output seems
> suspicious to me.
>
> NAME                         HOST       STATUS        REFRESHED AGE
> VERSION        IMAGE NAME                IMAGE ID CONTAINER ID
>
> mon.ceph101            ceph101  starting         -      -
> <unknown>  <unknown> <unknown>     <unknown>
>
> Has anyone any idea what could be the problem or anyone give me a fine
> link for the octopus cephadm installation?
>
> Regards.
> _______________________________________________
> 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