Commit Graph

41697 Commits

Author SHA1 Message Date
Kevin Fenzi
79f3af4e58 bastion: allow s390x builders/virthost smtp access
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-25 07:29:02 -07:00
Kevin Fenzi
e6abd8cf5e odcs: disable top level redirect
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:17:16 -07:00
Kevin Fenzi
d132a63203 odcs: redirectmatch: one more try
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 17:50:13 -07:00
Kevin Fenzi
e099f312a5 odcs: redirectmatch: try again to make mod_alias happy
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 17:26:18 -07:00
Kevin Fenzi
4557148208 odcs: fix syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 17:03:27 -07:00
Kevin Fenzi
1880d23324 odcs: put in a redirectmatch for old mock baseurls
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 16:40:37 -07:00
Kevin Fenzi
7f2b98cb6e basset: retire no longer deployed service
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 11:43:47 -07:00
Kevin Fenzi
8a18b535f8 gluster: remove old gluster role
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 11:40:42 -07:00
Kevin Fenzi
5c2d61d9f8 epylog: remove/retire
We haven't used epylog in a long time, it's unmaintained upstream and
never was ported to python3 that I know of.

So, lets stop pretending that it is something we should keep here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 11:37:07 -07:00
Seddik Alaoui Ismaili
b29b23f3e9 selinux allow rabbitmq logs in logrotate 2024-09-24 18:27:30 +00:00
Jeremy Cline
637e92fe11 fedora-image-uploader: Drop unused config options for AWS images
The AMI description setting wasn't actually being used.

More importantly, however, is the AMI volume size is now also unused.
The reason for this is that when we import the image, the default is to
use the snapshot's size as the volume size, but you can optionally set
it to something else. AWS pre-allocates volumes of a couple different
sizes (currently 1G, 5G, 8G, and 10G).

