Commit Graph

18481 Commits

Author SHA1 Message Date
Pierre-Yves Chibon
d898123fb3 Drop hosts file for a host that is long gone
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-26 14:04:14 +02:00
Kevin Fenzi
ace20e5603 iad2: clean up some hosts files and make sure bodhi-backend01.iad2 is actually in the iad2 datacenter
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-25 16:38:58 -07:00
Stephen Smoogen
eb47b1cc90 lower the range for 10.3.163.xx to just 20 dhcp 2020-05-25 18:13:47 -04:00
Kevin Fenzi
e93bb1a788 iad2: bodhi-backend01.iad2: disable some crons until we are ready
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-25 14:38:25 -07:00
Stephen Smoogen
75b78ea9f6 add eno to interfaces 2020-05-25 17:13:50 -04:00
Pierre-Yves Chibon
e0ed6697f4 distgit: make the iad2 host closer to the current staging and different from phx2
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-25 23:10:15 +02:00
Kevin Fenzi
9f9eba3716 base / iptables: drop nat and raw chains from here, as f32 does not like them
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-25 13:31:04 -07:00
Kevin Fenzi
7220f9aee8 iad2: koji_hub: switch fedora to use python3-fedora-messaging in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-25 12:49:42 -07:00
Kevin Fenzi
2588417c01 iad2: koji-hub: handle python2/3-tag2distrepo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-25 12:30:08 -07:00
Kevin Fenzi
82ffbbb441 iad2: add composers to iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-25 11:39:04 -07:00
Michal Konečný
43d85db429 the-new-hotness: Add libcurl-devel package
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2020-05-25 16:20:37 +00:00
Kevin Fenzi
fc587753df mbs: MBS is using old platforms, this moves both stg and prod to 31.
I notice a lot of newRepo failures in koji. THis is due to f29/f28 being
eol and no longer having buildroot repos for mbs to merge things with.

I am not 100% sure this is the old change needed, but submitting this
to get feeback.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-25 16:18:33 +00:00
Pierre-Yves Chibon
6e553b5291 monitor-gating: avoid duplicate keys in the toml file as otherwise toml fails to load the file
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-25 14:11:06 +02:00
Pavel Raiskup
3838d01162 copr-be: typo in restart handler 2020-05-25 12:10:45 +02:00
Pavel Raiskup
ac8100aea9 copr-be: invent copr_backend_target
.. temporarily, till copr-be and copr-be-dev aren't synced on the
updated version of copr-backend package.
2020-05-25 12:08:53 +02:00
Pavel Raiskup
2ac3a6081c copr-be-dev: limit max workers 2020-05-25 11:12:38 +02:00
Pavel Raiskup
e932b54286 copr-be-dev: disable normal VM spawner
... and keep only the resalloc spawner.
2020-05-25 11:06:44 +02:00
Pavel Raiskup
9e02be6a5a copr-be: automatically cleanup VMs (not)started by resalloc
For some reason, starting VMs sometimes fails and VM is kept idling on
in our VMs list, and we are accounted for it.  This script periodically
checks the list of started VMs and terminates those which we are not
interested in.

