Commit graph

35701 commits

Author SHA1 Message Date
Nils Philippsen
369487a3bb Don't write normal operational message to stderr
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>
2021-09-22 10:49:30 +02:00
Nils Philippsen
6ecdab22c0 Clean up messages issued from sync-http-logs.py
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>
2021-09-22 10:49:30 +02:00
Kevin Fenzi
313674646d proxies: increase max workers
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>
2021-09-21 16:19:14 -07:00
e16b76aa31 zodbot: use the correct fedora messaging config
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-09-17 20:02:49 +10:00
71f488c344 zodbot: enable fedora messaging on prod
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-09-17 19:09:45 +10:00
Aurélien Bompard
530d4672de
Syntax fix
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-17 10:47:06 +02:00
Aurélien Bompard
bd3a1b3912
Datanommer: enable the timescaledb extension on the DB
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-17 10:45:52 +02:00
Aurélien Bompard
5523428828
Datanommer: use a different DB password on staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-17 10:32:35 +02:00
Aurélien Bompard
4b4f1b99d8
datanommer: create the database and users
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-17 10:26:00 +02:00
Aurélien Bompard
4cf50fdad2
datanommer02: deploy timescaledb
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-17 09:55:32 +02:00
Mohan Boddu
ca8bc3f0bf Filter perl*bootstrap:* and rpm* modules
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2021-09-16 20:29:28 +00:00
Matěj Grabovský
54ff2d749d retrace: Fix Fedora repo assignment again
Use the correct variable to loop over this time.
2021-09-16 20:25:09 +00:00
Mark O Brien
27fac761b9 datanommer: new eth0_inpv4 naming convention 2021-09-16 12:08:10 +01:00
Mark O Brien
8219ad3b1a datanommer: rename eth0_ip variable 2021-09-16 12:02:51 +01:00
Mark O Brien
3e156240e3 datanommer: missed host reference for virt-create 2021-09-16 11:59:40 +01:00
Mark O Brien
80467d77fa datanommer: second datanommer database server 2021-09-16 10:40:57 +00:00
Aurélien Bompard
655032dc4e
Maybe it does not like the fact
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:21:04 +02:00
Aurélien Bompard
531072c173
Maybe try include instead of import
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:16:14 +02:00
Aurélien Bompard
29d734bb24
Fix syntax
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:12:48 +02:00
Aurélien Bompard
74057f6ae5
Zodbot: create the right username in rabbitmq
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-16 10:10:52 +02:00
Pavel Raiskup
bb247b7421 copr-be: drop duplicate cmd_delete (otherwise innocent typo) 2021-09-16 08:14:35 +02:00
Nils Philippsen
27b41a491e Deploy mirrors-countme (only) as RPM package
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>
2021-09-15 14:41:41 +00:00
Aurélien Bompard
8633cdb65a
Datanommer in Openshift: add an alembic.ini file
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-09-15 15:53:08 +02:00
Luca BRUNO
bffe050667
coreos-cincinnati: deploy current git (52fc69e) 2021-09-15 08:59:21 +00:00
Luca BRUNO
c3135eb522
coreos-cincinnati: deploy current git (52fc69e) 2021-09-15 07:52:21 +00:00
a7680d17eb blockerbugs: fixing typo in path for patch 2021-09-14 13:44:45 -06:00
0628aed2b1 blockerbugs: fix bugzilla query code
There was an unannounced change to rhbz where the default number of
results returned for a query was changed to 20.

This should be a temporary change that will need to be reverted when a
new version of blockerbugs is released with this capability built in.
2021-09-14 13:26:54 -06:00
Adrian Reber
f3c9f3bb9d Enable CentOS Stream 9 in MirrorManager
In addition to configuration file changes this also needs the latest
version of MirrorManager, scan-primary-mirror and mirrorlist-server.

The reason for the software updates are mainly that CentOS Stream is
using an empty topdir ('') and all around the code there were
assumptions that topdir always ends with a slash and an empty string
does not end with a slash.

