how to run rados common by non-root user in ceph node

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

 



Hi All,


After setting up the ceph, i can run ceph, rados command by root user,


how can i run them by non-root account?


i created a key already:

[root@ho-srv-ceph-02 ~]# ceph auth list

client.oneadmin

key: AQBQY21UaLLhCBAAKjsM8qRxFpJA4ppbA7Rn9A==

caps: [mon] allow r

caps: [osd] allow rw pool=one


[oneadmin@ho-srv-ceph-02 ~]$ rados df

2014-11-20 11:43:44.143434 7f53ac04a760 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication

2014-11-20 11:43:44.143611 7f53ac04a760  0 librados: client.admin initialization error (2) No such file or directory

couldn't connect to cluster! error -2



Regards,

Ndhuynh


This e-mail message including any attachments is for the sole use of the intended(s) and may contain privileged or confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not intended recipient, please immediately contact the sender by reply e-mail and delete the original message and destroy all copies thereof.
_______________________________________________
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