Browse Source

ceph mds cap 'allow *' in extend_start

This applies the fix made in kolla-ansible (see [1])
to kolla ceph mon image directly.

[1] https://review.opendev.org/670035

Change-Id: I1822a8c610db72654bbacc7148e25a837090b680
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
(cherry picked from commit b1d4ed51f4)
(cherry picked from commit 2f45d6810e)
tags/6.2.3
Radosław Piliszek 1 month ago
parent
commit
689506f537
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      docker/ceph/ceph-mon/extend_start.sh

+ 1
- 1
docker/ceph/ceph-mon/extend_start.sh View File

@@ -22,7 +22,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
22 22
 
23 23
     # Generating initial keyrings and monmap
24 24
     ceph-authtool --create-keyring "${KEYRING_MON}" --gen-key -n mon. --cap mon 'allow *'
25
-    ceph-authtool --create-keyring "${KEYRING_ADMIN}" --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' --cap mgr 'allow *'
25
+    ceph-authtool --create-keyring "${KEYRING_ADMIN}" --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *'
26 26
     ceph-authtool --create-keyring "${KEYRING_RGW}" --gen-key -n client.radosgw.gateway --set-uid=0 --cap osd 'allow rwx' --cap mon 'allow rwx'
27 27
     ceph-authtool "${KEYRING_MON}" --import-keyring "${KEYRING_ADMIN}"
28 28
     ceph-authtool "${KEYRING_MON}" --import-keyring "${KEYRING_RGW}"

Loading…
Cancel
Save