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.
Reviewed: https:/ /review. openstack. org/526739 /git.openstack. org/cgit/ openstack/ openstack- ansible- lxc_hosts/ commit/ ?id=499eb6fe216 7fcf4c5c1687e82 8c39c896b2c618
Committed: https:/
Submitter: Zuul
Branch: master
commit 499eb6fe2167fcf 4c5c1687e828c39 c896b2c618
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
Change-Id: I8726b46f4058bb