Comment 2 for bug 1491749

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/218611
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=b940e7b7de75bb0842ee36330e69103a98bd3a14
Submitter: Jenkins
Branch: master

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.

    Closes-Bug: #1491749
    Change-Id: Ia37100bc198b64b74f27ea98ec5956e7cf084883