Commit graph

38328 commits

Author SHA1 Message Date
Jakub Kadlcik
07ed75c445 copr: upgrade also python3-copr-common on copr-keygen 2023-01-24 16:23:06 +01:00
Kevin Fenzi
8a4a4469e4 proxies: Override the httpd systemd unit file to up file limit and restart on failure
The proxies seem to be hitting file limits, so try increasing them.
Also, set httpd to restart on failure, this should help mask the problem
if it persists with the higher limit.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-22 13:51:23 -08:00
Kevin Fenzi
49e6526151 releng-bot: drop alias in favor of fixing address in fas
Right now releng-bot has a fas address of 'releng-bot@fedoraproject.org'
which is... confusing. The alias overrides this and sends email to
admin, but it results in a duplicate, causing the cron job to send mail
about the duplicate everytime newaliases run.

So, instead drop the alias here and switch the user in fas to be
admin+relengbot. This will still go to admin, not run into problems with
the address already in use in fas and should cause the newaliases to
stop complaining.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-21 12:16:37 -08:00
Adam Williamson
292f348bdd Cut openqa-x86-worker03 down to 20 workers
It seems to be struggling with memory exhaustion ATM, and I
think it's causing tests to run slower.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-21 08:56:35 -08:00
Kevin Fenzi
98476fcfbf registry-index-sync: move from 30 after to 40 after
Right now this cron is sometimes running while reg is updating the
index on sundries01, so move it out 10min to avoid that window.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 21:39:46 -08:00
Kevin Fenzi
12033a58af pagure: also have stunnel listen for ipv6 eventsource
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 12:49:31 -08:00
Kevin Fenzi
be19611e01 pagure: fix conditional in playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 12:26:42 -08:00
Kevin Fenzi
a2bfd621ed letsencrypt: it is restart, not reload
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 12:13:54 -08:00
Kevin Fenzi
d44bc3991c pagure: handle stunnel bundled cert in letsencrypt renews
This commit removes the old tasks to try and create a cert/intermediate
bundle file for stunnel in favor of just doing it when we renew/get the
cert. It also fixes stunnel to use the correct bundled cert.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 11:55:13 -08:00
Kevin Fenzi
ff51231e77 pagure: set env to pagure to make sure it is set to something other than pagure-stg or nothing at all
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 10:58:39 -08:00
Kevin Fenzi
3bbfded937 cloud-noc-os01: add group and access to sysadmin-copr
This noc host in rdu-cc is used for pxe installs, dhcp server and also
to access the private mgmt network for hosts in rdu-cc. Setup it's own
group and add sysadmin-copr to access it so they can get to the mgmt
interfaces on various copr machines there to reboot them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-20 10:11:42 -08:00
Kevin Fenzi
acaff7aff9 bodhi: also enable the prod infra-tags in stg because we move builds to prod from stg and then they are no longer there
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-19 19:03:12 -08:00
Adam Williamson
8445bb6e26 bodhi: switch to grouped JSON critical path data on staging
This switches the Bodhi staging instance to use (and regularly
update) its own grouped critical path data, instead of consuming
the data from PDC that is non-grouped and irregularly updated by
releng. If this works out well, we'll also apply it to prod.
This requires Bodhi 7 or higher.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-01-19 14:07:47 -08:00
Kevin Fenzi
d4bcf3b670 communishift: add communishift-planet for working on new planet
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-19 12:32:39 -08:00
Kevin Fenzi
296a5a4771 robosignatory: sign mass rebuild tag as builds happen
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-18 09:31:03 -08:00
David Kirwan
f8f758be97 mdapi: rollout to prod
Signed-off-by: David Kirwan <dkirwan@redhat.com>
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
2023-01-18 13:43:02 +09:00
Kevin Fenzi
c3718a166a pagure: put websites block back in place
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-17 16:10:04 -08:00
Stephen Smoogen
b5e7db6b83 Fix sshd_config for Fedora 36+
I have probably made this a bit wordy but I have found long jinja2
logic statements to be a bit hard to debug or go off the rails. So I
copied the section for Red Hat and used it for Fedora.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2023-01-17 17:43:18 -05:00
Pedro Moura
d3b4521668 Fix Upload TypeError #10877
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2023-01-17 20:56:40 +00:00
Kevin Fenzi
88596cb852 pagure-dist-git: more config to quash info/debug output on https push
We also have fedora-messaging spewing out on pushes, so lets set that
back to warning, and we also need to change the default pagure logging
root to WARN.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-17 12:55:24 -08:00
Stephen Smoogen
0863d2c8a9 Fix item in sshd_config that Kevin found in review 2023-01-17 15:43:33 -05:00
Stephen Smoogen
1618137592 retry to make a branch with just the sshd config change. 2023-01-17 20:37:34 +00:00
Kevin Fenzi
721d018ad6 pagure-dist-git: stop spewing INFO/DEBUG on https pushes
Right now when someone does a https push they get about 100 lines of
INFO and DEBUG from pagure. Everything from acls to messaging to pika to
everything. There's no need for all this debug/info spew.
Lets disable it and go back to just WARNINGS

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-17 12:33:45 -08:00
Kevin Fenzi
152fa064ad bodhi: set the correct bodhi version
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-16 15:35:08 -08:00
Kevin Fenzi
a7abb71efd bodhi: move to f37
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-16 15:21:23 -08:00
Kevin Fenzi
3574e037a3 wiki / staging: make sure to mount attachments dir in staging
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-16 14:20:31 -08:00
Michal Konečný
b7e5056a4e [notifs-backend] Fix YAML syntax
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-01-16 16:09:56 +01:00
Michal Konečný
00bb6a3634 [notifs-backend] Update FMN playbook
Remove redis from playbook, it's no longer used. We are using memcached instead.
Start the services automatically after deployment.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-01-16 15:58:59 +01:00
Kevin Fenzi
c3cfb0e140 koji-hub: upstream has moved/renamed the wsgi script
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-13 13:53:27 -08:00
Dusty Mabe
7b63158eab
Revert "openshift-apps: put the pruner to sleep again"
Now that the holidays are over let's prune!

