Commit graph

40529 commits

Author SHA1 Message Date
4b1a070ac9 kerneltest: add fedoramessaging configuration
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-18 13:02:47 +10:00
Kevin Fenzi
fa729a6210 haproxy: set keepalive mode for kojipkgs
We are hitting a sporadic and anoying 502 error with ostree pulls.
see https://pagure.io/releng/issue/11439

The problem seems to be between haproxy and varnish on kojipkgs01.

We set the httpclose option in haproxy globally, which closes
connections as soon as it thinks they are done.
Setting this option 'httpkeepalive' will keep connections alive
and handle the case of lots of fast connections downloading small
objects much better.

Sadly, we don't have a way to test this in staging, so we would need to
test in prod and roll back if there's problems.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-15 11:57:46 -07:00
Michal Konecny
08204451a8 [mailman] Disable processing of old bounce events
As mailman didn't processed bounce events, just saved them in the database, we
need to say that we don't want to process the old ones. See
https://docs.mailman3.org/en/latest/upgrade-guide.html#upgrade-from-3-3-1-to-3-3-1
for more info.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 16:53:39 +01:00
Michal Konecny
eb11e320f1 [mailman] Remove non existing middleware from django
SessionAuthenticationMiddleware doesn't exist in django.contrib.auth anymore.
Let's remove it from the list.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 16:53:39 +01:00
Michal Konecny
4145c3982c [mailman] Add packages needed for tests
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 16:53:39 +01:00
Michal Konecny
2830cad48d [mailman] Let's disable tests for now
The tests are failing a lot with new deployment, let's disable them now and
enable them again when the service will be actually running.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 16:53:39 +01:00
Pedro Moura
1a34942c79 Planet: Add cronjob and PVC
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-03-15 14:06:10 +00:00
Michal Konecny
aa56a6bb45 [mailman] Fixes for post-update script
Another bunch of fixes for post-update.sh script.
* Migrate pg-give-rights.py to python3
* Add settings_test.py to staging as well

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 13:00:05 +01:00
Michal Konecny
ad315c5536 [mailman] Fix the post-update.sh script
Fixes for the post-update.sh script for mailman:
* add missing dependencies
* Use correct template type for navbar-brand
* Fix urls.py for postorius
* Add settings_admin.py as it is needed for db migration

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 12:01:44 +01:00
Michal Konecny
93fbacb1fd [mailman] Disable paintstore plugin for staging
paintstore plugin is not available for django on EPEL 9 now, let's disable it
for now.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 11:04:50 +01:00
Michal Konecny
e3ddf7cddb [mailman] Use the correct yamlget script on staging
We need to use updated yamlget script, but it wasn't added correctly and the old
one was executed instead.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-15 09:21:47 +00:00
Siteshwar Vashisht
99f13d0756 openscanhub: fix hub url in the django configurations
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-15 09:13:35 +00:00
1bce413550 kerneltest: set API key in the config
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-15 12:46:02 +10:00
Michal Konecny
2867a08e75 [mailman] Fix the yamlget script
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 18:16:44 +01:00
Michal Konecny
60dc16d7c9 [mailman] Disable cron mails for staging
It's spamming a lot lately as I'm working on new deployment, let's disable the
mails for now.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 17:43:50 +01:00
Michal Konecny
6d0370a0dc [mailman] Install the post-transaction-actions plugin correctly
It should be installed as standard package.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 17:32:44 +01:00
Michal Konecny
1e005e7b2f [mailman] Add correct folder for post-transaction trigger
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 17:08:51 +01:00
Michal Konecny
17400d7060 [mailman] Fix the cronjob error
Add python3-pylibmc to list of installed packages.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 17:00:00 +01:00
Michal Konecny
122faad904 [mailman] Enable post-actions plugin
Enable post-transaction-actions plugin for mailman to be able to run post
transaction scripts.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 16:43:58 +01:00
Michal Konecny
375ccfbb06 [mailman] Add missing /
I forgot to add / in the path. Let's add it

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 16:26:08 +01:00
Michal Konecny
87002ed661 [mailman] Move the banner task after folder creation
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 16:12:53 +01:00
Michal Konecny
e51bbd4fcf [mailman] Fix the condition
I'm surprised this wasn't caught by ansible-lint.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 14:53:58 +00:00
Aurélien Bompard
2a67646593
MM: give more time to the secondary arch crawl
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 15:45:23 +01:00
Aurélien Bompard
d1d62fa132
MM: give more time to the archive crawl
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 15:38:40 +01:00
Michal Konecny
529fa0880a [mailman] Update the role for mailman 3.3+ staging-only
This updates the mailman role to work on EPEL 9. This is the first iteration,
let's see what will work and what not after it.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 15:15:21 +01:00
Siteshwar Vashisht
77e895cda9 openscanhub: add ssh private key to osh hub
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-14 14:30:28 +01:00
Siteshwar Vashisht
5d5ec547ea openscanhub: add a non-empty tag in resalloc pool
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-14 11:39:59 +01:00
Aurélien Bompard
c08ebd8fa9
MM: syntax
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 10:15:49 +01:00
Siteshwar Vashisht
b324ff3dc8 openscanhub: workaround a bug with on demand tags
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-14 09:39:20 +01:00
Aurélien Bompard
36a0799037
MM: verbose run for logrotate
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 09:24:01 +01:00
Aurélien Bompard
d11d6a27d9
MM: don't use host timeout
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-14 08:59:03 +01:00
Pavel Raiskup
d320f9821e copr-pulp-dev: open API for external clients 2024-03-14 08:47:24 +01:00
18fb4a9f5d kerneltest: use correct appname when including PVC object
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-14 12:53:26 +10:00
e416bacc9f kerneltest: add persistent storage for logs
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-03-14 12:42:07 +10:00
Pavel Raiskup
4a01fb6f3e copr: use aws_ipv6_con var on more palces 2024-03-13 21:35:22 +01:00
Pavel Raiskup
5a45135c38 copr: ipv6 also on non-Fedora boxes 2024-03-13 21:32:51 +01:00
Pavel Raiskup
20d43f939f copr-pulp: setup ipv6 2024-03-13 21:26:45 +01:00
Pavel Raiskup
f5adb3bf01 copr-pulp: swap fix - no btrfs on EL9 2024-03-13 20:18:20 +01:00
Pavel Raiskup
299027e01d copr-pulp: enable swap 2024-03-13 20:15:48 +01:00
Pavel Raiskup
cdb5c923a5 copr-pulp-dev: don't start node exporter
EL9 boxes have the service named differently, and we don't need it
started right now.
2024-03-13 19:47:40 +01:00
Pavel Raiskup
209842d2e2 copr-pulp-dev: birthday no more 2024-03-13 19:12:43 +01:00
Pavel Raiskup
5307818474 aws: epel9 repofile && gpgkey 2024-03-13 19:12:26 +01:00
Pavel Raiskup
a2199270a0 copr-pulp: don't override ansible_ssh_user variable 2024-03-13 19:03:23 +01:00
Pavel Raiskup
1a81b873e6 aws_cloud: temporary ec2 user 2024-03-13 18:52:43 +01:00
Pavel Raiskup
24673e9e08 copr-pulp-dev: proper birthday 2024-03-13 18:48:32 +01:00
Pavel Raiskup
5b13347362 copr-pulp-dev: birthday 2024-03-13 18:36:47 +01:00
Siteshwar Vashisht
8326675ea2 openscanhub: use on demand tags with resalloc
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-13 17:52:36 +01:00
c4rt0
83f4e26ee4 coreos-cincinnati: update Dockerfile to Fedora 39
See: https://github.com/coreos/fedora-coreos-tracker/issues/1490
2024-03-13 16:37:32 +00:00
Siteshwar Vashisht
0d286d90b0 openscanhub: enable tags in resalloc pools
They are needed for opening a resalloc ticket.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-03-13 16:28:28 +00:00
Aurélien Bompard
fa91a361ac
MM: use logrotate for crawler logs, and give them more space
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-03-13 17:20:53 +01:00