Re: Authentication error

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

 



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


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux