[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-users
Subject:    [ceph-users] ceph commands on host cannot connect to cluster after cephx disabling
From:       service.plant () ya ! ru
Date:       2024-02-24 18:28:19
Message-ID: 170879929960.1671.1237026878440889131 () mailman-web
[Download RAW message or body]

Hello everybody,
Suddenly faced with a problem with (probably) authorization playing with cephx.
So, long story short:
1) Rollout completely new testing cluster by cephadm with only one node
2) According to docs I've set this to /etc/ceph/ceph.conf
      auth_cluster_required = none
      auth_service_required = none
      auth_client_required = none
3) restart ceph.target
4) now even "ceph -s " cannot connect to RADOS saying
root@ceph1:/etc/ceph# ceph -s
      2024-02-24T18:15:59.219+0000 7f7c10d65700 -1 monclient(hunting): \
                handle_auth_bad_method server allowed_methods [2] but i only support \
                [1]
      2024-02-24T18:15:59.219+0000 7f7c11d67700  0 librados: client.admin \
authentication error (13) Permission denied  [errno 13] RADOS permission denied \
(error connecting to the cluster) 4) I have ceph.client.admin.keyring in both \
/etc/ceph and /var/lib/ceph/$fsid/config  5) logs of monitor doesnt show any error. \
It looks like it keeps normal living and even doesn't know that something goes wrong \
6) Tried to set back /etc/ceph/ceph.conf to  auth_cluster_required = cephx
      auth_service_required = cephx
      auth_client_required = cephx
with no success
7) I have noted that some process (I guess it is one of processes in containers?) \
always rewrite /etc/ceph/ceph.cong and /var/lib/ceph/$fsid/config/ceph.conf whatever \
I woud write there. What is the process? Who is it? How to set up settings if I want \
to keep it in the file??

Ubuntu 20.04, Reef, 18.0.2

Thanks in advance.
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-leave@ceph.io


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic