diff options
| author | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2018-02-22 14:48:36 +0800 |
|---|---|---|
| committer | Jeffrey Zhang <zhang.lei.fly@gmail.com> | 2018-02-22 14:50:38 +0800 |
| commit | 2222355d25ca56b69057d20c9d4d3ccc2750440f (patch) | |
| tree | 05802ef348ed50fc9c4fdb1c8584be03b32d7505 /docker/ceph | |
| parent | d6acc352e3bb7b2f5a4d485794cf2ee89b521980 (diff) | |
| download | kolla-2222355d25ca56b69057d20c9d4d3ccc2750440f.tar.gz kolla-2222355d25ca56b69057d20c9d4d3ccc2750440f.zip | |
Add cap mgr 'allow *' for ceph admin key
Some ceph cluster commands require this caps
Change-Id: Idfa19667f1fb83f2cb89712c594513188d859359
Closes-Bug: #1750967
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 30ffba5fc..8ec53e8b7 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 --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow' + 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 *' ceph-authtool --create-keyring "${KEYRING_RGW}" --gen-key -n client.radosgw.gateway --set-uid=0 --cap osd 'allow rwx' --cap mon 'allow rwx' ceph-authtool "${KEYRING_MON}" --import-keyring "${KEYRING_ADMIN}" ceph-authtool "${KEYRING_MON}" --import-keyring "${KEYRING_RGW}" |
