Add an infra mirror for the COPR LXC repository

Bug #1730380 reported by Major Hayden on 2017-11-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
High
Major Hayden

Bug Description

The COPR repository that the CentOS gate jobs use for LXC needs a mirror. The packages are fairly small and the list of packages coming from that mirror are relatively short, so this isn't critical.

Major Hayden (rackerhacker) wrote :

This is a bit higher priority with the big Fedora Infra maintenance this week. :/

https://status.fedoraproject.org/q4maint.html

Changed in openstack-ansible:
importance: Low → High
Changed in openstack-ansible:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/526739
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-lxc_hosts/commit/?id=499eb6fe2167fcf4c5c1687e828c39c896b2c618
Submitter: Zuul
Branch: master

commit 499eb6fe2167fcf4c5c1687e828c39c896b2c618
Author: Major Hayden <email address hidden>
Date: Tue Dec 12 11:06:36 2017 -0600

    Create and use a local LXC RPM repo

    CentOS deployments require a special COPR repository for modern LXC
    packages. The COPR repository isn't mirrored at this time and this
    causes failed gate tests and production deployments.

    The role now syncs the LXC packages down from COPR to each host and
    builds a local LXC package repository in `/opt/thm-lxc2.0`. This
    greatly reduces the amount of times that packages must be downloaded
    from the COPR server during deployments, which will reduce failures
    until the packages can be hosted with a more reliable source.

    In addition, this should speed up playbook runs since ``yum`` can
    check a locally-hosted repository instead of a remote repository
    with availability and performance challenges.

    Partial-Bug: 1730380
    Change-Id: I8726b46f4058bb67709246785c7a61278eb64fab

Reviewed: https://review.openstack.org/527786
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-lxc_hosts/commit/?id=db037746f253ea8f0cbf6855e8e522d485c0e8dc
Submitter: Zuul
Branch: stable/pike

commit db037746f253ea8f0cbf6855e8e522d485c0e8dc
Author: Major Hayden <email address hidden>
Date: Tue Dec 12 11:06:36 2017 -0600

    Create and use a local LXC RPM repo

    CentOS deployments require a special COPR repository for modern LXC
    packages. The COPR repository isn't mirrored at this time and this
    causes failed gate tests and production deployments.

    The role now syncs the LXC packages down from COPR to each host and
    builds a local LXC package repository in `/opt/thm-lxc2.0`. This
    greatly reduces the amount of times that packages must be downloaded
    from the COPR server during deployments, which will reduce failures
    until the packages can be hosted with a more reliable source.

    In addition, this should speed up playbook runs since ``yum`` can
    check a locally-hosted repository instead of a remote repository
    with availability and performance challenges.

    Partial-Bug: 1730380
    Change-Id: I8726b46f4058bb67709246785c7a61278eb64fab
    (cherry picked from commit 499eb6fe2167fcf4c5c1687e828c39c896b2c618)

tags: added: in-stable-pike
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers