Commit Graph

45340 Commits

Author SHA1 Message Date
Greg Sutcliffe
9fae8c7d2d Zabbix: First try of the CMDB-in-Zabbix-Inventory idea (#12817)
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-22 15:09:07 +00:00
Pavel Raiskup
cd95aa0095 copr-be: try to use x86 copr04 2025-12-20 15:54:12 +01:00
James Antill
c68ec66f3e Move prox01.stg to F43.
Signed-off-by: James Antill <james@and.org>
2025-12-19 14:39:12 -05:00
Jiri Kyjovsky
b7f3eff5f0 copr-anubis: allow webhooks 2025-12-19 19:45:53 +01:00
David Kirwan
6a12544029 forgejo: modifying ipsilon config for the staging dist-git instance
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-19 13:34:53 +00:00
David Kirwan
53e01287bb forgejo: update ipsilon with the correct temporary hostname for callback
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-19 13:26:46 +00:00
Greg Sutcliffe
b3b1947c21 Zabbix: Update host_reboot play to shush Zabbix
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-19 13:15:01 +00:00
Greg Sutcliffe
149047b50d Copr: fix IP hostvars on vmhost-x86-copr04 - again
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-19 11:51:57 +00:00
Greg Sutcliffe
f639e26c12 Copr: fix IP hostvars on vmhost-x86-copr04
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-19 11:43:49 +00:00
Greg Sutcliffe
8f6c1878f8 Zabbix: fix tags on task
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-19 11:42:51 +00:00
Adam Williamson
16ddce81e8 Forgejo attachment proxy: special-case testdays-web
This is a bit ugly, but can't think of a better way right now.
Since @kparal is using this migration of testdays-web from prod
pagure to staging forgejo as a test case for prod migrations in
general, let's make sure it works properly by proxying attachment
requests to prod pague instead of staging.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 17:46:36 -08:00
Adam Williamson
08f04c6d36 Whoops, fix a missing stg. in forgejo attachment proxying
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 17:44:54 -08:00
Tomas Hrcka
18a56cc89e [forge] Add mapping for konflux-integration organization
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2025-12-18 19:37:36 +00:00
Adam Williamson
01150e5290 elections: use set-forwarded-headers: replace for now
This should 'fix' broken redirects in the elections UI, see
https://pagure.io/fedora-infrastructure/issue/12997 .

This probably isn't ultimately the correct fix but it should make
things work for now. The real issue seems to be that elections'
custom WSGI app wrapper which attempts to handle the app being
reverse-proxied doesn't handle all proxied headers and/or doesn't
handle comma-separated list values. The long-term fix is likely
to be using werkzeug/middleware/proxy_fix.py instead, see
https://pagure.io/elections/issue/106 .

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 11:14:50 -08:00
Adam Williamson
cacc7710ad proxies/forge: fix attachment proxying for images
This turned out to be a bit complicated, see
https://codeberg.org/forgejo/forgejo/issues/6360#issuecomment-9010932 . Pagure
images in comments use root-relative Markdown links, like this:

![image.png](/group/repo/issue/raw/files/image.png)

but Forgejo renders those relative to *the repo*, not the server root, so
they get rendered as something like:

<img src="/forgejoorg/forgejorepo/group/repo/issue/raw/files/image.png">

However, it does *not* do this for *non-image* root-relative links, so those
aren't 'broken'. This means we need to handle *both* cases in the proxying,
and we also need to keep in mind that Pagure allows repos without a group.
So we can wind up with one, two, three or four folders before /issue.

I did some testing and I *think* this should cover all cases. I've tested
this does fix images, I haven't tested on a non-image attachment yet (need
to find one).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 17:39:26 +00:00
Adam Williamson
219ffbf416 proxies/forge: fix SSL failures with attachment reverse proxy
The attachment reverse proxy was failing for several reasons, one
of which is that SSL options weren't set up correctly so the SSL
connection to pagure.io failed. This adds a Proxy section for
stg.pagure.io with the appropriate settings to make it work.

