* Something exposed by LP #992096 was that the image
tests were broken because the URL returned from the
service catalog was no longer including a version
identifier. The fix in Tempest was to pass the configure_via_auth=False
parameter to the glance.client.Client constructor. However, in order
for this to work, the host/port in the [image] section of the
Tempest configuration file needs to be set
Change-Id: I9f661a02270a1ad52c10f2233baf899e5f706c82
... | ... |
@@ -131,6 +131,11 @@ COMPUTE_LOG_LEVEL=ERROR |
131 | 131 |
BUILD_INTERVAL=10 |
132 | 132 |
BUILD_TIMEOUT=600 |
133 | 133 |
|
134 |
+# Image test configuration options... |
|
135 |
+IMAGE_HOST=${IMAGE_HOST:-127.0.0.1} |
|
136 |
+IMAGE_PORT=${IMAGE_PORT:-9292} |
|
137 |
+IMAGE_API_VERSION="1" |
|
138 |
+ |
|
134 | 139 |
sed -e " |
135 | 140 |
s,%IDENTITY_USE_SSL%,$IDENTITY_USE_SSL,g; |
136 | 141 |
s,%IDENTITY_HOST%,$IDENTITY_HOST,g; |
... | ... |
@@ -154,6 +159,9 @@ sed -e " |
154 | 154 |
s,%IMAGE_ID_ALT%,$IMAGE_UUID_ALT,g; |
155 | 155 |
s,%FLAVOR_REF%,$FLAVOR_REF,g; |
156 | 156 |
s,%FLAVOR_REF_ALT%,$FLAVOR_REF_ALT,g; |
157 |
+ s,%IMAGE_HOST%,$IMAGE_HOST,g; |
|
158 |
+ s,%IMAGE_PORT%,$IMAGE_PORT,g; |
|
159 |
+ s,%IMAGE_API_VERSION%,$IMAGE_API_VERSION,g; |
|
157 | 160 |
s,%ADMIN_USERNAME%,$ADMIN_USERNAME,g; |
158 | 161 |
s,%ADMIN_PASSWORD%,$ADMIN_PASSWORD,g; |
159 | 162 |
s,%ADMIN_TENANT_NAME%,$ADMIN_TENANT_NAME,g; |