ceph commands on host cannot connect to cluster after cephx disabling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux