Hi, I assume that there was pressure getting a patched Ceph version out and hence not all workflows have been adopted. Anyway, I just found this doc segment which is probably supported from Umbrella, it's not available in Tentacle so it doesn't really help you right now: https://docs.ceph.com/en/latest/mgr/nfs/#rotate-nfs-cluster-keys
I assume I have to
ceph auth rotate --key-type=aes256k client.crash.test-cephadm ceph orch daemon redeploy crash.test-cephadm
for each of them?
Right, except that you can redeploy an entire service instead of redeploying each daemon: ceph orch redeploy crash For NFS it also worked in my lab (no active client connections to NFS): tentacle:~ # ceph auth rotate client.nfs.foo.0.1.tentacle.fnurcv --key-type aes256k tentacle:~ # ceph orch redeploy nfs.foo Scheduled to redeploy nfs.foo.0.1.tentacle.fnurcv on host 'tentacle' tentacle:~ # ceph orch ps --daemon-type nfs NAME HOST PORTS STATUS REFRESHED AGE MEM USE MEM LIM VERSION IMAGE ID CONTAINER ID nfs.foo.0.1.tentacle.fnurcv tentacle *:2049 running (4m) 3m ago 58m 43.3M - 5.9 26ed7271b5f8 11f47e037aea For RGW it worked in the same way (in production with clients), SMB I haven't tested. Basically I rotated all the bootstrap-keys, node-exporter, ceph-exporter, crash and RGW. I still haven't rotated our openstack and other clients due to kernel versions for CephFS clients etc. That's gonna take some time until we get there... Eugen Zitat von Robert Sander <ceph-users@ceph.io>:
Hi,
Am 02.11.26 um 4:23 PM schrieb Eugen Block:
those are all client keyrings, cephadm doesn't touch them. It would have to assume which keyrings for which clients are safe to rotate which could be potentially dangerous, so I assume that's why it skips them entirely.
IMHO this is not what a Ceph admin would expect. Cephadm manages these services.
There is not even a documented way to rotate the keys for an NFS service manually for example.
https://docs.ceph.com/en/latest/rados/configuration/auth-config-ref/#cephx-u... tells me that cephadm does everything except for client keys.
But there is nothing in section 9 "Rotate other client keys" about the services managed by cephadm that use client keys.
I assume I have to
ceph auth rotate --key-type=aes256k client.crash.test-cephadm ceph orch daemon redeploy crash.test-cephadm
for each of them?
Why is this not implemented in the orchestrator?
Regards -- Robert Sander Linux Consultant
Heinlein Consulting GmbH Schwedter Str. 8/9b, 10119 Berlin
https://www.heinlein-support.de
Tel: +49 30 405051 - 0 Fax: +49 30 405051 - 19
Amtsgericht Berlin-Charlottenburg - HRB 220009 B Geschäftsführer: Peer Heinlein - Sitz: Berlin _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io