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 <cemza...@gmail.com>
Gesendet: Montag, 15. Juni 2020 21:27:30
An: ceph-us...@ceph.com
Betreff: [ceph-users] 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@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to