Commit graph

22314 commits

Author SHA1 Message Date
Adam Williamson
42e930e97f openqa-onebox: tweak db host stuff
Using the machine's own hostname works for the ansible delegate
stuff but doesn't work for openQA itself (if you try and access
the DB by hostname like this, postgres denies access; you have
to use 'localhost' for postgres to allow it). Using 'localhost'
works for postgres but doesn't do the right thing for delegation.
Let's use 'localhost' and split the two play steps into
delegated and non-delegated versions.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-07 16:17:29 -07:00
Adam Williamson
e6746d768b postgresql_server: update for modern Fedora
Looks like this role hasn't been used on a Fedora box for a
while so things are kinda broken. Re-arrange all the package
install sections to be together, use newer package names on
Fedora (the Fedora and EL >= 8 sections are identical for now
but I figured I'd keep them separate in case that changes), and
use the newer config file, not the older one, on Fedora.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-07 15:40:56 -07:00
Adam Williamson
d227dac859 openqa/dispatcher: don't require resultsdb and wiki URL/hostname
The config file should treat these as optional, not every openQA
instance wants to report results.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-07 15:21:15 -07:00
Adam Williamson
4fd83483fa openqa/dispatcher: comment on the needed packages
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-07 15:21:15 -07:00
Adam Williamson
ccf3b23cd4 openqa/server: skip openqa.ini amqp section if vars not set
We don't want to include this section if the vars aren't set.
Not every openQA server has to be an AMQP publisher.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-07 15:21:15 -07:00
Adam Williamson
6c2991306c openqa/server: only install nfs-utils when needed
If there are no NFS workers, we don't need the NFS server.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-07 15:21:15 -07:00
Kevin Fenzi
950911c7d4 releng: make ftbfs user a local one
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-07 13:30:47 -07:00
Adam Williamson
0cf8a59fd5 openqa: fix openqa_nfs_{worker,client}s confusion again
Missed from previous commit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-07 13:26:22 -07:00
Adam Williamson
e5c5cc336f openqa: fix confusion between openqa_nfs_{worker,client}s
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-07 13:26:01 -07:00
Stephen Smoogen
669b21fb67 remove the grobisplitter parts from batcave role. The playbook calls grobisplitter role so different jobs would replace different files. 2022-06-07 14:29:48 -04:00
60e3ea53b6 languages: build stats for f36 2022-06-07 18:28:03 +00:00
Mattia Verga
b38a69f95f bodhi: switch prod to asynch gunicorn workers
Signed-off-by: Mattia Verga <mattia.verga@proton.me>
2022-06-07 18:19:44 +00:00
Kevin Fenzi
1105c72692 ansible /server: fix name of collection
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-07 11:09:00 -07:00
Maxwell G
1186d20cb2 ansible-server: Use git-core instead of git. 2022-06-07 17:45:35 +00:00
Maxwell G
b20a0b5495 ansible-server: Use RPM collection packages
We now have all the collections that are used by Fedora Infra packaged
for EPEL 8 (the ansible control host runs on RHEL 8, as far as I know),
except community.postgresql. ansible-collection-community-rabbitmq[1]
and ansible-collection-community-libvirt[2] are new packages that are
still in epel8-next testing, so I would wait to merge this until they're
pushed.

I would also recommend clearing the current collections directory (`rm
-rf ~/.ansible/ansible_collections/*`) before merging this to ensure
that ansible uses the packaged versions and not the old versions that
were installed with ansible-galaxy.

[1]: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-a7237cc021
[2]: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-a9ccbc0012

Signed-off-by: Maxwell G <gotmax@e.email>
2022-06-07 17:45:35 +00:00
Michal Konečný
c061f64290 [release-monitoring] Fix the paths in httpd.conf for staging
Moving to f36 changed the default python version, let's adjust the paths to
reflect this.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-06-07 11:08:20 +00:00
f7ed87506b Fedora 34 is now EOL
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-06-07 10:54:23 +02:00
Kevin Fenzi
92867b50a2 base / crypto-policies: move fedora instances back to DEFAULT
We changed this to DEFAULT:FEDORA32 a while back because the certs for
the old totpcgi sudo needed it to work. Now thats all gone and we are
100% on ipa and sssd, this should no longer be needed.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-06 14:10:20 -07:00
Kevin Fenzi
99eab71b2e haproxy: install socat for dynamic stats/control of haproxy
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-06 12:22:35 -07:00
Michal Konečný
bda11cb283 [release-monitoring]Fix paths for the hotfixes
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-06-06 15:58:31 +02:00
Michal Konečný
27948a7cc6 [release-monitoring] Update to f36 on staging
This also introduces the hotfix for the social_auth issue. So it should be
possible to login on staging.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-06-06 15:25:53 +02:00
Kevin Fenzi
80ef5e47df proxies / reverseproxypass: try and only 421 ocp4 non iad2 proxies
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-05 13:44:02 -07:00
Kevin Fenzi
42bc4ea41a proxies / reverseproxy: try just always setting balancer_members and dropping the set facts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-05 11:47:17 -07:00
Kevin Fenzi
7e90378b30 proxies / reverseproxy: Try and clean up logic and whitespace.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-05 11:24:24 -07:00
Kevin Fenzi
0e1d9f6ea7 proxies / reverseproxy: try some different logic
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-05 09:30:58 -07:00
Kevin Fenzi
dc6b7697c1 proxies / reverseproxy: unset balancer_members after each template so it can get set right for the next one
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-04 21:05:37 -07:00
Kevin Fenzi
e2deffab4e proxies / reverseproxy: consolidate non openshift-iad2 case
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-04 14:51:33 -07:00
Kevin Fenzi
03fe998142 proxies / reverseproxy: also special case the old resultsdbapi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-04 14:25:32 -07:00
Kevin Fenzi
77bdc05883 proxies / reverseproxy: work around taskotron with its own config
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-04 14:04:07 -07:00
Kevin Fenzi
6d99b43608 proxies / reverspassproxy: fix loop
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-03 20:51:46 -07:00
Kevin Fenzi
6a0727c9e6 proxies / openqa: rework conf file to avoid issue with openqa and its websockets
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-03 20:15:36 -07:00
Kevin Fenzi
dc3c271c62 mailman: add banner for survey
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-03 19:09:09 -07:00
Kevin Fenzi
2685496897 noggin: add survey banner. see ticket 10740
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-03 18:59:54 -07:00
Kevin Fenzi
7455b3fdb1 proxies / reverseproxy: fix missing )
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-03 14:22:13 -07:00
Kevin Fenzi
52a8936914 proxies: rework reversepassproxy and mark all ocp4 / ocp3 apps
The ocp3 cluster is reachable/available via the vpn, so any proxy can
reach it.

