For the permissions use  sudo chmod +r /etc/ceph/ceph.client.admin.keyring
From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Teclus 
Dsouza -X (teclus - TECH MAHINDRA LIM at Cisco)
Sent: Thursday, June 18, 2015 10:21 AM
To: B, Naga Venkata; ceph-users@lists.ceph.com
Subject: Re: [ceph-users] Hammer 0.94.2: Error when running commands on CEPH 
admin node

Hello Naga,

The keyring file is present under a folder I created for ceph.   Are you saying 
the same needs to be copied to the /etc/ceph folder ?

Regards
Teclus

From: B, Naga Venkata [mailto:nag...@hp.com]
Sent: Thursday, June 18, 2015 10:37 PM
To: Teclus Dsouza -X (teclus - TECH MAHINDRA LIM at Cisco); 
ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
Subject: RE: [ceph-users] Hammer 0.94.2: Error when running commands on CEPH 
admin node

Do you have admin keyring in /etc/ceph directory?

From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Teclus 
Dsouza -X (teclus - TECH MAHINDRA LIM at Cisco)
Sent: Thursday, June 18, 2015 10:35 PM
To: ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
Subject: [ceph-users] Hammer 0.94.2: Error when running commands on CEPH admin 
node
Importance: High

Hello Everyone,

I have setup a new cluster with Ceph-hammer version (0.94.2   The install went 
through fine without any issues but from the admin node I am not able to 
execute any of the Ceph commands

Error:
root@ceph-main:/cephcluster# ceph auth export
2015-06-18 12:43:28.922367 7f54d286b700 -1 monclient(hunting): ERROR: missing 
keyring, cannot use cephx for authentication
2015-06-18 12:43:28.922375 7f54d286b700  0 librados: client.admin 
initialization error (2) No such file or directory
Error connecting to cluster: ObjectNotFound

I googled for this and only found one article relevant, but it did not solve my 
problem.
http://t75390.file-systems-ceph-user.file-systemstalk.us/newbie-error-connecting-to-cluster-permissionerror-t75390.html

Is there any other workaround or fix for this ??

Regards
Teclus Dsouza
Technical Architect
Tech Mahindra


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

Reply via email to