Browse code

Move to download.fedoraproject.org

download.fedoraproject.org is the mirror system, while
dl.fedoraproject.org is just one system. We have seen performance issues
with dl.fedoraproject.org and using download.fedoraproject.org was a
recommended as a solution by the folks at #fedora-admin.

Local testing on a rackspace server with dl.fedoraproject.org got about
70K/s while download.fedoraproject.org got over 1M/s

Move over to https as well.

Related-Bug: #1383928
Change-Id: I318d8844cfcfbc42c1e552e443c6b793d20f321f
(cherry picked from commit cac1317676dcb0efa489dd667793cf4f6b366170)

Joe Gordon authored on 2014/10/24 02:52:40
Showing 1 changed files
... ...
@@ -514,7 +514,7 @@ esac
514 514
 if [[ "$ENABLED_SERVICES" =~ 'h-api' ]]; then
515 515
     case "$VIRT_DRIVER" in
516 516
         libvirt|baremetal|ironic)
517
-            HEAT_CFN_IMAGE_URL=${HEAT_CFN_IMAGE_URL:-"http://dl.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2"}
517
+            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"}
518 518
             IMAGE_URLS+=",$HEAT_CFN_IMAGE_URL"
519 519
             ;;
520 520
         *)
... ...
@@ -539,7 +539,7 @@ fi
539 539
 PRECACHE_IMAGES=$(trueorfalse False $PRECACHE_IMAGES)
540 540
 if [[ "$PRECACHE_IMAGES" == "True" ]]; then
541 541
     # staging in update for nodepool
542
-    IMAGE_URL="http://dl.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2"
542
+    IMAGE_URL="https://download.fedoraproject.org/pub/alt/openstack/20/x86_64/Fedora-x86_64-20-20140618-sda.qcow2"
543 543
     if ! [[ "$IMAGE_URLS"  =~ "$IMAGE_URL" ]]; then
544 544
         IMAGE_URLS+=",$IMAGE_URL"
545 545
     fi