During the datacenter move the cron script installation was disabled for
IAD2. This removes this conditional to be able to update the cron script
again.
Signed-off-by: Adrian Reber <adrian@lisas.de>
update-mirrorlist-server was added as a template but a simple copy would
have been enough.
This changes one of the existing script copy definitions to work with
multiple items and adds update-mirrorlist-server to that item list.
Signed-off-by: Adrian Reber <adrian@lisas.de>
The new mirrorlist cache generation requires now less than one minute.
This includes pushing the data to the proxies. It also runs now every 15
minutes instead of once an hour.
The sync_pkl_to_mirrorlists.sh script has been renamed to
sync_cache_to_mirrorlists.sh as it no longer copies a Python pickle and
it also copies the data to only proxies at the same time instead of one
proxy at a time.
Signed-off-by: Adrian Reber <adrian@lisas.de>
Service can be unmasked, as long as nobody triggers it. If we do it the
other way arount, we see this every-time we log-in on F33+:
Last login: Fri Nov 13 09:15:56 2020 from 193.165.237.101
[systemd]
Failed Units: 1
dnf-makecache.timer
Which is:
systemctl status dnf-makecache.timer
...
...: dnf-makecache.timer: Failed to queue unit startup job: Unit dnf-makecache.service is masked.
...: dnf-makecache.timer: Failed with result 'resources'.
Normally we can just define the site once with it's prod name and use
that in stg with an alias. This works because we have a wildcard ssl
cert for *.fedoraproject.org. So, stg.fedoraproject.org and
fedoraproject.org both work fine. We can't do this for
release-monitoring tho as we use letsencrypt certs and don't have a
wildcard. We could expand out letsencrypt role to get altnames, but just
making these seperate sites should fix it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
The testing of generate-mirrorlist-cache showed that private mirrors
where not part of the mirrorlist cache any more. Only private Internet2
mirrors where included in the cache.
This is fixed upstream in 3.0.2.
Signed-off-by: Adrian Reber <adrian@lisas.de>
The site is the prod name, with an alias for the stg host.
No need to try and install into a stg site when it doesn't exist.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>