Signed-off-by: Adrian Reber <adrian@lisas.de>
2021-09-14 17:33:03 +00:00
Matěj Grabovský
763612db97 retrace: Fix Fedora repo assignment
* Fix type error (`rs_internal_fedora_vers` is a list of numbers).
* Assign across all supported architectures.
2021-09-14 15:23:06 +02:00
fbb5ce4367 badges-stg: patch badges-backend to use fasjson
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-09-14 17:00:55 +10:00
Matěj Grabovský
372f845509 default: Set list to empty instead of None
The `eol_opsys` variable should be set explicitly to the empty list
rather than the implicitly `None` otherwise it causes problems down
the line.
2021-09-13 14:24:26 +00:00
Stephen Coady
628eafed9e add keytab service for fmn backend
similar to other services, fmn should
have a keytab installed by the playbook.

Signed-off-by: Stephen Coady <scoady@redhat.com>
2021-09-13 09:52:57 +01:00
Jakub Kadlcik
f4ff67efd5 copr: enable anitya builds for rubygems again 2021-09-12 18:06:48 +02:00
Jakub Kadlcik
2c1cf601b1 copr: update gem2rpm package to the latest version
The old version

    [root@fedora ~]# rpm -qf /usr/bin/gem2rpm
    rubygem-gem2rpm-1.0.1-7.fc34.noarch

Didn't work and failed with

    /usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `initialize': No such file or directory @ rb_sysopen - https://rubygems.org/api/v1/gems/bioroebe.json (Errno::ENOENT)
            from /usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `open'
            from /usr/share/gems/gems/gem2rpm-1.0.1/bin/gem2rpm:55:in `<top (required)>'
            from /usr/bin/gem2rpm:23:in `load'
            from /usr/bin/gem2rpm:23:in `<main>'
2021-09-12 17:36:05 +02:00
Matěj Grabovský
7a65a7fb82 retrace: Move repo-related tasks to separate file 2021-09-10 15:35:41 +02:00
Matěj Grabovský
48a74d76ad retrace: Parameterise over CentOS versions
Allow for Retrace Server to support multiple versions of CentOS via
the `rs_internal_centos_vers` variable.
2021-09-10 15:35:41 +02:00
Matěj Grabovský
14917002b2 retrace: Simplify template syntax
Remove unnecessary juggling with the `eol_opsys` structure.
2021-09-10 15:35:41 +02:00
Matěj Grabovský
86c747de99 retrace: Update and clean up inventory files
* Only support one Fedora release (34) on staging retrace.
* Update list of removed versions on staging.
* Support CentOS 7 and 8 on production instance.
* Update repository URLs, remove dead links.
2021-09-10 15:35:39 +02:00
Matěj Grabovský
1e5443118e retrace: Drop i386 from list of architectures 2021-09-10 15:35:02 +02:00
Luca BRUNO
ff9c7b36f1
coreos-cincinnati: deploy current git (f0667c6) 2021-09-10 11:50:37 +00:00
Luca BRUNO
f6678b35ac
coreos-cincinnati: build current git (f0667c6) 2021-09-10 11:41:29 +00:00
Luca BRUNO
9b8109e427
coreos-cincinnati: deploy current git (edd467d) 2021-09-10 10:29:45 +00:00
Luca BRUNO
1798f30292
coreos-cincinnati: build current git (edd467d) 2021-09-10 10:23:41 +00:00
Luca BRUNO
2c71fb10bc
coreos-cincinnati: deploy current git (dbc206a) 2021-09-10 09:41:40 +00:00
Luca BRUNO
5e2181e382
coreos-cincinnati: build current git (dbc206a) 2021-09-10 09:33:17 +00:00
a09a1c9b4e badges-stg: update datanommer.models hotfix
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-09-10 19:25:20 +10:00
02198b32b3 badges-stg: add hotfix for datanommer.models
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2021-09-10 19:11:26 +10:00
Luca BRUNO
7802c15a1d
coreos-cincinnati: deploy current git (8570eb2) 2021-09-10 08:32:20 +00:00
Luca BRUNO
6d0385d961
coreos-cincinnati: add a start-build task 2021-09-10 08:20:51 +00:00
Luca BRUNO
c8407b7471
coreos-cincinnati: build current git (8570eb2) 2021-09-10 07:55:36 +00:00