diff --git a/config_tempest/constants.py b/config_tempest/constants.py index fe52746f..829f5f7f 100644 --- a/config_tempest/constants.py +++ b/config_tempest/constants.py @@ -26,6 +26,9 @@ DEPLOYER_INPUT = os.path.join(os.path.expanduser("~"), DEFAULT_IMAGE_DIR = 'etc' DEFAULT_IMAGE = ("https://download.cirros-cloud.net/0.6.2/" "cirros-0.6.2-x86_64-disk.img") +# Should DEFAULT_IMAGE be changed to a format which is not qcow2, +# then disconnect DEFAULT_IMAGE from DEFAULT_QCOW2_IMAGE +DEFAULT_QCOW2_IMAGE = DEFAULT_IMAGE DEFAULT_IMAGES = [("https://download.cirros-cloud.net/0.6.2/" "cirros-0.6.2-x86_64-disk.img"), diff --git a/config_tempest/services/image.py b/config_tempest/services/image.py index 1bc67884..4be913bd 100644 --- a/config_tempest/services/image.py +++ b/config_tempest/services/image.py @@ -79,6 +79,7 @@ class ImageService(VersionedService): # this value can't be set to image.http_image, therefor set the # default value conf.set('image', 'http_image', C.DEFAULT_IMAGE) + conf.set('image', 'http_qcow2_image', C.DEFAULT_QCOW2_IMAGE) def _is_multistore_enabled(self): try: