Commit graph

29565 commits

Author SHA1 Message Date
Adrian Reber
ace91e0f9f mirrorlist: second try to rework unit file
Still based on https://www.redhat.com/sysadmin/podman-shareable-systemd-services

Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:19 +02:00
Pavel Raiskup
906f5c821c copr: fe: enable logrotate on frontend 2020-04-24 21:34:19 +02:00
Pierre-Yves Chibon
88c5dea064 distgit-bz: enable sending emails
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:19 +02:00
Pierre-Yves Chibon
e2b74eb9af distgit-bz: enable the script in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:19 +02:00
Adrian Reber
4b588f620c Revert "mirrorlist: adapt service file based on official recommendation"
This reverts commit 96904b2c5bf5a2cee1cacd877911740954f4b245.
2020-04-24 21:34:19 +02:00
Adrian Reber
ad8c451629 Revert "mirrorlist: use correct path for cid and pid file"
This reverts commit 43d3cc1523a53a094ca765aee8c754d406673ffc.
2020-04-24 21:34:19 +02:00
Adrian Reber
11c8cae9e7 Revert "mirrorlist: typo: it has to be user not run"
This reverts commit a08982cf8cd952e2b857c356515773200a972d95.
2020-04-24 21:34:19 +02:00
Adrian Reber
2c4434a520 Revert "mirrorlist: with forking use 'podman run -d'"
This reverts commit a18931da2d1c6b43831137951512bc130b0e77ed.
2020-04-24 21:34:19 +02:00
Adrian Reber
2202fe726d mirrorlist: with forking use 'podman run -d'
Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:19 +02:00
Adrian Reber
c8b551c319 mirrorlist: typo: it has to be user not run
Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:19 +02:00
Adrian Reber
3d55811795 mirrorlist: use correct path for cid and pid file
Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:19 +02:00
Adrian Reber
639bcfd0f5 mirrorlist: adapt service file based on official recommendation
This changes the mirrorlist service file to conform to the
recommendations given in:

https://www.redhat.com/sysadmin/podman-shareable-systemd-services

Signed-off-by: Adrian Reber <adrian@lisas.de>
2020-04-24 21:34:19 +02:00
Pierre-Yves Chibon
3527d6e494 distgit-bz: use three -, not just two
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:19 +02:00
Pierre-Yves Chibon
f79d5d143e distgit-bz: move from one cron job to two
This will allow to run one with email enabled and thus notifying users
if their account is wrongly configured.
The other run will be with email disabled, thus notifying only the admins
(in this case: Kevin and I) about mis-configurations.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-24 21:34:19 +02:00
Miroslav Suchý
944c11f36f Revert "copr: load vars/all so we have defined FedoraBranched"
This reverts commit 6dd00ebd8b637d94c4f9886d81ac89c268640ea2.
2020-04-24 21:34:19 +02:00
Miroslav Suchý
264ddd3306 add tag, without a tag this load is skipped when using -t config 2020-04-24 21:34:19 +02:00
Miroslav Suchý
b46e36ec41 include all/vars only once
and there is no need to load it in every playbook in pre_tasks
2020-04-24 21:34:19 +02:00
Miroslav Suchý
b7ac456535 copr: load vars/all so we have defined FedoraBranched
addressing:
TASK [put fedora repos on primary architecture systems] *****************************************************************
Monday 16 December 2019  10:32:33 +0000 (0:00:00.059)       0:00:00.541 *******
failed: [copr-frontend01.stg.phx2.fedoraproject.org] (item=fedora.repo) => {"ansible_loop_var": "item", "changed": false, "item": "fedora.repo", "msg": "AnsibleUndefinedVariable: 'FedoraBranched' is undefined"}
failed: [copr-frontend02.stg.phx2.fedoraproject.org] (item=fedora.repo) => {"ansible_loop_var": "item", "changed": false, "item": "fedora.repo", "msg": "AnsibleUndefinedVariable: 'FedoraBranched' is undefined"}
ok: [copr-frontend01.stg.phx2.fedoraproject.org] => (item=fedora-updates.repo)
ok: [copr-frontend02.stg.phx2.fedoraproject.org] => (item=fedora-updates.repo)
ok: [copr-frontend01.stg.phx2.fedoraproject.org] => (item=fedora-updates-testing.repo)
ok: [copr-frontend02.stg.phx2.fedoraproject.org] => (item=fedora-updates-testing.repo)
2020-04-24 21:34:19 +02:00
Miroslav Suchý
58b7c91023 copr: repo files can eat whole pool, use dedicated ProcessGroup for them
Sometimes webUI lagged. When I checked I seen a lot of
  /coprs/ibotty/prometheus-exporters/repo/epel-7/ibotty-prome

