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.
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