The non root user needs to be able to read the key file.
Michael Kuriger
mk7193@xxxxxx
818-649-7235
MikeKuriger (IM)
From: Huynh Dac Nguyen <ndhuynh@xxxxxxxxxxxxx>
Date: Wednesday, November 19, 2014 at 8:44 PM To: "ceph-users@xxxxxxxxxxxxxx" <ceph-users@xxxxxxxxxxxxxx> Subject: how to run rados common by non-root user in ceph node 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