Those requests can be valid, but as there is many of them, they blocks
processes handling webUI. Lets move /repo/ requesto to dedicated group.
2020-04-24 21:34:19 +02:00
Clement Verna
229c81e31a Bodhi: use the celery worker of bodhi-backend01 only for composes
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
919e659195 loopabull / fedmsg: switch fedmsg to WARN instead of INFO here.
For some reason loopabull logs about 20-30 lines of stuff for every fedmsg
as it connects to rabbitmq, processes and disconnects. We don't need all this.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
ce37fa536d loopabull: log level info is spewing tons and tons to syslog, lets try warn.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
eeb3f9ce89 zanata2fedmsg: add deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
9025fecdf7 wiki: Only try and make the rabbitmq user on wiki01/wiki01.stg, not both.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Pavel Raiskup
09cc40e670 copr: backend: experiment with swap=ON and swappiness=5
This is experiment, I configured $Subject manually - and I only want to
not re-set the swap config by ansible playbook.  If everything works
well, we need to enable swap properly.

https://pagure.io/copr/copr/issue/1166
2020-04-24 21:34:19 +02:00
Kevin Fenzi
1300e7558b wiki: add deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
2b9428a0cf value: add deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
b6b6a7317a repospanner: Drop some no longer used playbooks.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
a3cdf40410 sundries: space. The final fronteer
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
d6a6b9a645 sundries / sundries_stg: set deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
39ac26ae18 aarch64-test: Move to fedora 31
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
2d3ee49a3b pdc-web: fix syntax from last comment
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
1c1a414010 pdc: Only setup the rabbit user once, not twice: once for each pdc-web server.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
98861f823a pdc-web: add deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
448b30ada4 notifs-web: add deployment_type here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
b5dee02e31 mirrormanager: The mirrormanager fedora messaging cert is called mirrormanager2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
ab598ef642 more deployment_type settings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
ba32cdafbb github2fedmsg: add deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
a962b3a2ec rabbitmq: fixing syntax error I introduced 2020-04-24 21:34:19 +02:00
3f15954566 rabbitmq: adding queue for fedora-build-checks 2020-04-24 21:34:19 +02:00
Kevin Fenzi
47421b9dd6 revert this back to python3.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
4b79a0f2ae virt-instance-create: move this back to python2 long enough to install buildvm-armv7-01.stg on a old moonshot cart and then revert it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Clement Verna
c9111962dc Bodhi: Update with potential patch to fix production
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
1dfb013f96 koji_builder: drop the EC2 imagefactory plugin.
We don't (as far as I can tell) use this, and it pulls python2 into the builders.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Pavel Raiskup
a006dfee76 copr: be: redirect both stderr/stdout from cronjob to log 2020-04-24 21:34:19 +02:00
Clement Verna
b6b694f319 OS cluster : add asaleh to the monitoring group
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:19 +02:00
Pavel Raiskup
9c08953a15 copr: backend: cleanup the redis db periodically
... 10 minutes before other cleanups so the real VMs are actually
terminated automatically.
2020-04-24 21:34:19 +02:00
Pavel Raiskup
a9ef579824 copr: backend: add cleanup-unused-workers-from-redis
Relates: https://pagure.io/copr/copr/issue/987
2020-04-24 21:34:19 +02:00
Pavel Raiskup
a1e9c8001c copr: backend: blacklist zawertun/kde from createrepo after build removal 2020-04-24 21:34:19 +02:00
Stephen Coady
5bcc065c54 add missing queue 2020-04-24 21:34:19 +02:00