From 027c8497a27bf190cddd9d769f9b15573febadc0 Mon Sep 17 00:00:00 2001 From: Chinasubbareddy Mallavarapu Date: Mon, 9 Dec 2019 11:28:46 -0600 Subject: [PATCH] [ceph-client] remove rbd pool init step This it to remove "rbd" pool intilization since its not required as appliction enable in next step does the same. Change-Id: I07ecdbe417f0156005ebf7cef8fd9e40bace3920 --- ceph-client/templates/bin/pool/_init.sh.tpl | 3 --- 1 file changed, 3 deletions(-) diff --git a/ceph-client/templates/bin/pool/_init.sh.tpl b/ceph-client/templates/bin/pool/_init.sh.tpl index dd88d8d97..56f197651 100644 --- a/ceph-client/templates/bin/pool/_init.sh.tpl +++ b/ceph-client/templates/bin/pool/_init.sh.tpl @@ -86,9 +86,6 @@ function create_pool () { if ! ceph --cluster "${CLUSTER}" osd pool stats "${POOL_NAME}" > /dev/null 2>&1; then ceph --cluster "${CLUSTER}" osd pool create "${POOL_NAME}" ${POOL_PLACEMENT_GROUPS} while [ $(ceph --cluster "${CLUSTER}" -s | grep creating -c) -gt 0 ]; do echo -n .;sleep 1; done - if [ "x${POOL_NAME}" == "xrbd" ]; then - rbd --cluster "${CLUSTER}" pool init ${POOL_NAME} - fi ceph --cluster "${CLUSTER}" osd pool application enable "${POOL_NAME}" "${POOL_APPLICATION}" fi #