]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: fix rgw osd cap tag
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 14 Jan 2021 17:52:22 +0000 (09:52 -0800)
committerJuan Miguel Olmo Martínez <jolmomar@redhat.com>
Tue, 26 Jan 2021 14:12:44 +0000 (15:12 +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 bbc4b759000290b38c820035dbeb7bcad502d2ee..b6df0cd9b8e40507c27170238c2327043dc49c24 100644 (file)
@@ -627,7 +627,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