>>> "leoncai@xxxxxxxxxxxxxx" <leoncai@xxxxxxxxxxxxxx> schrieb am Freitag, 15. April 2016 um 11:33: > Hello Daniel, > > I'm a newbie to Ceph, and when i config the storage cluster on CentOS 7 VMs, > i encontered the same problem as you posted on > [http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-August/041992.html]. > I've done lots of searching and trying, but still cannot make it work. > > Could you please tell me how you solved the problem? > Thanks in advance. > > > # additional terminal info: > [root@ceph3 ceph]# ceph --debug -v > ceph version 9.2.1 (752b6a3020c3de74e07d2a8b4c5e48dab5a6b6fd) > [root@ceph3 ceph]# ceph --debug --verbose > parsed_args: Namespace(admin_socket=None, admin_socket_nope=None, > cephconf=None, client_id=None, client_name=None, cluster=None, > cluster_timeout=None, completion=False, help=False, input_file=None, > output_file=None, output_format=None, status=False, verbose=True, > version=False, watch=False, watch_debug=False, watch_error=False, > watch_info=False, watch_sec=False, watch_warn=False), childargs: ['--debug'] > 2016-04-15 17:24:37.909282 7f7169d4f700 0 librados: client.admin > authentication error (95) Operation not supported > Error connecting to cluster: Error > > Looks like you're doing this from outside of the cluster. Look if you have a copy of the ceph.conf in /etc/ceph and what the client is missing is the ceph.client.admin.keyring file for connecting to the cluster as a cluster admin. That's the default if no --id parameter is given. But if this is not your deploy or cluster admin host you should avoid to use the admin authentication (as well as working with root privileges per default on linux). Instead create a seperate ceph user with the subset of the capabilities you need (see http://docs.ceph.com/docs/hammer/rados/operations/user-management/) and deploy the referencing keyring to the client hosts. To connect as a different user insert an entry like [client.health] keyring = /etc/ceph/ceph.client.health.keyring to the ceph.conf and execute 'ceph --id=health ...'. Regards Steffen > > Leon(蔡天雄) > leoncai@xxxxxxxxxxxxxx -- Klinik-Service Neubrandenburg GmbH Allendestr. 30, 17036 Neubrandenburg Amtsgericht Neubrandenburg, HRB 2457 Geschaeftsfuehrerin: Gudrun Kappich _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com