Browse code

Set ima_disk_format to vhd when hypervisor is XenServer

When running tempest testcase test_minimum_basic_scenario will always fail
due to lack of configuration [scenario] img_disk_format=vhd in tempest.conf
This patchset is to add this configuration when XenServer is used.

Change-Id: I4b916200e6eefb62f148ec8b644fb23ffc7e00a6
Closes-Bug: #1589787
(cherry picked from commit 36afed43534e5f50e0598ff69c7ea8249c24b5c2)

Huan Xie authored on 2016/06/07 12:17:48
Showing 1 changed files
... ...
@@ -292,6 +292,7 @@ function configure_tempest {
292 292
     fi
293 293
     if [ "$VIRT_DRIVER" = "xenserver" ]; then
294 294
         iniset $TEMPEST_CONFIG image disk_formats "ami,ari,aki,vhd,raw,iso"
295
+        iniset $TEMPEST_CONFIG scenario img_disk_format vhd
295 296
     fi
296 297
 
297 298
     # Image Features