From 9799a994c6ccb4daf41d8d38e0d55b2c771a58fb Mon Sep 17 00:00:00 2001 From: stewie925 Date: Thu, 28 Mar 2019 17:01:10 -0700 Subject: [PATCH] Ranger IMS tempest test update Remove hardcoding for ranger Tempest image upload URL Change-Id: I209b270ff85eb09d3ee813954ac78bb21b81caa6 --- .../ranger_tempest_plugin/tests/api/ims_base.py | 7 +------ ranger-tempest-plugin/tempest_setup/tempest.conf | 2 ++ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ranger-tempest-plugin/ranger_tempest_plugin/tests/api/ims_base.py b/ranger-tempest-plugin/ranger_tempest_plugin/tests/api/ims_base.py index 4202a767..a2eddfdb 100755 --- a/ranger-tempest-plugin/ranger_tempest_plugin/tests/api/ims_base.py +++ b/ranger-tempest-plugin/ranger_tempest_plugin/tests/api/ims_base.py @@ -54,12 +54,7 @@ class ImsBaseOrmTest(base.BaseOrmTest): post_body["name"] = data_utils.rand_name( "orm-plugin-TestTempestIms-image") - # use ubuntu website for the image location URL - ubuntu_url = "http://archive.ubuntu.com/" - ubuntu_dir = "ubuntu/dists/xenial/main/installer-i386/current/images/" - ubuntu_iso = "netboot/mini.iso" - post_body["url"] = ubuntu_url + ubuntu_dir + ubuntu_iso - + post_body["url"] = CONF.ranger.image_url post_body["disk-format"] = "qcow2" post_body["container-format"] = "bare" diff --git a/ranger-tempest-plugin/tempest_setup/tempest.conf b/ranger-tempest-plugin/tempest_setup/tempest.conf index af3020d5..01c347f7 100644 --- a/ranger-tempest-plugin/tempest_setup/tempest.conf +++ b/ranger-tempest-plugin/tempest_setup/tempest.conf @@ -118,6 +118,8 @@ multi_backend = false # RANGER_FMS_BASE_URL='https://:443' ### set ranger IMS service URL # RANGER_IMS_BASE_URL='https://:443' +### uncomment to set the image container URL +# image_url = ### uncomment below to set verify = TRUE # verify=True ### uncomment to set token authentication ON