]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/populate_rbd_pool: adjust to new ctx.manager location
authorJosh Durgin <jdurgin@redhat.com>
Fri, 25 Mar 2016 01:00:11 +0000 (18:00 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 9 May 2016 18:52:00 +0000 (11:52 -0700)
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
tasks/populate_rbd_pool.py

index 059a33fc112b12003e3e51b06eab141a449cfe62..db67d607cd64c5779cee90dfb814eb63caf572b1 100644 (file)
@@ -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,))