]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: fix typo in default config
authorJosh Durgin <josh.durgin@dreamhost.com>
Mon, 26 Mar 2012 18:54:49 +0000 (11:54 -0700)
committerJosh Durgin <josh.durgin@dreamhost.com>
Mon, 26 Mar 2012 18:57:07 +0000 (11:57 -0700)
pyflakes would have caught this if 'all' weren't a built-in function

teuthology/task/rbd.py

index b7c211f553d01a570d2919a85f2598b02bcbd57f..22a785e13e9dd06a770a0c2029bd505213efc159 100644 (file)
@@ -379,7 +379,7 @@ def task(ctx, config):
               fs_type: xfs
     """
     if config is None:
-        config = { all: None }
+        config = { 'all': None }
     norm_config = config
     if isinstance(config, dict):
         norm_config = teuthology.replace_all_with_clients(ctx.cluster, config)
@@ -392,6 +392,8 @@ def task(ctx, config):
     else:
         role_images = norm_config
 
+    log.debug('rbd config is: %s', norm_config)
+
     with contextutil.nested(
         lambda: create_image(ctx=ctx, config=norm_config),
         lambda: modprobe(ctx=ctx, config=norm_config),