#1646 init new caching server ansible role
Closed: Fixed by arrfab. Opened by arrfab.

While for our rpm/koji builders we're relying on internal mirror (both for distro or other repositories like epel, etc), we'll be using soon (due to DC move and so hardware split) hybrid cloud models, and so with some EC2 instances running from an isolated VPC.
We should just redirect these hosts to either internal mirror (but would waste some hard disk space for things that would not even be asked for, like .iso images, or pkgs not needed a build time)
Instead we should just use a caching server that would :

  • act as local mirror, but would fetch from origin
  • put files/artifacts in cache (disk) for most frequently requested files (hot-cache)

We can probably just use nginx for that (we used that a long time ago , but configured through puppet) so time to revisit that and test this


Metadata Update from @arrfab:
- Issue marked as blocking: #1641
- Issue tagged with: cbs, centos-common-infra, high-gain, high-trouble

Metadata Update from @arrfab:
- Issue assigned to arrfab

pushed to ansible nginx role and tested from new AWS VPC : isolated builder in "private" subnet are using nginx as local cache and items are retrieved from cache instead of upstream server

Metadata Update from @arrfab:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata