]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: fix rgw osd cap tag 38910/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 14 Jan 2021 17:52:22 +0000 (09:52 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 14 Jan 2021 17:52:22 +0000 (09:52 -0800)
The syntax is "allow rwx tag rgw *=*'.

Sorry, I thought this would have gotten caught in testing :(

Fixes: 373cc847cf0f8b4ec7aefbfe64c01c3f18a4e021
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/pybind/mgr/cephadm/services/cephadmservice.py

index a2b26bf0690d5bd8cfd1f906ad7c465689f5c523..45a41f708dc4983a19f32cb3a5723b30bc213f55 100644 (file)
@@ -617,7 +617,7 @@ class RgwService(CephService):
             'entity': self.get_auth_entity(rgw_id),
             'caps': ['mon', 'allow *',
                      'mgr', 'allow rw',
-                     'osd', 'allow rwx tag rgw'],
+                     'osd', 'allow rwx tag rgw *=*'],
         })
         return keyring