From d1fbd5a31d9e40de560bf47fb403b2916981fa15 Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 26 Aug 2021 19:19:55 +0000 Subject: [PATCH] Initialize RBD pool When we deploy devstack, we need to initialize the RBD pool. Not doing so means that functionality like rbd trash purge scheduling will not work correctly. Ref: https://docs.ceph.com/en/latest/start/quick-rbd/ Change-Id: I5b0b3b83fb7ef805929fdcd106a5c8a988b05ec4 --- devstack/lib/ceph | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devstack/lib/ceph b/devstack/lib/ceph index 5e2df71..a7a7516 100755 --- a/devstack/lib/ceph +++ b/devstack/lib/ceph @@ -879,6 +879,8 @@ function configure_ceph_cinder { sudo chown ${STACK_USER}:$(id -g -n $whoami) \ ${CEPH_CONF_DIR}/ceph.client.${CINDER_CEPH_USER}.keyring + + sudo rbd pool init ${CINDER_CEPH_POOL} } # install_ceph() - Collect source and prepare