Browse code

Merge "Do not download Fedora cloud image for heat"

Jenkins authored on 2015/03/26 12:18:08
Showing 1 changed files
... ...
@@ -560,18 +560,6 @@ case "$VIRT_DRIVER" in
560 560
         IMAGE_URLS=${IMAGE_URLS:-"http://download.cirros-cloud.net/${CIRROS_VERSION}/cirros-${CIRROS_VERSION}-${CIRROS_ARCH}-uec.tar.gz"};;
561 561
 esac
562 562
 
563
-# Use 64bit fedora image if heat is enabled
564
-if [[ "$ENABLED_SERVICES" =~ 'h-api' ]]; then
565
-    case "$VIRT_DRIVER" in
566
-        libvirt|ironic)
567
-            HEAT_CFN_IMAGE_URL=${HEAT_CFN_IMAGE_URL:-"https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2"}
568
-            IMAGE_URLS+=",$HEAT_CFN_IMAGE_URL"
569
-            ;;
570
-        *)
571
-            ;;
572
-    esac
573
-fi
574
-
575 563
 # Trove needs a custom image for its work
576 564
 if [[ "$ENABLED_SERVICES" =~ 'tr-api' ]]; then
577 565
     case "$VIRT_DRIVER" in
... ...
@@ -584,17 +572,6 @@ if [[ "$ENABLED_SERVICES" =~ 'tr-api' ]]; then
584 584
     esac
585 585
 fi
586 586
 
587
-# Staging Area for New Images, have them here for at least 24hrs for nodepool
588
-# to cache them otherwise the failure rates in the gate are too high
589
-PRECACHE_IMAGES=$(trueorfalse False PRECACHE_IMAGES)
590
-if [[ "$PRECACHE_IMAGES" == "True" ]]; then
591
-    # staging in update for nodepool
592
-    IMAGE_URL="https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2"
593
-    if ! [[ "$IMAGE_URLS"  =~ "$IMAGE_URL" ]]; then
594
-        IMAGE_URLS+=",$IMAGE_URL"
595
-    fi
596
-fi
597
-
598 587
 # 10Gb default volume backing file size
599 588
 VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE:-10250M}
600 589