Commit graph

148 commits

Author SHA1 Message Date
Stephen Smoogen
432a3a497b Go through and remove entries for EL6 and EL7
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>
2024-07-03 22:20:30 +00:00
Kevin Fenzi
eac8b3b075 sundries / staging: update rsyncd.conf with correct paths and networks
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-01 17:36:45 -07:00
Kevin Fenzi
916ded8869 rsyncd: allow log01.vpn to rsync logs from external download hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-27 14:37:16 -08:00
Pedro Moura
bbbc74ffe3 Remove membership-map role and its references from other files
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2023-10-02 18:24:26 +00:00
5e95d86756 retire spins.fedoraproject.org 2023-07-20 21:13:19 +00:00
Kevin Fenzi
e0cb1c5188 download: move centos items out of /srv/pub
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>
2023-07-12 15:53:43 -07:00
Timothée Ravier
3a79d45596 Remove standalone Kinoite website
Replaced by https://fedoraproject.org/kinoite/
Needs: https://pagure.io/fedora-infra/ansible/pull-request/1479
2023-07-05 23:56:38 +00:00
a4d2fb7107 retire arm.fedoraproject.org
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-05-24 23:57:33 +00:00
Kevin Fenzi
7139709ebd rsyncd: modernize tasks for fedora and rhel versions with xinetd and rsyncd.service
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>
2023-04-06 14:12:49 -07:00
Kevin Fenzi
261879c688 rsyncd: use systemd service on rhel9 as well as fedora
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-15 15:34:32 -07:00
Kevin Fenzi
36eaa708fa rsyncd: fix correctly this time (I hope)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 16:22:03 -08:00
Kevin Fenzi
14a7ec3046 rsyncd: fix conditional harder
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 16:16:11 -08:00
Kevin Fenzi
921add1320 dns: adjust conditionals for dns servers using rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 16:07:50 -08:00
9000dd6def docs: remove docs-old 2022-12-05 22:08:18 +00:00
68d61b87c5 websites: clean old build configuration on sundries 2022-06-27 22:51:27 +00:00
Kevin Fenzi
5b5b2c0b4d rsyncd: drop restarting xinetd handler for fedora hosts, it no longer exists
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-25 16:24:08 -07:00
Stephen Smoogen
95bb3249e6 ibiblio can rsync down cc-rdu01 for centos 2021-10-04 11:07:56 -04:00
Stephen Smoogen
16bf2c0a4e Add in support for mirroring centos-stream to the RDU-CC mirror. This will allow CBS and CI to use Stream-9 better
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2021-09-30 13:51:49 -04:00
seddikalaouiismaili
dc576316fd replace xinetd by systemd for fedora >= 34 2021-09-29 18:51:19 +00:00
Timothée Ravier
4d43b7e377 kinoite.fedoraproject.org: Add site and pipeline
Signed-off-by: Timothée Ravier <tim@siosm.fr>
2021-09-27 19:01:44 +00:00
Kevin Fenzi
b7a031c9fd fedoraloveskde.org: add site and pipeline to deploy it and dns zone
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-06-14 12:49:11 -07:00
Kevin Fenzi
e0662c5f2d rsyncd / download: adjust odcs to allow package rsyncs
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>
2021-05-17 13:46:36 -07:00
Stephen Smoogen
36a6a49399 The option I tried was only useful for non-daemon mode. Removing 2021-03-31 13:51:13 -04:00
Stephen Smoogen
b7f6ebae86 Add --numeric-ids to rsync xinetd
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>
2021-03-31 13:11:56 -04:00
Kevin Fenzi
02111da3e4 downloads: add odcs/eln rsync target
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>
2021-03-30 15:03:41 -07:00
Owen W. Taylor
75e81cbccd Move fedora-indexer to production and remove regindexer
* 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>
2021-03-26 20:39:43 +00:00
Kevin Fenzi
317f724a08 sundries / staging: adjust flatpak-indexer some more in staging
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>
2021-03-09 13:44:05 -08:00
Kevin Fenzi
9116768e2a sundries and proxies / staging: switch to new flatpak-indexer
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>
2021-03-09 12:33:44 -08:00
Michael Scherer
e1b408851a Remove build of fudcon
The source code was removed in https://pagure.io/fedora-websites/c/f5646276cf629ffa32b87cb23afb99823d498510?branch=master
and the website is just a redirect.
2021-02-04 21:05:18 +00:00
Stephen Smoogen
66ec88166d an attempt to fix the rsync.sundries emails by giving many more instances in xinetd. **FIXME: move this to systemd only.** 2020-09-21 14:10:35 -04:00
Kevin Fenzi
7984b46eb7 The great phx2 pruning run (1st cut).
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>
2020-06-14 14:14:31 -07:00
Stephen Smoogen
fdee6622ce fix sundries rsync to allow vpn to get data 2020-06-12 13:16:21 -04:00
Stephen Smoogen
f65a48aa61 allow log01 to get logs from proxies and other hosts. fix both iptables and rsyncd 2020-06-12 11:01:08 -04:00
Stephen Smoogen
53456edb84 allow sundries to talk to 10.3.160 networks 2020-06-08 15:29:28 -04:00
Stephen Smoogen
67f3171042 Begin setup of download servers in IAD2. 2020-05-20 09:09:45 -04:00
Stephen Smoogen
f05aa2a046 start excising boot from websites 2020-04-24 21:34:23 +02:00
Stephen Smoogen
870eee6e99 Revert "remove boot.fedoraproject.org from proxy data files"
This reverts commit d6ecabe44506a1ca82125e17d1dc6a7f05ac7a2a.
2020-04-24 21:34:23 +02:00
Stephen Smoogen
9d3706d64d remove boot.fedoraproject.org from proxy data files 2020-04-24 21:34:23 +02:00
Rick Elrod
2151aee9fd rsyncd: try to fix role for python3 boxen
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:18 +02:00
Stephen Smoogen
6bd3839029 allow interna to rsync beta 2020-04-24 21:34:11 +02:00
Kevin Fenzi
81fb4582e7 ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32 update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Stephen Smoogen
ffdc193701 removing koji/compose from downloads as nothing seems to be getting packages from it 2020-04-24 21:34:07 +02:00
Karsten Hopp
d0f4549304 rsyncd: dnf -> package, with_item changes 2019-06-11 16:10:11 +00:00
Rick Elrod
1e6f1ff970 change rsyncd path to new getfedora.org
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-05-13 10:52:22 +00:00
Rick Elrod
13b06e7e38 getfedora stg: use the new (openshift nfs) mount for rsyncd
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-05-13 00:58:57 +00:00
Patrick Uiterwijk
785cb728b7 Move docs sync over to new openshift-built source
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-04-18 20:35:48 +02:00
Patrick Uiterwijk
1fd0776f26 Switch sundries-stg over to new docs build
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-04-16 19:29:39 +02:00
Stephen Smoogen
972adc0a03 rsyncd/download remove centos item that needs to be after freeze 2019-03-12 13:20:59 +00:00
Stephen Smoogen
160a9d65bb FBR: rsyncd/download servers Add dotsrc to tier1
Add dotsrc to tier1 so that europe has another large mirror.
2019-03-12 13:20:00 +00:00