Auth Questions w/ librados

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

 



Hello!

I've got a new cluster set up.  I created a new user and pool.  Creating
the user like so:

ceph auth add client.myclient mon 'allow r' osd 'allow rw pool=testpool'

I have set up librados and python bindings, with a ceph.conf and a keyring file.

My trouble is that when I connect with client.admin, things seem to
work correctly. but my client.myuser cannot connect..

When I try to connect with my client.myclient I get a RADOS permission denied.

        cluster = rados.Rados(conffile=conffile.name)

My keyring only has one user in it.

The conffile only has a [global] section with a mon_host string and
the keyring path.

I am also unable to connect to the cluster using that user with the
ceph CLI client.
I have had limited success in debugging any of these situations - all
the debugging I might put into the ceph.conf file seems to only work
after the client is connected.

In testing, I also made the client.myclient user have allow * on all
capabilities, and that did nothing that I could see.

If anyone has thoughts on where I am stumbling, or how to debug
things,  that would be much appreciated.

It feels like it's a combination of a few small mistakes, but I can't
get a handle on the issues.

Thank you.

Cary
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux