Right now countme-update.sh tries to `git commit -a` whether or not
anything has changed, which results in this output whenever there's no
new changes to commit:
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
raw.db
totals.db
nothing added to commit but untracked files present (use "git add" to track)
This commit tweaks `countme-update.sh` so that it only attempts `git commit`
if there are changes to be committed - i.e. when `git diff` returns 1.
Signed-off-by: Will Woods <wwoods@redhat.com>
Remove everything which is related to running the mirrorlist server
process as a container. This has not been used for the last few months.
Also remove the 3 mirrorlist process setup for IAD2 as it is no longer
necessary and removing it also simplifies the configuration.
Signed-off-by: Adrian Reber <adrian@lisas.de>
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>