Hi,
without knowing the details I just assume that it’s just „translated“,
the syntax you set is the older way of setting rbd caps, since a
couple of years it’s sufficient to use „profile rbd“. Do you notice
client access issues (which I would not expect) or are you just
curious about the automatic change? There’s probably a pull request
somewhere which I can’t search for right now. :-)
Regards
Eugen
Zitat von Alessandro Italiano <alessandro.italiano@xxxxxxxxxx>:
Hi
we have a brand new ceph instance deployed by ceph puppet module.
We are experiencing a funny issues. users caps change unexpected.
logs do not report any message about the user caps even with
auth/debug_auth: 5/5
who/what can change the caps ?
thanks in advance
Ale
root@cephmon1:~# ceph version
ceph version 17.2.5 (98318ae89f1a893a6ded3a640405cdbb33e08757)
quincy (stable)
root@cephmon1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
root@cephmon1:~#
root@cephmon1:~# ceph auth del client.cinder-backup
updated
root@cephmon1:~#
root@cephmon1:~#
root@cephmon1:~#
root@cephmon1:~# date
Fri Jun 23 07:52:40 AM CEST 2023
root@cephmon1:~#
root@cephmon1:~# ceph auth add client.cinder-backup
added key for client.cinder-backup
root@cephmon1:~# ceph auth caps client.cinder-backup mon 'allow r'
osd 'allow class-read object_prefix rbd_children, allow rwx
pool=backup' mgr 'profile rbd pool=backup'
updated caps for client.cinder-backup
root@cephmon1:~#
root@cephmon1:~#
root@cephmon1:~#
root@cephmon1:~# date
Fri Jun 23 07:53:18 AM CEST 2023
root@cephmon1:~# ceph auth list
client.cinder-backup
key: AQBEM5VkhIfJHBAA6WP9P3HHCTSySdTqZv4Ypg==
caps: [mgr] profile rbd pool=backup
caps: [mon] allow r
caps: [osd] allow class-read object_prefix rbd_children, allow rwx
pool=backup
root@cephmon1:~# ceph auth list
client.cinder-backup
key: AQAM0nJi8OYAFBAA+p+T2QWtKaq92Z/hFMgF4w==
caps: [mgr] profile rbd pool=backups
caps: [mon] profile rbd
caps: [osd] profile rbd pool=backups
root@cephmon1:~# date
Fri Jun 23 07:56:42 AM CEST 2023
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx