openstack-ansible-lxc_hosts/releasenotes/notes/centos-local-lxc-package-mirror-843e1ceac2469547.yaml
Major Hayden 499eb6fe21 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
2017-12-13 13:31:30 +00:00

17 lines
761 B
YAML

---
other:
- |
CentOS deployments require a special COPR repository for modern LXC
packages. The COPR repository is not 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.