]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: fix rgw osd cap tag 39170/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 14 Jan 2021 17:52:22 +0000 (09:52 -0800)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 29 Jan 2021 15:13:16 +0000 (16:13 +0100)
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>
(cherry picked from commit de1efbd62b9258630c2a2d55bfd12034cc8b603f)

src/pybind/mgr/cephadm/services/cephadmservice.py

index 99deadd5989b3f3c474df96c43b1c0dcb521404a..1cc564a66d7ec5e4649d3f76aaca94047896e71d 100644 (file)
@@ -607,7 +607,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