[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
This commit is contained in:
parent
13b2384134
commit
027c8497a2
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user