This reverts commit edf56b5611.
2023-01-13 15:44:02 -05:00
Kevin Fenzi
00e7d2a28c typo: use the correct seperator
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-13 12:01:46 -08:00
Kevin Fenzi
120c29b533 buildvm-s390x-01.stg: do not use linux-system-roles on s390x builder in staging either
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-13 11:25:58 -08:00
Kevin Fenzi
4b2e6f8fe4 builders: exclude updating koji-containerbuild for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-13 10:30:51 -08:00
Kevin Fenzi
4bec2d3255 buildvm_s390x: attempt to rebalance kvm lpar to allow for heavybuilders
We have been having issues with webkitgtk not being able to build due to
memory constraints on the existing builders. Also, we are overcomitted
on memory on the kvm lpar. So, to hopefully fix this:

* remove 3 existing builders.
* just leave the 3 cpus and 17gb memory from one free for the host
* make 2 of the other builders double the size in memory, cpu and disk.
* Will add these 2 to the heavybuilder channel and hopefully webkitgtk
  will be happy again.

I'm a bit concerned that this might slow the mass rebuild down, but we
will see. :)

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-12 14:36:11 -08:00
Frank Ch. Eigler
873fed608d debuginfod: tweak caching, stop retaining f32 data
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
2023-01-12 21:20:34 +00:00
Matej Focko
5b838955a4 bodhi: add bots to admin packager groups
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-01-12 20:16:43 +00:00
Kevin Fenzi
639fb415e9 pagure: try and put fedora-websites back to normal
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 11:22:25 -08:00
Kevin Fenzi
3328386f51 fix more vim syntax fun
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 09:26:48 -08:00
Kevin Fenzi
4d7c02510f more vim spew fixing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 08:57:04 -08:00
Kevin Fenzi
c652719988 vim did something weird here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 08:53:49 -08:00
Kevin Fenzi
47cf07184e wildcard-2023.fedoraproject.org: new wildcard ssl cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 08:48:40 -08:00
Nick Bebout
6987b8bc1e Add aws-fpl group to ipsilon per mattdm's request 2023-01-10 20:12:27 -06:00
Kevin Fenzi
0aeb60adea collectd: add to selinux policy to prevent denied read for proc/net
Should fix up these messages from all machines:
audit[865]: AVC avc:  denied  { read } for  pid=865 comm="reader#2" name="net" dev="proc" ino=4026531845 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=lnk_file permissive=0
audit[865]: AVC avc:  denied  { read } for  pid=865 comm="reader#2" name="net" dev="proc" ino=4026531845 scontext=system_u:system_r:collectd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=lnk_file permissive=0

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-10 14:35:18 -08:00
Kevin Fenzi
584d9e6406 koji-gc: don't untag/gc things in *pending tags
We hit a case with an old update that was almost ready to be untagged,
but then was submitted as an update and _then_ untagged.
See https://pagure.io/fedora-infrastructure/issue/11058
Telling koji-gc to keep anything in pending tags should avoid this small
window for problems.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-10 12:47:45 -08:00
Michal Konečný
f8a250f89b [toddlers] Set the log level back to INFO for production
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-01-10 17:27:42 +01:00
Michal Konečný
1cc16e1750 [toddlers] Set log level to debug for toddlers
Partial setting to debug doesn't seems to work, let's set the whole toddlers to debug.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-01-10 16:32:19 +01:00
Michal Konečný
c08475fbcb [toddlers] Set the log level for correct class
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-01-10 16:25:59 +01:00
Michal Konečný
127a770619 [toddlers] Add debug output to scm_request_processor
To help fix the issue with creating branch change the log level to DEBUG temporarily.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2023-01-10 16:13:45 +01:00
Kevin Fenzi
0d08f15f41 ip6tables: allow dhcp6d from aws
While we actually use SLAAC in aws, there's a dhcp6d sending out the
router advertisements, so without that the instance doesn't get an ipv6
ip and just doesn't work. With this it does.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-09 19:06:27 -08:00
Jakub Kadlcik
98410c9b7b copr: mask the systemd-oomd service 2023-01-09 11:40:08 +01:00