Browse code

disable boto testing in stable/icehouse

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

Conflicts:
lib/tempest

Depends-On: I2b9e8858a7acd1aebb31234ffca813d9d16463e3

Change-Id: I00cc49dbde5119df91582c560d0ef829f546caa7
(cherry picked from commit ace3bdbbec53bb5f4179bcee512f1602f2e60b17)

Sean Dague authored on 2015/02/10 07:03:47
Showing 1 changed files
... ...
@@ -346,16 +346,23 @@ function configure_tempest {
346 346
     iniset $TEMPEST_CONFIG network-feature-disabled api_extensions ${DISABLE_NETWORK_API_EXTENSIONS}
347 347
     iniset $TEMPEST_CONFIG network-feature-enabled xml_api True
348 348
 
349
-    # boto
350
-    iniset $TEMPEST_CONFIG boto ec2_url "$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/services/Cloud"
351
-    iniset $TEMPEST_CONFIG boto s3_url "http://$SERVICE_HOST:${S3_SERVICE_PORT:-3333}"
352
-    iniset $TEMPEST_CONFIG boto s3_materials_path "$BOTO_MATERIALS_PATH"
353
-    iniset $TEMPEST_CONFIG boto ari_manifest cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-initrd.manifest.xml
354
-    iniset $TEMPEST_CONFIG boto ami_manifest cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-blank.img.manifest.xml
355
-    iniset $TEMPEST_CONFIG boto aki_manifest cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-vmlinuz.manifest.xml
356
-    iniset $TEMPEST_CONFIG boto instance_type "$boto_instance_type"
357
-    iniset $TEMPEST_CONFIG boto http_socket_timeout 30
358
-    iniset $TEMPEST_CONFIG boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
349
+    # boto - disabled
350
+    #
351
+    # because of compat issues boto in icehouse is not testable
352
+    # against tempest. Set FORCE_BOTO=1 in local.conf to enable.
353
+    iniset $TEMPEST_CONFIG compute-feature-enabled ec2_api False
354
+    if [[ -n "$FORCE_BOTO" ]]; then
355
+        iniset $TEMPEST_CONFIG boto ec2_url "$EC2_SERVICE_PROTOCOL://$SERVICE_HOST:8773/services/Cloud"
356
+        iniset $TEMPEST_CONFIG boto s3_url "http://$SERVICE_HOST:${S3_SERVICE_PORT:-3333}"
357
+        iniset $TEMPEST_CONFIG boto s3_materials_path "$BOTO_MATERIALS_PATH"
358
+        iniset $TEMPEST_CONFIG boto ari_manifest cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-initrd.manifest.xml
359
+        iniset $TEMPEST_CONFIG boto ami_manifest cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-blank.img.manifest.xml
360
+        iniset $TEMPEST_CONFIG boto aki_manifest cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-vmlinuz.manifest.xml
361
+        iniset $TEMPEST_CONFIG boto instance_type "$boto_instance_type"
362
+        iniset $TEMPEST_CONFIG boto http_socket_timeout 30
363
+        iniset $TEMPEST_CONFIG boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
364
+        iniset $TEMPEST_CONFIG compute-feature-enabled ec2_api True
365
+    fi
359 366
 
360 367
     # Orchestration Tests
361 368
     if is_service_enabled heat; then