On 04/22/2013 11:09 AM, Scott Sullivan wrote:
Referring to this: http://ceph.com/dev-notes/adding-support-for-rbd-to-stgt/ I compiled the latest tgt with RBD support. My question is when using this method to access RBD volumes, where do you tell it what user to authenticate to the cluster with? I do see the above linked page mentions it will read a local ceph.conf.
Yes, as Wido hints at, it passes NULL to rados_create()'s second arg; that means it will authenticate as client.admin. This could certainly be easily fixed.
-- 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