Test glance distributed import
Glance is developing functionality to solve the problem where an
image is staged against one worker and the import call arrives at
the other. This adds support to test that. The dependent devstack
patch sets up another glance worker in the catalog as "image_remote",
which we can use to ensure that stage and import calls arrive at
different workers.
Change-Id: I38bafb5316ce3b8aac9b8ac11ae27110a93d3ebd
Depends-On: https://review.opendev.org/c/openstack/devstack/+/770487
diff --git a/tempest/config.py b/tempest/config.py
index 0df5045..e7dca38 100644
--- a/tempest/config.py
+++ b/tempest/config.py
@@ -657,6 +657,15 @@
choices=['public', 'admin', 'internal',
'publicURL', 'adminURL', 'internalURL'],
help="The endpoint type to use for the image service."),
+ cfg.StrOpt('alternate_image_endpoint',
+ default=None,
+ help="Alternate endpoint name for cross-worker testing"),
+ cfg.StrOpt('alternate_image_endpoint_type',
+ default='publicURL',
+ choices=['public', 'admin', 'internal',
+ 'publicURL', 'adminURL', 'internalURL'],
+ help=("The endpoint type to use for the alternate image "
+ "service.")),
cfg.StrOpt('http_image',
default='http://download.cirros-cloud.net/0.3.1/'
'cirros-0.3.1-x86_64-uec.tar.gz',