Browse code

disable boto testing in stable/icehouse

due to incompatibilities between stable/icehouse ec2 support and
latest boto, this is currently no longer testable with latest
tempest. Disable this section for now.

Change-Id: I00cc49dbde5119df91582c560d0ef829f546caa7

Sean Dague authored on 2015/02/10 07:03:47
Showing 1 changed files
... ...
@@ -336,16 +336,23 @@ function configure_tempest {
336 336
     iniset $TEMPEST_CONFIG network-feature-enabled ipv6 "$IPV6_ENABLED"
337 337
     iniset $TEMPEST_CONFIG network-feature-enabled xml_api True
338 338
 
339
-    # boto
340
-    iniset $TEMPEST_CONFIG boto ec2_url "http://$SERVICE_HOST:8773/services/Cloud"
341
-    iniset $TEMPEST_CONFIG boto s3_url "http://$SERVICE_HOST:${S3_SERVICE_PORT:-3333}"
342
-    iniset $TEMPEST_CONFIG boto s3_materials_path "$BOTO_MATERIALS_PATH"
343
-    iniset $TEMPEST_CONFIG boto ari_manifest cirros-0.3.1-x86_64-initrd.manifest.xml
344
-    iniset $TEMPEST_CONFIG boto ami_manifest cirros-0.3.1-x86_64-blank.img.manifest.xml
345
-    iniset $TEMPEST_CONFIG boto aki_manifest cirros-0.3.1-x86_64-vmlinuz.manifest.xml
346
-    iniset $TEMPEST_CONFIG boto instance_type "$boto_instance_type"
347
-    iniset $TEMPEST_CONFIG boto http_socket_timeout 30
348
-    iniset $TEMPEST_CONFIG boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
339
+    # boto - disabled
340
+    #
341
+    # because of compat issues boto in icehouse is not testable
342
+    # against tempest. Set FORCE_BOTO=1 in local.conf to enable.
343
+    iniset $TEMPEST_CONFIG compute-feature-enabled ec2_api False
344
+    if [[ -n "$FORCE_BOTO" ]]; then
345
+        iniset $TEMPEST_CONFIG boto ec2_url "http://$SERVICE_HOST:8773/services/Cloud"
346
+        iniset $TEMPEST_CONFIG boto s3_url "http://$SERVICE_HOST:${S3_SERVICE_PORT:-3333}"
347
+        iniset $TEMPEST_CONFIG boto s3_materials_path "$BOTO_MATERIALS_PATH"
348
+        iniset $TEMPEST_CONFIG boto ari_manifest cirros-0.3.1-x86_64-initrd.manifest.xml
349
+        iniset $TEMPEST_CONFIG boto ami_manifest cirros-0.3.1-x86_64-blank.img.manifest.xml
350
+        iniset $TEMPEST_CONFIG boto aki_manifest cirros-0.3.1-x86_64-vmlinuz.manifest.xml
351
+        iniset $TEMPEST_CONFIG boto instance_type "$boto_instance_type"
352
+        iniset $TEMPEST_CONFIG boto http_socket_timeout 30
353
+        iniset $TEMPEST_CONFIG boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
354
+        iniset $TEMPEST_CONFIG compute-feature-enabled ec2_api True
355
+    fi
349 356
 
350 357
     # Orchestration Tests
351 358
     if is_service_enabled heat; then