Folks building the image set the size to be 5G, but this setting
(carried over from fedimg) overrode it. Dropping it lets them control
the AMI size by adjusting how big the images are. Probably not optimal
for upload speed, but less confusing since there are fewer configuration
layers people might not be aware of.
2024-09-24 18:25:08 +00:00
Kevin Fenzi
e3e2cb1d93 odcs: retire service ( infra 12192 )
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:21:51 +00:00
Kevin Fenzi
f72ff64029 bastion / iptables: Add internal RH mxes and drop global allow
We want to allow internal mx'es to send us email still.
We want to drop the global allow for port 25 now that we hopefully have
all the legit senders listed.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 10:55:20 -07:00
Kevin Fenzi
06a28bf516 bastion: iptables: fix copypasta
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 10:48:32 -07:00
Kevin Fenzi
42cae5591f bastion: adjust smtp firewall rules for mimecast
Setup things so we accept smtp connections from all the places we
currently do, but also from mimecast as incoming emails may come via
that. We don't want to globally allow everyone to inject emails here.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 10:36:47 -07:00
Mikolaj Izdebski
607dd47d35 Revert "Koschei: Temporarily scale up frontend Deployment"
This reverts commit a52be17987.
2024-09-24 13:55:13 +02:00
Kevin Fenzi
fd5437fe3e bvmhost-x86-riscv01: add new virthost for secondary riscv stuff
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-23 15:23:19 -07:00
Siteshwar Vashisht
3c32cf2e24 openscanhub: enable sending messages to rabbitmq
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-23 11:56:59 +02:00
Kevin Fenzi
1f771cc4c1 planet: bump volume to 1GiB
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-21 10:00:52 -07:00
Adam Williamson
1325a7ab15 adamverse: add --no-deps to pip install commands
In various roles I maintain I use `python3 -m pip install` to
directly install a Python project (usually a fedora-messaging
consumer), to avoid the pointless bureaucracy of packaging them.
The roles install all the deps of these projects as packages
first, so pip doesn't have to install any deps, it only installs
the project itself. Well...that's the idea. It's possible for
this to go wrong (say I forget to update the roles when adding
a dep to the project), and in that case I think we'd rather have
things blow up (so I know something's wrong) than have pip
silently install some random upstream wheel system-wide to make
it work. The intent is that all the deps still come from proper
Fedora packages, only these projects themselves get installed
directly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-09-20 11:10:09 -07:00
Jeremy Cline
15dbcbb7ac Revert "fedora-image-uploader: Add staging config for container uploads"
This reverts commit 5e0ad1134d (pr #2200).

Unfortunately, using buildah inside an unprivileged OpenShift container
turns out to not be very simple, even though we're not building any
containers, just importing and pushing them.

We can either figure out how to make it work with OpenShift (and while
it is definitely possible, I don't know if folks are okay with the
compromises that might be required) or deploy it in a VM for now.

In the meantime, the staging container is bootlooping so I'd like to
back this configuration out for the sake of my inbox.
2024-09-20 10:01:51 -04:00
Kevin Fenzi
b7d61b6a77 buildhw-x86-01/05: fix dns search
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-19 15:33:10 -07:00
Kevin Fenzi
184f308a43 sundries: mount codecs nfs volume on sundries
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-19 10:02:35 -07:00
Kevin Fenzi
617d2d164d postgres / db-datanommer: use lock-wrapper for backups
It seems sometimes now db-datanommer is taking more than 24hours to
backup, and currently that means it starts another one while the
previous one is running. Thats no good for anyone, so lets put in a lock
wrapper to avoid that.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-19 08:22:19 -07:00
Siteshwar Vashisht
794c6786e2 openscanhub: add rabbitmq queue
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 16:21:02 +02:00
Siteshwar Vashisht
f0aa17d75b openscanhub: fix the specification of fedora messaging configmap
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 13:56:27 +02:00
Siteshwar Vashisht
fa976a0d4a openscanhub: fix name of fedora messaging configmap
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 13:26:11 +02:00
Siteshwar Vashisht
a2ba6b77c1 openscanhub: add fedora-messaging-configmap
... to playbook.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 13:01:32 +02:00
Siteshwar Vashisht
f5b2e01db5 openscanhub: add CSRF_TRUSTED_ORIGINS in settings
Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
2024-09-19 12:05:28 +02:00
Aurélien Bompard
abc37890ab Mirrormanager: restore the proper location of the filelist
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-09-19 11:37:31 +02:00
Pedro Moura
f9b4ea51d6 Planet: fix config.toml
Signed-off-by: Pedro Moura <pmoura@redhat.com>
2024-09-18 20:48:38 +00:00
Kevin Fenzi
f2d34ae0e1 fedocal: conditionalize the new container to staging until we can sort out the problems
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-18 13:10:30 -07:00
Tomáš Hrčka
3bd1491ece Update roles/openshift-apps/fedocal/templates/buildconfig.yml
Update Python version in fedocal deployment
2024-09-18 20:01:03 +00:00
Jiri Podivin
a2b5468164 Improving error handling and removing unused var
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
69309d5531 Removing duplicated import
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
6c5a88e986 Moving import to top
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
091445e61f Fixing nonsensical value
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
104ecb73b4 Removing unused formatter
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Jiri Podivin
f513e7cbcd Linting python scripts
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:29 +00:00
Jeremy Cline
5e0ad1134d fedora-image-uploader: Add staging config for container uploads
Upload images to the stage registry. Rather than massaging the
credentials into the format written out by podman-login, just pass the
credentials in and have the app run podman-login with them. The
configuration includes the registry along with the prefix used for the
environment variables containing the credentials.
2024-09-18 19:43:42 +00:00
Kevin Fenzi
0db90a7f3a dhcpd: add some new hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-18 12:30:21 -07:00
Kevin Fenzi
28063aaa63 F41 beta freeze is over
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-18 10:54:00 -07:00
František Zatloukal
c5d4bad183 oraculum: Try scheduling redis importPolicy 2024-09-18 16:35:30 +02:00
František Zatloukal
88400a19a6 oraculum: Switch to ubi9/python-312 2024-09-18 16:21:20 +02:00
František Zatloukal
f12092741f oraculum: Switch stg back to the main branch 2024-09-18 16:20:56 +02:00
David Kirwan
198ad865f9 firmitas: update storageclass type to cephfs to allow RWX access
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 14:03:51 +01:00
David Kirwan
c75590b127 firmitas: update the persistent volume access mode to RWX
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:45:36 +01:00
David Kirwan
94a61eee97 firmitas: correct path to cert downloader script
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:37:30 +01:00
David Kirwan
632c93acdd firmitas: enable the cronjob
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:36:21 +01:00
David Kirwan
7ef3365fc0 firmitas: correct path for cert downloader script inside cronjob
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-09-18 13:33:06 +01:00