Commit graph

37888 commits

Author SHA1 Message Date
Kevin Fenzi
8cfa0a2a0b base: you cannot redirect in a command
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-08-01 12:34:38 -07:00
Kevin Fenzi
08ccdd41fc base: make sure we install and setup ipset for builders
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-08-01 12:31:20 -07:00
Kevin Fenzi
9abc608b4b koji_builder: increase inactivity timeout for oz to 450s
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-08-01 12:14:14 -07:00
Kevin Fenzi
415f621bdf pagure: drop websites rule for old DDoS
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-31 12:04:12 -07:00
Jilayne Lovejoy
0e3f7c5778 Update legal alias
This only went to Bryan Sutula, it should go to more than one person. Adding Richard and Matthew.
2022-07-29 20:12:12 +00:00
Kevin Fenzi
ba5f21fc48 robosignatory: enable ima signing for eln
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-29 09:20:33 -07:00
Dusty Mabe
f94ab9a54b
fedora-coreos-pipeline: fix yamllint errors
Was getting this error from zuul:

playbooks/openshift-apps/fedora-coreos-pipeline.yml
  41:12     error    too many spaces inside brackets  (brackets)
  41:26     error    too many spaces inside brackets  (brackets)
2022-07-29 11:09:00 -04:00
Dusty Mabe
86fc86faca
fedora-coreos-pipeline: add Sumantro to FCOS pipeline users
He is going to be working with us more helping chase down test
failures. Let's get him access to the pipeline.
2022-07-29 11:09:00 -04:00
Dusty Mabe
86fa1202cb
fedora-coreos-pipeline: drop inactive users
miabbott is no longer working in CoreOS and misc isn't working on
CoreOS either. Let's drop them from the project here.
2022-07-29 11:09:00 -04:00
Stephen Smoogen
7d31252ba0 FIX: nagios external was referencing phx2 ip addresses
The PHX2 colocation has been turned off. This meant that some configs
which had been accidently working before due to referencing an ip
address there that no longer existed broke. The fix was to rewrite the
config so that it contained proper router ips and remove all mentions
of the PHX2 ip address.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2022-07-29 09:46:49 -04:00
Stephen Smoogen
a34148440d FIX: nagios was using 66.187.228.248 which is not a usable ip address on Ibiblio networks currently 2022-07-29 09:40:57 -04:00
Pavel Raiskup
9ddbd9773d copr: backend: better log IBM Cloud instance removals 2022-07-29 13:18:41 +02:00
Kevin Fenzi
b97e20c3d8 nagios: add check for ocp api ssl cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 17:19:04 -07:00
Kevin Fenzi
6898b5b35a koji_builders: enable ipset for osbuild access in prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 16:47:55 -07:00
Kevin Fenzi
76fbf76d1b koji_builders: add tag to be able to do just these
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 16:40:16 -07:00
Adam Williamson
06fc914348 openQA: same update asset size for prod and stg
We're turning on Rawhide update testing on prod now (whee) so we
need this.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 16:13:44 -07:00
Kevin Fenzi
f834a8443c kojibuilder: drop trying to add identity in prod as it is already included with api
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 15:53:57 -07:00
Kevin Fenzi
fa6096d33d proxies: old fas2 never moved to ocp4
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 14:12:57 -07:00
Kevin Fenzi
fbc18add50 koji_builder: make iptables rule staging only until we are sure it is working there
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 12:54:03 -07:00
Kevin Fenzi
29efa52e94 koji_build: add identity to allowed list, add some comments
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 12:33:11 -07:00
Kevin Fenzi
20e0e74096 koji_builder: require ipset
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 12:07:00 -07:00
Kevin Fenzi
a3cf18320e koji_build: add new template file
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 12:05:52 -07:00
Kevin Fenzi
f545ece040 koji_builder: move update to templates for stg/prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 11:59:30 -07:00
Kevin Fenzi
e13df4173b koji_builder: fix typo and add tags
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 11:40:29 -07:00
Kevin Fenzi
1951c7fb1b koji_builder: first cut at a script to update osbuild api ip for builder firewalls
This is a quick, hacked up script that just runs once per minute and
updates the ip addresses for the osbuild koji plugin. The script calls
systemd's resolvectl without cache and puts the ips in a ipset. The
koji_builder firewall has a added rule to check that ipset for outgoing
connections that are allowed.

