Matthew Miller found that running the awk script over multiple days
caused newer releases than F33 would go up forever. This fix should
zero out all the new variables.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
When a corrupt date is found in the log file, I have the program
default of 1970-01-01 but because there is a lookup used it needed to
be 1970-Jan-01 which would then get replaced by 1970-01-01.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
BLOCKERBUGS_URL needs to be defined in order to show correct links in the
staging environment. While fixing that, realized that most of the if-else
clauses were unnecessary, because there are already group vars for that. So
simplified the config file by using the vars. KOJI_URL is dropped because it's
no longer needed.
Related: https://pagure.io/fedora-qa/blockerbugs/issue/192
The box is repeatedly getting stuck and requiring a reboot. It
didn't do so without the workers running, so possibly it's just
overloaded. Let's try it with 20 workers.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
The crontab command only implements the `-T` option from version 1.5.6
of cronie but log01 has 1.5.2 (current release in RHEL 8.4).
Signed-off-by: Nils Philippsen <nils@redhat.com>
This prevents sending out unnecessary mails when run from the related
cron job:
condense-mirrorlogs.cron
-> condense-mirrorlogs.sh > /dev/null
-> mirrorlist.py
Additionally, report the failing file name in the case of an error.
Signed-off-by: Nils Philippsen <nils@redhat.com>
Previously, the script was very talkative by default. Make the default
to be silent for log levels < WARNING and allow logging (at different
level) to syslog. Additionally, configure the cronjob to log everything
of levels >= INFO to syslog.
Signed-off-by: Nils Philippsen <nils@redhat.com>
Also add a ssl connection cache.
These changes are live on proxy01/10 and seem to have made them stable
again. Will look at pushing to the rest tomorrow.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This also ensures that the previously cloned git repository and local
installation of the Python package and associated scripts are removed.
Signed-off-by: Nils Philippsen <nils@redhat.com>