The script requires, except for python3, also python3-dateutil.
2020-05-25 11:03:58 +02:00
Pierre-Yves Chibon
c3f0b55d47 monitor-gating: Define some more variable in runner.cfg for staging
These variables are used by monitor-gating to slow down its
run frequency when an issue is causing problems and to report
that a run failed when it did fail.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-25 10:03:47 +02:00
Kevin Fenzi
a62dc49c9e iad2: rhel8 doesnt have python-psutil, it has python2-psutil
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-24 13:09:05 -07:00
Stephen Smoogen
8e163b3f70 fix dhcp address for autosign/bvmhost-x86-07 2020-05-24 14:38:40 -04:00
Kevin Fenzi
92221f47d8 iad2: adjust datagrepper app db as well
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-24 10:35:59 -07:00
Kevin Fenzi
e76a28e218 datagrepper: adjust for iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-24 10:27:17 -07:00
Kevin Fenzi
0f4d0a2cc3 mirrormanager / backend: directory_mode has to be a mode, not 'yes'
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-24 09:14:16 -07:00
Kevin Fenzi
8f9eeac667 ad2 / busgateway01.iad2: ALso setup ccd vpn file for busgateway01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 13:06:41 -07:00
Pierre-Yves Chibon
2d1de54c89 distgit: Apply Kevin's fix to get the static files to show
Basically, we have two places where we apply the rewrite rule
allowing to access static files either in pagure-dist-git
or in the regular pagure.
We had fixed the first one earlier and this commit fixes the
second one.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 21:30:32 +02:00
Kevin Fenzi
ba001ac2eb blockerbugs: drop hosts files.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 11:32:45 -07:00
Pierre-Yves Chibon
da660c1852 distgit/pagure: pagure in staging runs with python 3.6
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 20:02:39 +02:00
Kevin Fenzi
759ba407fa iad2: blockerbugs: create a blockerbugs01.iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:05:19 -07:00
Kevin Fenzi
b1df81e148 iad2 / mediawiki: some adjustments for new mediawiki
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 09:50:06 -07:00
Pierre-Yves Chibon
592e4749c1 distgit: create the pkgs.stg certs via letsencrypt
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 15:56:46 +02:00
Pierre-Yves Chibon
687230bfb8 distgit: turn off grokmirror for now in stg
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-23 15:08:51 +02:00
Tim Flink
4b5446f486 nagios: fixing template name, didn't see the j2 2020-05-22 18:35:30 -06:00
Tim Flink
8a852177db nagios: make referenced filenames match filesystem
The filename for a template didn't match the file that's in git. Fixed
the filename in the playbook since the naming convention for the files
seemed consistent.
2020-05-22 18:07:30 -06:00
Tim Flink
4101428763 nagios: completing rename of some servicegroups
This one line seems to have gotten lost when several servicegroups were
renamed to services as that is a more appropriate name for them. Ansible
was looking for it in the wrong directory
2020-05-22 17:52:08 -06:00
Tim Flink
ca553c22ca nagios: the nagios.cfg service isn't phx2_internal
The file for nagios.cfg as a service in nagios isn't in git as
phx2_internal and the nagios playbook is failing because the path for
that service file isn't correct.

It's being copied with the other non-phx2-specific service files in the
following play so this change won't skip the file.
2020-05-22 15:53:07 -06:00
Tim Flink
918828ca15 nagios: correct path for copying phx2 nagios svcs
The nagios playbook is failing because it can't find a bunch of service
files. The playbook refers to a path of 'nagios/services/phx2/' but the
path that exists in git is 'nagios/services/phx2_internal'.

This fixes the path reference so that the playbook should complete.
2020-05-22 15:29:48 -06:00
Tim Flink
77adf20745 rkhunter: removing taskotron group references 2020-05-22 15:02:17 -06:00
Stephen Smoogen
5407472e84 move iad2 in front of vpn so that hosts aren't trying to reach vpn hosts when they aren't on vpn 2020-05-22 15:24:31 -04:00
Stephen Smoogen
d8188e7417 turn off ipv6 on bastion until we get ipv6 fulling deployed 2020-05-22 14:07:59 -04:00
Stephen Smoogen
5b9d2b927d put in an updated postfix.main for bastion-iad01 2020-05-22 13:56:34 -04:00
Pierre-Yves Chibon
3ad71fd2a0 distgit: Install mod_auth_openidc via modules in RHEL8
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 17:54:51 +02:00
Pierre-Yves Chibon
3ed325d3b7 distgit/pagure: on rhel8 it is mandatory to have a WSGIProcessGroup for pagure to work
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 17:29:40 +02:00
Pierre-Yves Chibon
23c94a35d1 distgit: now that the dist-git package is available, a number of steps can be re-enabled
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 11:30:58 +02:00
Pierre-Yves Chibon
6710db8d0d Make some more of the postgresql configuration key adjustable
Basically, if the variables are defined in the host, use them, otherwise
use the current values.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-22 09:08:00 +00:00
Stephen Smoogen
b54b1c74f6 fix nrpe config location 2020-05-21 19:34:45 -04:00
Stephen Smoogen
192637532c set up things so nagios in iad2 is mostly ready. 2020-05-21 19:20:38 -04:00
Stephen Smoogen
aa8f90f074 and we remember that j2 files are not cfg files 2020-05-21 16:59:49 -04:00
Stephen Smoogen
794071b256 make mgmt interfaces faster to build 2020-05-21 16:46:41 -04:00
Stephen Smoogen
4b98504aaa Merge branch 'master' of ssh://pagure.io/fedora-infra/ansible 2020-05-21 15:47:31 -04:00