From 9eea6b93256053bd08e240e23ca15b8229620017 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Wed, 22 Jun 2011 17:34:08 -0700 Subject: [PATCH] Handle rbd config with no properties. --- teuthology/task/rbd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/task/rbd.py b/teuthology/task/rbd.py index 66500c03f3333..c3cf0958fb0aa 100644 --- a/teuthology/task/rbd.py +++ b/teuthology/task/rbd.py @@ -355,6 +355,8 @@ def task(ctx, config): if isinstance(config, dict): role_images = {} for role, properties in config.iteritems(): + if properties is None: + properties = {} role_images[role] = properties.get('image_name') else: role_images = config -- 2.39.5