Commit graph

22891 commits

Author SHA1 Message Date
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
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
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
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
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
a7abb71efd bodhi: move to f37
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-16 15:21:23 -08: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
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
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
Stephen Smoogen
9b82c517f4 put back in copy of people.conf so that we can get correct config on webserver 2023-01-05 13:38:33 -05:00
Stephen Smoogen
69ba9efed8 Move to using new certs for fedorapeople
Get new certs per instructions
Put new certs in ansible_private from letsencrypt
Change the cert name in configs to 2023 to show different from 2017 one.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2023-01-05 12:50:34 -05:00
Pavel Raiskup
5e75fa84c6 copr-dist-git: rebuilding cgit data takes one hour 2023-01-03 13:20:07 +01:00
Pavel Raiskup
bf8d23bbfd copr-fe: re-enable automatic PyPI rebuilds
Relates: https://github.com/fedora-copr/copr/issues/2289
2023-01-03 13:19:52 +01:00
Jakub Kadlcik
6a386738d7 copr: make sure rpmlint package is up-to-date on builders
https://pagure.io/FedoraReview/issue/461
2022-12-21 23:46:12 +01:00
David Kirwan
b33aa64cde fas2discourse: Create playbook/role
Create task to generate keytab
2022-12-21 10:09:54 +09:00
David Kirwan
f78802897b mdapi: set correct path to mdapi client inside cronjob
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 18:00:51 +09:00
David Kirwan
01c03085ed mdapi: fix configmap file name
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 17:49:53 +09:00
David Kirwan
15ec523d15 mdapi: add myconfig.py configmap
add volumemount to deploymentconfig
       add volumemount to cronjob

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 17:34:49 +09:00
David Kirwan
ab250d7a87 mdapi: change cronjob entrypoint command
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 16:13:35 +09:00
David Kirwan
d59ca4e29f mdapi: point s2i git uri at new repo
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2022-12-20 15:47:55 +09:00
Adam Williamson
d23bfae035 Update one more fedora-36 entry in greenwave config
Whoops, forgot this one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-19 19:04:50 -08:00
Adam Williamson
de979123fa openQA: don't install the fedoraupdaterestart plugin any more
We don't need it, we use upstream RETRY now.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-19 16:16:11 -08:00
Adam Williamson
55c7450311 Update greenwave rules for F35 EOL
Thanks to @jforbes for reminding me of this - now F35 is EOL,
we don't run the openQA upgrade tests on F36, so we have to
upgrade the gating policy or no F35 updates can be pushed.
Also drop other fedora-35 references in openQA-related rules.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-19 16:11:07 -08:00
Dusty Mabe
edf56b5611
openshift-apps: put the pruner to sleep again
Now that we've pruned 1.2T from the repo let's put the pruner back
to sleep over the holidays. It's a brand new service and if anything
goes awry we want to be around to investigate.

Will re-enabled in January.
2022-12-15 11:18:38 -05:00
Dusty Mabe
2f42b33462
openshift-apps: add supplemental groups to fedora-ostree-pruner
This is similar to what we've done for coreos-ostree-importer. See
https://pagure.io/releng/issue/8811#comment-629051 for more information.
2022-12-14 14:21:51 -05:00
Dusty Mabe
b6622ab49b
Revert "add sleep for coreos-ostree-importer and fedora-ostree-pruner to debug"
This reverts commit d84897eefc.
2022-12-14 14:21:20 -05:00
Dusty Mabe
d84897eefc
add sleep for coreos-ostree-importer and fedora-ostree-pruner to debug
Having some trouble with the pruner and importer right now so let's
try to debug further by just getting a terminal in the pods.
2022-12-14 13:12:14 -05:00