From dc73d39a3006f92b2902a08279377634efb03094 Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Mon, 17 Nov 2014 03:54:58 +0000 Subject: [PATCH] Add TEMPEST_ENABLE_NOVA_XML_API option XML support of Nova API has been deprecated with the following message: XML support has been deprecated and may be removed as early as the Juno release. Now Kilo development cycle started, so we should disable Nova API XML tests on Tempest. This patch adds TEMPEST_ENABLE_NOVA_XML_API option for setting Tempest test by devstack-gate. The default value is True because of keeping the test coverage. After merging a devstack-gate patch which specifes True for stable/icehouse and stable/juno, we will set False for the master blanch. I4acc15ce5f487738bb34a95c2261a5d05d827d8d is a Nova patch which removes XML API support. Change-Id: I2ab8f5c3d15b496e0b639c99bb8592533a69a265 --- lib/tempest | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tempest b/lib/tempest index 9e025a1096..7ef8a308e3 100644 --- a/lib/tempest +++ b/lib/tempest @@ -303,6 +303,7 @@ function configure_tempest { iniset $TEMPEST_CONFIG compute-feature-enabled change_password False iniset $TEMPEST_CONFIG compute-feature-enabled block_migration_for_live_migration ${USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION:-False} iniset $TEMPEST_CONFIG compute-feature-enabled api_extensions ${COMPUTE_API_EXTENSIONS:-"all"} + iniset $TEMPEST_CONFIG compute-feature-enabled xml_api_v2 ${TEMPEST_ENABLE_NOVA_XML_API:-True} iniset $TEMPEST_CONFIG compute-feature-disabled api_extensions ${DISABLE_COMPUTE_API_EXTENSIONS} # Compute admin