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)
Reviewed: https:/ /review. openstack. org/527786 /git.openstack. org/cgit/ openstack/ openstack- ansible- lxc_hosts/ commit/ ?id=db037746f25 3ea8f0cbf6855e8 e522d485c0e8dc
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit db037746f253ea8 f0cbf6855e8e522 d485c0e8dc
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 67709246785c7a6 1278eb64fab 4c5c1687e828c39 c896b2c618)
Change-Id: I8726b46f4058bb
(cherry picked from commit 499eb6fe2167fcf