diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2019-08-01 18:34:24 +0200 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2019-08-02 08:28:43 +0000 |
| commit | 2f45d6810e341cd89a20d5fceff0179cde768acc (patch) | |
| tree | a3919bae39f7526c2667d6bd6b83991b489c4a86 /docker/ceph | |
| parent | 9ef040a85d0b7bf4f9f2b3145d648aca75f12912 (diff) | |
| download | kolla-2f45d6810e341cd89a20d5fceff0179cde768acc.tar.gz kolla-2f45d6810e341cd89a20d5fceff0179cde768acc.zip | |
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 b1d4ed51f41721c86a33d766fdfd80aaccf1df60)
Diffstat (limited to 'docker/ceph')
| -rw-r--r-- | docker/ceph/ceph-mon/extend_start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/ceph/ceph-mon/extend_start.sh b/docker/ceph/ceph-mon/extend_start.sh index af60faa17..188349788 100644 --- a/docker/ceph/ceph-mon/extend_start.sh +++ b/docker/ceph/ceph-mon/extend_start.sh @@ -22,7 +22,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then # Generating initial keyrings and monmap ceph-authtool --create-keyring "${KEYRING_MON}" --gen-key -n mon. --cap mon 'allow *' - ceph-authtool --create-keyring "${KEYRING_ADMIN}" --gen-key -n client.admin --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' --cap mgr 'allow *' + ceph-authtool --create-keyring "${KEYRING_ADMIN}" --gen-key -n client.admin --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *' ceph-authtool --create-keyring "${KEYRING_RGW}" --gen-key -n client.radosgw.gateway --cap osd 'allow rwx' --cap mon 'allow rwx' ceph-authtool "${KEYRING_MON}" --import-keyring "${KEYRING_ADMIN}" ceph-authtool "${KEYRING_MON}" --import-keyring "${KEYRING_RGW}" |
