Browse code

XenAPI: Fix disk_formats verified by tempest

lib/glance restricts the disk_formats to those supported by XenAPI, so
tempest needs a similar restriction for the disk_formats tested.

Confirmed as passing internal Citrix CI (affected tempest jobs are
currently disabled in voting XenServer CI until this change lands)

Change-Id: Iefa5b16a3fa1789ed583426ea47ebb22e6cb571e

Bob Ball authored on 2016/01/15 22:56:37
Showing 1 changed files
... ...
@@ -314,6 +314,9 @@ function configure_tempest {
314 314
     if [[ ! -z "$TEMPEST_HTTP_IMAGE" ]]; then
315 315
         iniset $TEMPEST_CONFIG image http_image $TEMPEST_HTTP_IMAGE
316 316
     fi
317
+    if [ "$VIRT_DRIVER" = "xenserver" ]; then
318
+        iniset $TEMPEST_CONFIG image disk_formats "ami,ari,aki,vhd,raw,iso"
319
+    fi
317 320
 
318 321
     # Image Features
319 322
     iniset $TEMPEST_CONFIG image-feature-enabled deactivate_image True