Thanks for your help Gregory. I tried what you suggested, but still can't resolve the problem. I have given 777 privileges to the keyring file and am also able to read its contents. Here is a snapshop of what I did:- atish@atish-virtual-machine:/etc/ceph$ sudo ceph health -k /etc/ceph/ceph.keyring 2011-09-28 01:16:30.066795 b78746d0 unable to authenticate as client.admin 2011-09-28 01:16:30.067890 b78746d0 ceph_tool_common_init failed. atish@atish-virtual-machine:/etc/ceph$ cat ceph.keyring [client.admin] key = AQDQynxOCNuXJRAAvt17zqCn70kGovuIhJXEyg== auid = 18446744073709551615 Even providing the path to the keyring is not helping for some reason. Any way to avoid the keyring/authentication problem I am facing? Please help. Thanks Atish On Sun, Sep 25, 2011 at 9:05 PM, Gregory Farnum <gregory.farnum@xxxxxxxxxxxxx> wrote: > Looks like it's not able to load the keyring for some reason. Make > sure it exists and is readable, then try specifying it on the command > line (-k /path/to/keyring). > > On Sat, Sep 24, 2011 at 10:22 PM, Atish Kathpal <atish.kathpal@xxxxxxxxx> wrote: >> Dear developers >> >> Please let me know if I am doing anything silly here. I am new to Ceph. >> >> Thanks and regards >> Atish >> >> On Fri, Sep 23, 2011 at 11:15 PM, Atish Kathpal <atish.kathpal@xxxxxxxxx> wrote: >>> Hello >>> >>> <Ceph usage problem> >>> >>> I have setup ceph (all components on a single node) successfully, >>> however I am not able to use any of the features. There seem to be >>> some authentication issue. Please throw some light on how to rectify >>> the same. >>> >>> Error example1:- >>> atish@atish-virtual-machine:/etc/ceph$ sudo rados put object1 bitmapsppt4.bin >>> 2011-09-23 23:06:00.774172 b7865b50 librados: client.admin >>> authentication error Operation not permitted >>> couldn't connect to cluster! error -1 >>> Error example2:- >>> atish@atish-virtual-machine:/etc/ceph$ ceph -s >>> 2011-09-23 23:08:01.525547 b788c6d0 unable to authenticate as client.admin >>> 2011-09-23 23:08:01.526487 b788c6d0 ceph_tool_common_init failed. >>> >>> ceph.conf file:- >>> [global] >>> auth supported = cephx >>> keyring = /etc/ceph/ceph.keyring >>> [mon] >>> mon data = /ceph_data/mon.$id >>> [mds] >>> [osd] >>> osd data = /ceph_data/osd.$id >>> osd journal = /ceph_data/osd.$id.journal >>> osd journal size = 1000 >>> [mon.alpha] >>> host = atish-virtual-machine >>> mon addr = 10.72.147.207:6789 >>> [osd.0] >>> host = atish-virtual-machine >>> [mds.0] >>> host = atish-virtual-machine >>> >>> Thanks >>> Atish >>> >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html