can't fine mon. user in ceph auth list

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

 



Hello Team , 

Hello Team , I am trying to enable cephx in existing cluster using ceph-ansible  and it is failing  when it tried to do    `ceph --cluster ceph --name mon. -k /var/lib/ceph/mon/ceph-computenode01/keyring auth get-key mon.` . I am sure `mon.` user exist because I created it   but for some reason  ceph auth list doesn't sow that in the list .  what is going wrong here ? 

I used below command to create mon. user
ceph-authtool --create-keyring /tmp/ceph.mon.keyring --gen-key -n mon. --cap mon 'allow *'

cp /tmp/ceph.mon.keyring /var/lib/ceph/mon/ceph-computenode01/keyring

but then I can't find it when trying to query for it. even  simple .  ceph auth list also doesn't show that user. 

root@computenode01:~# ceph --cluster ceph --name mon. -k /var/lib/ceph/mon/ceph-computenode01/keyring auth get-key "mon."
Error ENOENT: don't have mon.




Thanks,
Uday.

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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