There are still several other issues, but this at least fixes the
SSL problem.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-12-18 17:39:26 +00:00
Pavel Raiskup
373bda5563 copr-hypervisor: avoid using ansible copr module for now
https://github.com/fedora-copr/copr/issues/4094
2025-12-18 18:20:01 +01:00
David Kirwan
1a18ff41fd communishift: mark project communishift-fedora-coreos-ai-helpers do not
clean up.

Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 16:09:42 +00:00
Pavel Raiskup
02fb5aac8f copr-hypervisor: drop the hack for helpers repo 2025-12-18 17:07:17 +01:00
Pavel Raiskup
514bb44914 copr-be: limit the number of builds in a single sandbox
This appears to be problem in recent days.  One user still can submit
more builds in parallel, but not in a single project (e.g., Packit).
2025-12-18 17:03:39 +01:00
David Kirwan
3272113adc communishift: enabling the notifications to go to project admins
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:54:42 +00:00
David Kirwan
4f4fbd3c26 communishift: renaming tasks in cleanup notification playbook
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:39:37 +00:00
David Kirwan
2154067fef communishift: rename task being called in cleanup notification playbook
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:36:32 +00:00
David Kirwan
ada7943373 communishift: remove unnecessary imports in clean up notification tasks
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:34:33 +00:00
David Kirwan
b28a963e32 communishift: clean up the project cleanup notification tasks
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2025-12-18 15:26:57 +00:00
Pavel Raiskup
ee10005271 copr-hypervisor: drop glanceclient
It's not easily installable on RHEL 10, and we anyway upload images
directly from copr-backend these days.
2025-12-18 16:18:45 +01:00
Pavel Raiskup
4078ccff24 copr-hypervisor: don't enable el8 on el10 hosts 2025-12-18 16:15:54 +01:00
Aurélien Bompard
7635095372 Noggin: increase the worker timeout
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-12-18 12:31:18 +01:00
Jakub Kadlcik
e751ba0278 backend: allow resalloc WebUI to connect to the database
See https://github.com/fedora-copr/copr/issues/4007
2025-12-18 11:48:12 +01:00
Jakub Kadlcik
158fc0e6a1 backend: I think this is the correct indentation 2025-12-18 11:47:16 +01:00
Jakub Kadlcik
56852ba78c copr-backend: disable NoNewPrivileges for lighttpd
See https://github.com/fedora-copr/copr/issues/4007
2025-12-18 11:21:32 +01:00
Greg Sutcliffe
2c9a9fab6a Kickstart: fix truncated lines
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-16 17:27:27 +00:00
Greg Sutcliffe
33de21c579 Kickstart: adjust disk sizes for Copr 10-disk RHEL 10 KS
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-16 17:22:33 +00:00
Greg Sutcliffe
5af110bad7 Kickstart: add copr 10-disk RHEL 10 KS
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-12-16 16:59:24 +00:00
Mattia Verga
7cdf3ae91c bodhi-stg: disable returning back celery results
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-12-16 11:31:15 +00:00
Kevin Fenzi
22a321a6a1 Revert "kojipkgs / varnish: cache also ostree repo objects dir listings"
This reverts commit 267cbc3c74.

Perhaps this needs some more work to match these requests.
2025-12-15 18:14:39 -08:00
Kevin Fenzi
267cbc3c74 kojipkgs / varnish: cache also ostree repo objects dir listings
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-15 18:03:50 -08:00
Samyak Jain
259264b36e Fedora 41 is now EOL
Signed-off-by: Patrik Polakovič <patrik@alphamail.org>
2025-12-15 19:14:06 +01:00
Jiri Kyjovsky
79f8839285 anubis copr: allow path for build status badges 2025-12-15 18:25:08 +01:00
Kevin Fenzi
c4f5d8ea2e proxies / proxies_stg: fix comment about max workers and set to 3200 both places
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-14 09:45:38 -08:00
Kevin Fenzi
e6e014780d proxies: sync up prod proxies mem/cpus and add more in stg
We manually added cpus and memory in the past to 01/10/101/110, so
update ansible so it matches whats deployed now.

On staging, 2 cpus isn't going to cut it anymore, so just bump them up
to be the same as prod.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-13 12:34:17 -08:00
Kevin Fenzi
6ceed5e1b9 smtp-auth-iso01: add ipv6 address
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 15:57:15 -08:00
Kevin Fenzi
6789314251 smtp-mm-iso01: add ipv6 address
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 15:54:15 -08:00
Kevin Fenzi
5acda7f784 proxy03: set dc to not be rdu3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 15:50:08 -08:00
Kevin Fenzi
af685201f8 anubis: disable open graph passthrough for now until we can sit down and make it work
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 15:45:48 -08:00
Kevin Fenzi
52dffb8df4 proxy03: fix dns search order
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 15:05:49 -08:00
Kevin Fenzi
fe1015ab14 add vpn hosts for proxy03/smtp-mm-iso01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 14:57:53 -08:00
Kevin Fenzi
182104ec0f proxy03: use mac address from ansible
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 14:56:25 -08:00
Kevin Fenzi
e1524d1fd0 smtp-mm-iso01: use correct hostname in inventory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 14:20:16 -08:00
Kevin Fenzi
e8bd81d11d vmhost-x86-iso03: add to inventory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-12-12 13:58:12 -08:00