Hi all, I'm trying to set up a Ceph cluster with an S3 gateway using the ceph-ansible playbooks. I'm running into an issue where the radosgw-admin client can't find the keyring. The path to the keyring is listed in the ceph.conf file. I confirmed with strace that the client opens the conf file but doesn't open the path given in the conf file -- only the default keyring paths.
Here's the output: [vagrant@ceph-rgw0 ~]$ sudo radosgw-admin usage show 2016-06-01 13:36:17.294935 7fe45ac80a40 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory 2016-06-01 13:36:17.300732 7fe45ac80a40 -1 monclient(hunting): authenticate NOTE: no keyring found; disabled cephx authentication 2016-06-01 13:36:17.300737 7fe45ac80a40 0 librados: client.admin authentication error (95) Operation not supported couldn't init storage provider Here's the relevant part of the config file: [client.radosgw.rgw0] host = ceph-rgw0 keyring = /var/lib/ceph/radosgw/ceph-rgw.ceph-rgw0/keyring rgw socket path = /tmp/radosgw-ceph-rgw0.sock log file = /var/log/ceph/ceph-rgw-ceph-rgw0.log rgw data = /var/lib/ceph/radosgw/ceph-rgw.ceph-rgw0 rgw frontends = civetweb port=10.0.2.15:8080 num_threads=50 When I copy the keyring to /etc/ceph/keyring, the keyring is found but I get a different error: [vagrant@ceph-rgw0 ~]$ sudo radosgw-admin usage show 2016-06-01 21:07:22.677525 7f62f2e38a40 0 librados: client.admin authentication error (22) Invalid argument couldn't init storage provider Any insights would be greatly appreciated! Thanks! RJ
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com