Commit graph

33211 commits

Author SHA1 Message Date
Aurélien Bompard
ae35433095
Missing dep
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-06 10:54:25 +02:00
Clement Verna
86a0240758 Update OSBS buildroot container to use Fedora 33
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-10-06 10:49:33 +02:00
Pierre-Yves Chibon
342c056ae4 nagios_client: Fix the check_ipa_replication plugin
It looks like the data it retrieves is in bytes and thus needs to be
decoded into a unicode string so we can use it as a regular string
in our code later.

Fixes https://pagure.io/fedora-infrastructure/issue/9372

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-06 10:46:45 +02:00
František Zatloukal
be88870830 Testdays: Use non-destructive init 2020-10-06 10:17:01 +02:00
František Zatloukal
0733cab1c8 Testdays: Let's specify only one command 2020-10-06 08:59:35 +02:00
Adam Williamson
1b30b0ab44 openqa: move x86_64 worker 04 from prod to lab
We need an x86_64 worker for lab, apparently there are no more
boxes spare right now, so we have to steal one from prod.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 17:46:13 -07:00
Kevin Fenzi
71c650baff nagios / server: drop checking for fas fedmsgs, they likely wont be back
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 17:21:08 -07:00
Kevin Fenzi
9a080eae0f ipa / server: add pynag on ipa servers to allow nagios replication check to work
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 17:11:55 -07:00
Kevin Fenzi
8f81933dec sundries: mount nfs volumes on sundries02 also
We want to have all the same nfs mounts on sundries02.
It will not normally be running any scripts or crons, but if 01 dies, we
can just start them on 02 and everything should work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 17:04:02 -07:00
Kevin Fenzi
f650eab7ee nagios_server / fedmsg: pkgs01 does not run any fedmsg-hub anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 17:00:15 -07:00
Kevin Fenzi
0c85e1a2e1 nagios / client / check_ipa_replication: 2to3 on the script.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 16:59:22 -07:00
Kevin Fenzi
73a501a933 roles / mariadb: add boolean to allow nagios checks and collectd
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 16:38:36 -07:00
Stephen Smoogen
0dbc8a95eb add openqa-p09-worker02 to inventory. I dont think it needs to be any other groups but adamw can fix that. 2020-10-05 19:11:49 -04:00
Kevin Fenzi
c5f4e27746 roles/base/postfix: add a rdu-cc postfix main.cf
This one just uses the vpn endpoint for bastion to avoid dns and ipv6
issues.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 16:03:55 -07:00
Kevin Fenzi
87b4b24535 inventory / db-koji01: allow pgsql checks from noc01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 15:51:06 -07:00
Adam Williamson
2a3231025e openqa lab: add aarch64 and ppc64 boxes to hdd workers group
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 14:13:22 -07:00
Adam Williamson
5695eef9a0 Fix a few more openqa-stg01 -> openqa-lab01
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 13:59:27 -07:00
Adam Williamson
366b165f13 openqa_lab: fix up some worker host vars a bit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 13:45:13 -07:00
Kevin Fenzi
3c329ebd16 Add host vars for openqa-p09-worker01.iad2.fedoraproject.org
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 13:36:16 -07:00
Adam Williamson
a2d4047f1f openqa lab workers: add stg tap workers, bump worker numbers
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 13:32:05 -07:00
Adam Williamson
d4f34b56f9 openqa/dispatcher: write file after creating directory
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 12:40:45 -07:00
Adam Williamson
24b3645f96 openqa_lab: fix up couple of hostnames for iad2
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 12:34:44 -07:00
Pierre-Yves Chibon
f91a80046b Wipe everything that is to do with pdc-backend from our ansible repo
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-05 18:57:52 +00:00
František Zatloukal
8fa4144415 Testdays: Try destructive init 2020-10-05 18:08:57 +02:00
Aurélien Bompard
d1edc6db3d
Prepare ipsilon for a VM deployment in staging
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-10-05 17:24:56 +02:00
Mark O'Brien
32330de141 update nagios client checks to py3 2020-10-05 15:17:25 +01:00
Pierre-Yves Chibon
8a8b1731b3 pagure: add a publish_exchange variable to the fedora-messaging config
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-05 14:58:58 +02:00
Pierre-Yves Chibon
3ed30dfda6 test commit - sorry for the noise 2020-10-05 14:23:26 +02:00
Pierre-Yves Chibon
d766ed3e0c wiki: fix the if/else block on staging to the scope are correct
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-05 12:25:37 +02:00
Miro Hrončok
400c6ecf47 post-receive-fedora-messaging: Don't attempt to decode unicode strings
On Python 3, we can only decode byte sequences.

