]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
calamari_setup: Require test_image to be set
authorDan Mick <dan.mick@redhat.com>
Fri, 27 Mar 2015 00:00:38 +0000 (17:00 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 27 Mar 2015 00:01:48 +0000 (17:01 -0700)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
tasks/calamari_setup.py

index ab437b2b84293fbc68e99122604f67deecf980c7..908f4bda462cff490605c2190a482d2c48b5200b 100644 (file)
@@ -185,6 +185,8 @@ def calamari_install(config, cal_svr):
 
     test_image = config['test_image']
 
+    if not test_image:
+        raise RuntimeError('Must supply test image')
     log.info('calamari test image: %s' % test_image)
     delete_iceball = False