Commit Graph

22874 Commits

Author SHA1 Message Date
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
Dusty Mabe
bf8208c013 fedora-ostree-pruner: start building from correct context dir
Now that the upstream PR [1] has merged let's start building from that
and also stop using `sleep infinity`.

[1] https://github.com/coreos/fedora-coreos-releng-automation/pull/79
2022-12-13 16:29:13 -05:00
Dusty Mabe
e8af5458a0 openshift-apps: bump fedora-ostree-pruner to Fedora 37 2022-12-13 16:28:47 -05:00
Tomas Hrcka
148cf4a47e Fedora 35 is End Of Life
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-12-13 14:38:19 +01:00
Jakub Kadlcik
016572ad54 copr: prefer IPv4 on copr-fe because of timeouting OpenID login
See https://github.com/fedora-copr/copr/issues/2418#issuecomment-1341394581
2022-12-09 04:14:41 +01:00
Francois Andrieu
495670585f websites: fix permissions 2022-12-09 02:11:22 +01:00
Francois Andrieu
7480cd6cc6 websites: fix variable name 2022-12-09 02:04:26 +01:00
Francois Andrieu
5b5edd11eb websites: new main website deployment on stg 2022-12-09 00:14:44 +00:00
Kevin Fenzi
8b4bbfa0db mailman: xz compress logs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-08 14:21:22 -08:00
Maxwell G
6b23ccf42e fasjson: Add email alias for FTI bugzilla script
Fixes: https://pagure.io/releng/issue/11169
Signed-off-by: Maxwell G <gotmax@e.email>
2022-12-07 23:41:48 +00:00
Kevin Fenzi
aa5e7e86ee bashssh: revert hack from 11006 and see if it is really fixed by quoting we did with new ansible
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-07 15:19:57 -08:00
Kevin Fenzi
754bb5741d koji_hub: drop ssl.conf as it's no longer used
koji hubs are now all behind proxies for tls termination, so they don't
need to run https locally. This allows us to drop the koji self signed
certs, at least the staging version of which had become too weak and was
preventing httpd from starting on boot.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-07 10:55:20 -08:00
Michal Konečný
e69a04f123 [toddlers] Update toddlers config
Update toddlers config to reflect the current Fedora version.

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-12-07 15:33:00 +01:00
Kevin Fenzi
a1f8e69641 bodhi: don't hard code python versions
F36 is using python3.10, but f37 is using python3.11
so, just use a wildcard here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-06 17:01:34 -08:00
Mattia Verga
55ead79f2a bodhi: run stg on F37
Signed-off-by: Mattia Verga <mattia.verga@proton.me>
2022-12-07 00:52:56 +00:00
Kevin Fenzi
27a521b838 bodhi: try and blacklist osbuild-automation-bot from auto updates in rawhide
This user is used by osbuild, but autosign and bodhi don't know what
to do with images it builds. Just like the livecd's and such releng
makes. So, just don't auto make updates for them.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-06 15:11:34 -08:00
Kevin Fenzi
389a8434fe koji_builder: fix my broken template
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-06 14:57:11 -08:00
Kevin Fenzi
b3c2a39e1f koji_builder / osbuild: adjustments for osbuild api scripting
Right now we run a script on all builders once a minute to update the
api/auth ip's for osbuild. This has a number of problems:
* Sometimes osbuild jobs land on s390x builders that have no internet
  access and hang or fail.
* Sometimes the update script hangs or takes a long time to run because
  the builder is heavily loaded with builds, resulting in locking emails
  to sysadmin-main folks.

So, in this commit we:
* make a new koji channel called 'osbuild' with all the buildhw-x86's in
  it. They are usually not too overloaded and there are 16 of them so it
  should be available all the time.
* Leave the cron job on all builders for now in case, but make them only
  update once a day since they won't be getting jobs. If this works out
  we can remove it entirely there.
* Make the buildhw-x86s only update every 5min. This opens a larger
  window for it being wrong, but it's still pretty small and should
  reduce the number of emails for stalled processes we get.

See https://pagure.io/fedora-infrastructure/issue/10982

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-06 14:44:03 -08:00