Hello folks,

We're operating a small ceph test cluster made of 5 VMs, 1 monitor/manager, 3 osd and 1 radosgateway for
owncloud S3 external storage use. This works almost fine.

We're planning to use rbd too and get block device for a linux server. In order to do that, we installed ceph-common packages and created ceph.conf and ceph.keyring as explained at Basic Ceph Client Setup — Ceph Documentation <https://docs.ceph.com/en/pacific/cephadm/client-setup/> (https://docs.ceph.com/en/pacific/cephadm/client-setup/)

This does not work.

Ceph seems to be installed

$ dpkg -l | grep ceph-common
ii  ceph-common                   16.2.9-1~bpo11+1 amd64        common utilities to mount and interact with a ceph storage cluster ii  python3-ceph-common           16.2.9-1~bpo11+1 all          Python 3 utility libraries for Ceph

$ ceph -v
ceph version 16.2.9 (4c3647a322c0ff5a1dd2344e039859dcbd28c830) pacific (stable)

But, when using commands that interact with the cluster, we get this message

$ ceph -s
2022-07-08T15:51:24.965+0200 7f773b7fe700 -1 monclient(hunting):
handle_auth_bad_method server allowed_methods [2] but i only support [2,1]
[errno 13] RADOS permission denied (error connecting to the cluster)

We tried to insert these lines in ceph.conf

auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx

as explained in a former forum, but we still get the error message, slightly different


$ ceph -s
2022-07-08T15:51:24.965+0200 7f773b7fe700 -1 monclient(hunting):
handle_auth_bad_method server allowed_methods [2] but i only support [2]
[errno 13] RADOS permission denied (error connecting to the cluster)

Does anyone have an idea ? .

The cluster was installed with ceph-deploy in Nautilus 14.2.21 on Debian 10.9, then upgraded in Octopus 15.2.16 with Ceph-deploy. Then Debian was upgraded in 11.3 and ceph-deploy couldn't go further. The las cluster upgrade was in Pacific 16.2.9, made with
Debian apt-get.

If you need more information ask us, we would be grateful to get some help.

JM

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to