Hi,

According to the documentation It should have been created by "ceph-deploy new". Maybe a small problem due to the fedora is not on the recommended os list(?)

Either way, there is a document on manual deployment, and it contains the step to generate ceph.client.admin.keyring too:

http://docs.ceph.com/docs/master/rados/configuration/auth-config-ref/

You will probably have to go threw all the steps, because you are missing the mds, osd, rgw, mgr keyring too.


Cheers,

Denes.



On 10/27/2017 04:07 AM, GiangCoi Mr wrote:
Hi Denes Dolhay,
This is error when I run command: ceph-deploy mon create-initial

[ceph_deploy.mon][INFO  ] mon.ceph-node1 monitor has reached quorum!
[ceph_deploy.mon][INFO  ] all initial monitors are running and have formed quorum
[ceph_deploy.mon][INFO  ] Running gatherkeys...
[ceph_deploy.gatherkeys][DEBUG ] Checking ceph-node1 for /etc/ceph/ceph.client.admin.keyring
[ceph-node1][DEBUG ] connected to host: ceph-node1
[ceph-node1][DEBUG ] detect platform information from remote host
[ceph-node1][DEBUG ] detect machine type
[ceph-node1][DEBUG ] fetch remote file
*[ceph_deploy.gatherkeys][WARNIN] Unable to find /etc/ceph/ceph.client.admin.keyring on ceph-node1 [ceph_deploy][ERROR ] KeyNotFoundError: Could not find keyring file: /etc/ceph/ceph.client.admin.keyring on host ceph-node1*

It can not find */etc/ceph/ceph.client.admin.keyring,* and in directory I run ceph-deploy, it only have 3 files: ceph.conf, ceph-deploy-ceph.log, ceph.mon.keyring

Regards,
GiangLT
*
*


2017-10-26 22:47 GMT+07:00 Denes Dolhay <[email protected] <mailto:[email protected]>>:

    Hi,

    If you ssh to ceph-node1, what are the rights, owner, group,
    content of /etc/ceph/ceph.client.admin.keyring ?

    [you should mask out the key, just show us that it is there]


    On 10/26/2017 05:41 PM, GiangCoi Mr wrote:
    Hi Denes.
    I created with command: ceph-deploy new ceph-node1

    Sent from my iPhone

    On Oct 26, 2017, at 10:34 PM, Denes Dolhay <[email protected]
    <mailto:[email protected]>> wrote:

    Hi,

    Did you to create a cluster first?

    ceph-deploy  new  {initial-monitor-node(s)} Cheers, Denes.
    On 10/26/2017 05:25 PM, GiangCoi Mr wrote:
    Dear Alan Johnson
    I install with command: ceph-deploy install ceph-node1 —no-adjust-repos. 
When install success, I run command: ceph-deploy mon ceph-node1, it’s error 
because it didn’t find file ceph.client.admin.keyring. So how I make permission 
for this file?

    Sent from my iPhone

    On Oct 26, 2017, at 10:18 PM, Alan Johnson<[email protected]> 
<mailto:[email protected]>  wrote:

    If using defaults try
    chmod +r /etc/ceph/ceph.client.admin.keyring

    -----Original Message-----
    From: ceph-users [mailto:[email protected]
    <mailto:[email protected]>] On Behalf Of GiangCoi Mr
    Sent: Thursday, October 26, 2017 11:09 AM
    To:[email protected] <mailto:[email protected]>
    Subject: [ceph-users] Install Ceph on Fedora 26

    Hi all
    I am installing ceph luminous on fedora 26, I installed ceph luminous 
success but when I install ceph mon, it’s error: it doesn’t find 
client.admin.keyring. How I can fix it, Thank so much

    Regard,
    GiangLT

    Sent from my iPhone
    _______________________________________________
    ceph-users mailing list
    [email protected] <mailto:[email protected]>
    
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ceph.com_listinfo.cgi_ceph-2Dusers-2Dceph.com&d=DwIGaQ&c=4DxX-JX0i28X6V65hK0ft5M-1rZQeWgdMry9v8-eNr4&r=eqMv5yFFe6-lAM9jJfUusNFzzcFAGwmoAez_acfPOtw&m=YEG8qsLFsc0XjSKKJCIlkSn9C_WtCejsaUPv2p5ieRk&s=orrv_azJsm9kAmXQLjUHM6ClwXx-8oQFN89GyknIeN0&e=
<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.ceph.com_listinfo.cgi_ceph-2Dusers-2Dceph.com&d=DwIGaQ&c=4DxX-JX0i28X6V65hK0ft5M-1rZQeWgdMry9v8-eNr4&r=eqMv5yFFe6-lAM9jJfUusNFzzcFAGwmoAez_acfPOtw&m=YEG8qsLFsc0XjSKKJCIlkSn9C_WtCejsaUPv2p5ieRk&s=orrv_azJsm9kAmXQLjUHM6ClwXx-8oQFN89GyknIeN0&e=>
    _______________________________________________
    ceph-users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
    <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>

    _______________________________________________
    ceph-users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
    <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>


    _______________________________________________
    ceph-users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
    <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>



_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to