The ocp4 cluster is (at least for now) only reachable/available from the
iad2 proxies (proxy01/proxy10).

There's a firefox bug that causes it to reuse h2 connections, and in
some cases try and request something of a non iad2 proxy that it can't
reach. To work around this in those cases we need to send a 421 back to
the client so it doesn't do that.

This moves that logic into the template so all ocp4: true hosts do this
by default. Also, we default the balancer nodes so we only have to
change them in one place if we remove/add a compute node.

Finally, we mark all the ocp3 apps with 'ocp4: false' so we know what
they are and can move them more easily.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-03 13:14:28 -07:00
Kevin Fenzi
575d1ea238 pagure: increase processes
pagure was processing a lot of things, increasing this seemed to help.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-03 11:41:11 -07:00
Aurélien Bompard
6b9d639421
ipsilon: add sebooleans on f36
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2022-06-03 09:55:25 +02:00
Kevin Fenzi
a180488e0d ipsilon: drop staging conditional on wsgiscriptalias
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-02 15:28:32 -07:00
Kevin Fenzi
b68200e0bc ipsilon: make sure /etc/ipsilon/root is owned by ipsilon
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-02 15:25:22 -07:00
Kevin Fenzi
17959a301c base: no more docker anywhere, drop this
We aren't using docker anywhere anymore, so we don't need to uselessly
try and restart it all the time.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-02 15:14:54 -07:00
Kevin Fenzi
b5036aac85 grokmirror: set correct manifest path
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-02 13:13:30 -07:00
Kevin Fenzi
530c06d70d internetx01: goodbye, farewell, amen
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-02 12:53:50 -07:00
Kevin Fenzi
e37f4d7917 grokmirror 2.0 changes
grokmirror 2.0+ merges the old fsck and repos configs into one
grokmirror config.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-02 12:50:41 -07:00
Kevin Fenzi
a0d3e1f2c0 Revert "image-builder: enabling osbuild plugin on builders"
This reverts commit d3ab265a97.

Seems this is causing kojid to not start on most all of the prod
builders, leaving builds waiting forever. ;(

Reverting it for now.
2022-06-02 11:23:49 -07:00
Kevin Fenzi
b987d8ee1e bugzilla2fedmsg: switch to new brokers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-02 10:20:55 -07:00
David Kirwan
d3ab265a97 image-builder: enabling osbuild plugin on builders 2022-06-02 15:14:40 +01:00
Mark O Brien
b3cacaaee6 set builder conf file per env
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-06-02 14:35:28 +01:00
Mark O Brien
6391dd3250 fix typo in image builder prod conf file
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-06-02 14:21:06 +01:00
Mark O Brien
8f89c71568 image builder prod conf file
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-06-02 14:13:49 +01:00
Mark O Brien
0df4c28f15 image builder prod setup
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-06-02 14:11:55 +01:00