On Wed, 28 Sep 2011, Atish Kathpal wrote:
> 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
It sounds like that key doesn't match what your monitors have on file. :/
> Even providing the path to the keyring is not helping for some reason.
>
> Any way to avoid the keyring/authentication problem I am facing?
You can disable authentication entirely by putting
auth supported = none
in ceph.conf and restarting your daemons.
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html