commit b940e7b7de75bb0842ee36330e69103a98bd3a14
Author: Jesse Pretorius <email address hidden>
Date: Sun Aug 30 01:16:20 2015 +0100
Set the Ubuntu mirror used based on the environment
Apt updates/installs are the most common cause of build timeouts
within HP Cloud gate checks.
This patch changes both the AIO and the gate check from using the
Rackspace Ubuntu mirror for everything to:
1) The AIO bootstrap will use whichever mirror is already defined
on the host operating system.
2) The gate check will use a known mirror which is defined per
cloud provider. If the cloud provider is not known, or the
script is being used outside of OpenStack-CI, then the gate
checkwill fall back to using the AIO's mechanism.
The idea is to make use of an apt mirror that is as close to the
instance as possible in order to speed up apt updates and installs.
Reviewed: https:/ /review. openstack. org/218611 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=b940e7b7de7 5bb0842ee36330e 69103a98bd3a14
Committed: https:/
Submitter: Jenkins
Branch: master
commit b940e7b7de75bb0 842ee36330e6910 3a98bd3a14
Author: Jesse Pretorius <email address hidden>
Date: Sun Aug 30 01:16:20 2015 +0100
Set the Ubuntu mirror used based on the environment
Apt updates/installs are the most common cause of build timeouts
within HP Cloud gate checks.
This patch changes both the AIO and the gate check from using the
Rackspace Ubuntu mirror for everything to:
1) The AIO bootstrap will use whichever mirror is already defined
on the host operating system.
2) The gate check will use a known mirror which is defined per
cloud provider. If the cloud provider is not known, or the
script is being used outside of OpenStack-CI, then the gate
checkwill fall back to using the AIO's mechanism.
The idea is to make use of an apt mirror that is as close to the
instance as possible in order to speed up apt updates and installs.
Closes-Bug: #1491749 b74f27ea98ec595 6e7cf084883
Change-Id: Ia37100bc198b64