TODO: add some kind of error checking
TODO: probibly won't work on s390x builders as they can't reach the host
even with open firewalls, but should work for others.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-28 11:29:07 -07:00
Michal Konečný
022ac7036a [toddlers] Don't use DEBUG log level on production
Don't overflow the log with DEBUG messages on production for toddlers. This is
fine on staging, but on production this should be on demand.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-07-28 14:30:21 +02:00
Pavel Raiskup
b56a7826c6 backend: IBM Cloud helper for reporting to support
We often get never-removed instances that need to be sent to IBM support
for manual removal.  This is the helper that eases the reporting part.
2022-07-28 08:46:38 +02:00
Kevin Fenzi
54f746d30e proxies: drop mirrors*.centos.org certs, use letsencrypt locally instead
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-27 10:28:59 -07:00
Kevin Fenzi
d09c0703bf proxies / reverseproxy / mirrors.stg.centos.org: also setup reverseproxy in stg
Since we split up stg and prod so they could have seperate ssl certs, we
need to also setup the reverseproxy for staging.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-27 10:25:09 -07:00
Kevin Fenzi
9f4fdacdeb proxies / mirrors.centos.org: switch to local letsencrypt ssl cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-27 10:13:35 -07:00
Kevin Fenzi
b8a4eda79e robosignatory: ima sign side tags, infra tag, modular tags and pending
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-27 10:02:01 -07:00
Kevin Fenzi
9ddd3e2e6d postfix / gateway: add bysender map
This is a hack to work around SPF screwing us for @fedoraproject.org
aliases. It only fixes email from @redhat.com, but due to bugzilla thats
a lot of email.

Without this:
bugzilla@redhat.com -> user@fedoraproject.org (expands) ->
user@gmail.com sent out directly to gmail and gets rejected because
we aren't in the redhat.com SPF record.

With this:

bugzilla@redhat.com -> user@fedoraproject.org (expands) ->
user@gmail.com but sent to mx2.redhat.com to deliver. Since
mx2.redhat.com definitely is in the redhat.com SPF record the email is
delivered fine and SPF checks pass.

This won't help for other domains with -all SPF records, but at least it
helps for all the redhat.com emails, of which there are a lot going to
fedoraproject.org aliases. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-26 15:58:43 -07:00
Kevin Fenzi
7cf2d7b56a iptables / builders / staging: adjust to allow proxy01/10/101/110 in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-26 14:22:55 -07:00
Kevin Fenzi
02154c2ef6 buildvm-a64.stg: move to f36
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-26 13:51:11 -07:00
Kevin Fenzi
4e3d057cbb builders_stg: do not set staging as datacenter for staging builders
This has caused them to pick up the iptables template for staging
instead of the one for their host group (koji_builder). There's no
reason to have staging as a datacenter for these, nothing checks it
besides the base iptables role hopefully.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-26 12:52:00 -07:00
Michal Konečný
cd0edc872d [toddlers] Disable all cron jobs on staging
The cron jobs are causing the queue to just fill up and the messages can't be
currently processed so they are just being processed in loops.
Disable them for now, till at least some mailing server will be available on staging.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-07-26 13:15:37 +02:00
Kevin Fenzi
3688c1508d flatpak indexer: update to new bugfix release
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-25 11:33:36 -07:00
Adam Williamson
ebe67df74b openqa_onebox_test: disable message consumer mails
We don't want this box to be trying to email anybody.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-22 12:42:04 -07:00
Kevin Fenzi
aacb604700 odcs: disable fmc queue for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-22 09:23:42 -07:00
Mark O Brien
2003cd2b5b limit image builder to one buildhost in stg
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-07-22 11:49:33 +01:00
Kevin Fenzi
24088dfe9b postfix: put CA file back, needed to verify other certs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-21 16:42:22 -07:00
Kevin Fenzi
a3c96c4032 postfix: gateway: consolidate tls settings and use chain-file.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-21 16:33:25 -07:00
Kevin Fenzi
a336ba2a9e postfix: use a chain file for ssl certs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-21 16:25:10 -07:00
Kevin Fenzi
b54b8a0bb7 bastion / postfix: adjust gateway ssl cert to base name
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-21 13:39:43 -07:00
Kamil Páral
f91294e5d7 send compose and updates reports to test-reports list instead of test list
Related: https://pagure.io/fedora-qa/issue/700

Signed-off-by: Kamil Páral <kparal@redhat.com>
2022-07-21 16:13:38 +00:00
Michal Konečný
6a8a507572 [toddlers] Use the correct pagure user
There was a placeholder for pagure user in scm_request_processor configuration.
Let's change this to correct user.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-07-21 16:51:08 +02:00
af4de4fbd7 mote: Add redis password & liveness probes 2022-07-21 08:47:51 +00:00
Kevin Fenzi
c287d34d44 robosignatory: sign f37-rebuild side tag, enable ima
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-20 14:33:36 -07:00
Stephen Smoogen
16b5e17c19 Fix DNS issues in IAD2
Problem: Fedora Infrastructure has used various DNS servers in
PHX2. Those no longer exist. This is causing breakage in DNS and many
other internal services.

Fix: Work with Red Hat IT
     - to get new DNS servers which are infoblox devices.
     - get firewall rules fixed to that
     - update named.conf to have new ips
     - remove old ips which no longer exist.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2022-07-20 09:45:04 -04:00
Kevin Fenzi
aea127f83d rabbitmq: double cluster vm memory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-19 14:16:54 -07:00