From 563c0e99b9b2cda07110f1724004c69eceea3752 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Thu, 24 Mar 2016 18:00:11 -0700 Subject: [PATCH] tasks/populate_rbd_pool: adjust to new ctx.manager location Signed-off-by: Josh Durgin --- tasks/populate_rbd_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/populate_rbd_pool.py b/tasks/populate_rbd_pool.py index 059a33fc112b1..db67d607cd64c 100644 --- a/tasks/populate_rbd_pool.py +++ b/tasks/populate_rbd_pool.py @@ -39,7 +39,7 @@ def task(ctx, config): for poolid in range(num_pools): poolname = "%s-%s" % (pool_prefix, str(poolid)) log.info("Creating pool %s" % (poolname,)) - ctx.manager.create_pool(poolname) + ctx.managers['ceph'].create_pool(poolname) for imageid in range(num_images): imagename = "rbd-%s" % (str(imageid),) log.info("Creating imagename %s" % (imagename,)) -- 2.39.5