subprocess.Popen(universal_newlines=True) always returns unicode stdout/sderr.

Fixes https://pagure.io/fedora-infrastructure/issue/9366

Signed-off-by: Miro Hrončok <miro@hroncok.cz>
2020-10-03 22:48:10 +02:00
Kevin Fenzi
61c157612f openshift-apps / docstranslation: fix cron, it's a file not a template
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-03 10:08:24 -07:00
Jan Kaluza
9268071984 Fix Fedora-ELN crontab. 2020-10-03 06:54:45 +02:00
Kevin Fenzi
ffac127467 retrace01: retrace01 isn't a thing, we have retrace03
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 16:42:51 -07:00
Kevin Fenzi
f506c56b1e inventory / db01: increase memory and cpus and adjust postgresql settings
GIve db01 64gb mem and 24cpus. We have them on that virthost and this
host is one of our busiest.

Adjust the postgresql params based on what I now know from adjusting
db-koji01. This should hopefully improve a number of applications
performance.

Note that we need a restart/reboot to have the cpu changes and postgres
changes take effect. The memory change is already live.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 15:37:50 -07:00
Kevin Fenzi
0a44cc4628 proxies / candidate registry: use Rewrite instead of Redirect
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 14:42:19 -07:00
Kevin Fenzi
40ecb25e75 proxies / reverseproxy / candidate-registery: redirect top level to catalog
See: https://pagure.io/fedora-infrastructure/issue/8507
Currently https://candidate-registry.fedoraproject.org/ just gives you a
blank page. So instead lets redirect to the catalog to at least show
something to people.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 13:42:36 -07:00
Kevin Fenzi
bb61f0da99 nagios / server: don't try and check mincheck group rsyslog
We want to make sure rsyslog is running on hosts, but the mincheck
hostss are ones we don't do any nrpe checks on, so we should exclude
them from this. This is like builders or aws hosts.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 12:56:49 -07:00
Francois Andrieu
8018647c49 doctranslation: move to openshift
Signed-off-by: Francois Andrieu <naolwen@gmail.com>
2020-10-02 19:10:03 +00:00
Kevin Fenzi
d73101ddde resultsdb: we don't have a _iad2_prod group anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 12:05:19 -07:00
Kevin Fenzi
cf615d0649 koji_hub: staging koji is in iad2, not phx2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 12:04:56 -07:00
Kevin Fenzi
5d03d396e6 nagios / client: fix typo from rsyslog PR
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 12:00:28 -07:00
seddikalaouiismaili
e785293064 add check for rsyslogd 2020-10-02 18:50:29 +00:00
Mark O'Brien
5fe015a90a nagios server plugins: port to py3 2020-10-02 18:46:32 +00:00
Jeffrey Serio
28b3b7f575 Add sync-hosts.yml playbook 2020-10-02 18:43:37 +00:00
Mattia Verga
5b6babce04 bodhi: add some bots to stats blacklist
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
2020-10-02 18:41:43 +00:00
Pierre-Yves Chibon
155094f884 git/hooks: Update the gnome-post-receive-email hook to use the git-multimail gook instead
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-10-02 18:39:08 +00:00
Kevin Fenzi
443da0c77b odcs: try and fix cron job for eln compose
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 11:33:47 -07:00
Mohan Boddu
f43591147d Changing the odcs arches armv7hl to armhfp and i686 to i386
This helps in solving the openh264 mirroring and follow other fedora
composes

MM doesn't understand armv7hl and i686, we need to manually change them
everwhere without this fix

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-10-02 18:22:52 +00:00
Mohan Boddu
565931267e Adding eln modular config for signing
And updating the eln normal builds signing

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-10-02 18:18:07 +00:00
Kevin Fenzi
d577c0b831 inventory: testdays is not run by us currently
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 10:33:10 -07:00