aboutsummaryrefslogtreecommitdiff
path: root/docker/ceph/ceph-mon
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-06-05 11:00:14 +0000
committerGerrit Code Review <review@openstack.org>2019-06-05 11:00:14 +0000
commit00475feb7f62c192b6ff5f12bff1b77efd85da6f (patch)
tree3cc7721b0a2d4b2947e2f7bc66f29e2c09b78e23 /docker/ceph/ceph-mon
parent4e083196d14877de458ae16129331c37fe1f6f21 (diff)
parente0cae62c4aab001fa7b5cc324f178793f4e88f3c (diff)
downloadkolla-00475feb7f62c192b6ff5f12bff1b77efd85da6f.tar.gz
kolla-00475feb7f62c192b6ff5f12bff1b77efd85da6f.zip
Merge "Ceph: Update to Nautilus on CentOS and OracleLinux"
Diffstat (limited to 'docker/ceph/ceph-mon')
-rw-r--r--docker/ceph/ceph-mon/extend_start.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/ceph/ceph-mon/extend_start.sh b/docker/ceph/ceph-mon/extend_start.sh
index 4c3e91b31..af60faa17 100644
--- a/docker/ceph/ceph-mon/extend_start.sh
+++ b/docker/ceph/ceph-mon/extend_start.sh
@@ -22,8 +22,8 @@ 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' --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 --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}"
monmaptool --create --add "${HOSTNAME}" "${MON_IP}" --fsid "${FSID}" "${MONMAP}"