Using `git grep el6` and `git grep el7` and variants like EL-7 or
el-7, I found various entries and files which were no longer needed
with the current ansible. I updated text or tests to later versions of
RHEL as needed.
found entries for the fedora ami's for the original cloud and removed
those entries also.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
We had centos stream and altarches and centos linux under /srv/pub on
external download servers. However, this breaks people who sync buffet
or the like from them because they suddenly get centos content that they
want to just get directly elsewhere. So, just move these up a leave so
they are out of the buffet target and people who want them can get them
elsewhere.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
We don't have any more fedora instances that are f34 or before (with
xinetd was dropped) and now we have some rhel9 hosts that don't have
xinetd.
So, adjust the tasks to always use the systemd service on fedora and
rhel9 and use xinetd on rhel7/8.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
odcs just links to the packages in a compose on the /mnt/koji volume
with relative symlinks. ie (
../../../../../../../../mnt/koji/packages/zip/3.0/28.eln109/data/signed/9867c58f/x86_64/zip-3.0-28.eln109.x86_64.rpm
)
Change odcs on download servers to mount on /mnt like koji and then tell
rsync to chroot at /mnt, so it can follow those links and copy the file
from koji volume.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
It looks like lookups for ids on remote servers are not getting
cached. For our rsync of logs and such we don't need to map those for
our delivery.
Signed-off-by: Stephen Smoogen <smooge@smoogespace.com>
https://pagure.io/fedora-infrastructure/issue/9730
Some folks want to rsync eln composes, add this module to download
servers so they can do this if they want. If this adds too much load
we can look at some kind of alternate mirroring.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
* Update rsync configuration for production to sync the flatpak-indexer
output directories into the right place, in the same way as was done
for staging. The regindexer rsync module is renamed to flatpak-index
for clarity.
* Update the registry.fedoraproject.org to use the flatpak-indexer
rules for production.
* Remove the regindexer role
Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
Turns out we want to keep reg and it's output.
So, we just copy flatpak-indexers fedora/deltas/icons dirs under the reg
renerated top level on the proxies.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Under the old setup, we ran 'reg' on sundries and then synced that
content (in 3 rsyncs) to proxies.
With this new setup, flatpak-indexer runs in openshift. It has a nfs
volume where it writes it's output too. We rsync just that entire output
directory to the proxies. This includes things like deltas.
This commit should only affect staging, we will roll to production
later.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>