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-01 18:34:24 +0200 |
| commit | b1d4ed51f41721c86a33d766fdfd80aaccf1df60 (patch) | |
| tree | 3b886076d7e2a967c17199e90c4bd5614036a0b6 /docker | |
| parent | ae12359b83c514473793a9a42281a786d553b64f (diff) | |
| download | kolla-b1d4ed51f41721c86a33d766fdfd80aaccf1df60.tar.gz kolla-b1d4ed51f41721c86a33d766fdfd80aaccf1df60.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>
Diffstat (limited to 'docker')
| -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}" |
