Commit graph

1054 commits

Author SHA1 Message Date
Frank Ch. Eigler
6564f8a21c
debuginfod vms: update to f42, enable --cors
elfutils 0.193 (stable on f42) brings a new --cors option, which lets
third-party webapps safely fetch debuginfo from these servers
2025-05-03 19:02:04 -04:00
Aurélien Bompard
358e1d2b5d
Let the jobs-summary script take multiple projects as arguments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-01 15:27:46 +02:00
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
Mattia Verga
afaaf68b22 reg-server: stop serving outdated pages
Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
2025-01-16 21:35:11 +00:00
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Frank Ch. Eigler
943342509c debuginfod: enable --koji-sigcache to serve IMA signatures
With f41's elfutils-debuginfod-0.192-5, we're finally ready to start
serving per-file IMA signatures to remote debuginfo clients.  This
additional flag is needed because fedora/koji stores stripped rpm-ima
signatures in a nearby file rather than in the retained RPM.
2024-10-31 21:40:40 +00:00
Kevin Fenzi
86c4be93a7 re-add rhel7 repo for now too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-03 16:15:35 -07:00
Kevin Fenzi
fc56172d09 epel7: readd the old epel7 repo for now until the last few vms are gone
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-03 16:10:53 -07:00
Stephen Smoogen
432a3a497b Go through and remove entries for EL6 and EL7
Using `git grep el6` and `git grep el7` and variants like EL-7 or
el-7, I found various entries and files which were no longer needed
with the current ansible. I updated text or tests to later versions of
RHEL as needed.

found entries for the fedora ami's for the original cloud and removed
those entries also.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2024-07-03 22:20:30 +00:00
Kevin Fenzi
d11f9c5ced epel7 retirement
Drop epel7 all the places in ansible where it is and makes sense.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-07-03 20:00:59 +00:00
Aurélien Bompard
820d9ee564
Jobs-summary: handle jobs that are not cronjobs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-06-21 10:47:05 +02:00
Kevin Fenzi
1a59576685 files/common: remove some no longer used modular repos
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-06-20 12:37:26 -07:00
Aurélien Bompard
e871157429
Prettiness. It counts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-05-29 16:46:29 +02:00
Aurélien Bompard
91bd11b0cc
Add a jobs-summary script on the os-control servers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-05-29 14:13:53 +02:00
Dusty Mabe
5cf15304e0
aws/iam/policies: give fcos-upload permisions to describe tags 2024-04-25 15:30:05 -04:00
Kevin Fenzi
c84b99223c osbs: raise a glass for it's service
This removes osbs and allmost all it's associated playbooks and files.

It served long and well, but we no longer need it.
flatpaks are building with a koji-flatpak plugin.
base/minimal/toolbox containers are building with kiwi.
We aren't building any other containers right now, and we did they could
be added to kiwi.

This is the end of an era... I look with nostolga on
ansible-ansible-openshift-ansible (a role to setup ansible on a control
host and run it from our ansible).

Good bye osbs!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-28 12:52:07 -07:00
Pavel Raiskup
5307818474 aws: epel9 repofile && gpgkey 2024-03-13 19:12:26 +01:00
Aurélien Bompard
2a5c65051b
Update create-filelist with PR 86
https://pagure.io/quick-fedora-mirror/pull-request/86

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-02-26 13:23:14 +01:00
Kevin Fenzi
1da5038fcb base repos: make everything pointing to infrastructure use https
There's no reason any of these should be http.
https://infrastructure.fedoraproject.org should be valid and work
everywhere.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-02-15 10:41:05 -08:00
Frank Ch. Eigler
d67817bd88 debuginfod: enlarge rpm-extraction fdcache
Thanks to the recently shrunken database schema (~150GB for all of
fedora 35+) and generous storage on the VM servers (~1TB available),
we can dramatically increase the cache size.  Along with debuginfod
upstream improvements (brought in via a copr build), this should
drastically improve the responsiveness of the debuginfod service.
2024-02-14 03:23:00 +00:00
Andrew Heath
f97666a75d Add logrotate for proxy systems
Added rsyslog logrotate cong for proxy systems and a task land the
configs as well as fix some yamllint errors.
2024-01-15 09:55:20 +00:00
Aurélien Bompard
876c763701
Fix the cookie import script
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-12 11:07:59 +02:00
Aurélien Bompard
1b249c0a04
Add a script and a playbook to import IRC cookies to Matrix
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-10-11 10:19:54 +02:00
Stephen Smoogen
7d7d0bf0a8 Remove smooge from various aliases
Currently, I (Stephen Smoogen) do not have the time to work on Fedora
system administration items. However, I get a lot of email and people
see my email address in various places to ping me for working on
things. I feel it would be better to remove myself from those places
and let Fedora Infrastructure add someone else to replace me when it
is possible to do so.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2023-07-17 23:34:18 +00:00
Kevin Fenzi
e0cb1c5188 download: move centos items out of /srv/pub
We had centos stream and altarches and centos linux under /srv/pub on
external download servers. However, this breaks people who sync buffet
or the like from them because they suddenly get centos content that they
want to just get directly elsewhere. So, just move these up a leave so
they are out of the buffet target and people who want them can get them
elsewhere.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-07-12 15:53:43 -07:00
Kevin Fenzi
49d1a82f36 download-ib01: disable centos mirroring for now as it confuses things with rsync
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-16 10:10:41 -07:00
Frank Ch. Eigler
152c7f3d99 debuginfod: drop f33 & f34 from index, prepare for f40+
Tweak the -I/-X regex.
2023-05-02 00:20:27 +00:00
Kevin Fenzi
88b2bfcacc registry-index: just disable reg runs for now.
reg runs and gathers information from the container registry to make a
'pretty' web page at https://registry.fedoraproject.org. However, this
page is pretty useless and really only needs to update after branching
(if then). We may look at redirecting this to a static websites page
that has information on our containers at some point.

In the mean time reg sometimes creates a empty file that syncs out and
causes alerts. So, lets just completely disable it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-01 09:11:45 -07:00
Jiri Kucera
e207a4cdf9 lsr-logs-clean: Normalize image names
Normalize RHEL image names to RHEL-X.Y. Since RHEL images are
produced quite frequently it is sufficient to keep just one
RHEL <major>.<minor> after the log expires.

Also add contacts to Linux system roles maintainers.

Signed-off-by: Jiri Kucera <jkucera@redhat.com>
2023-02-07 16:39:46 +01:00
Jiri Kucera
dc8c275f09 Clean /srv/pub/alt/linuxsystemroles/logs
Add cron task that prune /srv/pub/alt/linuxsystemroles/logs.

Related: RHELPLAN-104620

Sign-off-by: Jiri Kucera <jkucera@redhat.com>
2023-02-07 16:39:46 +01: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
Clement Verna
e3a66f6a91 Use fedora 37 for OSBS buildroot
Signed-off-by: Clement Verna <cverna@tutanota.com>
2022-12-08 20:23:20 +01:00
Kevin Fenzi
0aece5b63e Fix rpmqa osbs plugin to look in the right place for rpmdb
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-16 14:15:02 -08:00
Kevin Fenzi
dcf30e51a9 osbs / prod: try upgrading the buildroot
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-30 18:22:48 -07:00
Kevin Fenzi
8fe6d2cf0c osbs / staging: try upgrading the buildroot
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-09-30 18:17:06 -07:00
Kevin Fenzi
3f253336e0 try dl here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-17 12:37:37 -07:00
Kevin Fenzi
572ea9ba9d rhel6: set archive urls for fas
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-17 12:35:13 -07:00
Kevin Fenzi
2ff5956ff2 proxies: drop old zanata hack
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-01 20:52:46 -07:00
Kevin Fenzi
ddffeebb63 proxies: drop ipv6 restart script
Yesterdays fix: a script that restarted networking to bring back a ipv6
route on proxy11, causes:
Todays bug: restarting the interface every minute causes the nameserver
to burp and not find sundries01, so all the rsyncs fail. It seems to
handle this just fine now, so lets retire this glorious hack.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-19 16:31:30 -07:00
Kevin Fenzi
a02e57944f rhel9: disable advanced virt for now as it does not exist
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-19 14:02:39 -07:00
Frank Ch. Eigler
f0a0eb2ba9 debuginfod: tweak prefetch cache settings
Use more cache to avoid as much repeated archive busywork during
workload such as today since 8AM.
Related: https://sourceware.org/bugzilla/show_bug.cgi?id=29098
2022-05-18 23:38:41 +00:00
Kevin Fenzi
5e59e1f3ac add rhel9 repos
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-18 13:11:34 -07:00
Kevin Fenzi
af7c94951a and add the files
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-16 18:21:49 -07:00
Kevin Fenzi
1c792cf8c1 nbde: fix this with proper fixes
My last commit wasn't correct. It turns out we still need to:
a) drop the dracut made bogus "Wired Connection". We do this in
nbde_client-network-flush by removing the default connection file.
b) We also need to tell NetworkManager to not make 'Wired Connection 43'
for any non configured interfaces. We only want to use the ones we
configure and not any of the others that may or may not have link.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-16 18:19:34 -07:00
Kevin Fenzi
6f92ba3b9a nbde_client: workaround bug in dracut
In RHEL8.0->8.2 this all worked fine, because dracut was using legacy
networking. So, needsneed=1 would bring up network, it would not save it
to ifcfg files due to removing that dracut module all then NM would take
over. However, on RHEL8.3+ dracut started using NetworkManager. So, it
would bring up network, nbde_client would flush those so they had no
ip's on them, but dracut would hand off a "Wired Connection" NM profile
(even tho the interface had no ips now). It would then of course
activate it and boom, mess up your real Networking. It seems the logic
for handing off this network config is pivoting on needsnet=1. So, if we
switch to just 'ip=dhcp' it works and doesn't mess with your real
networking.
TODO: report this and try and get a real fix in either nbde_client or
dracut or both.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-16 17:11:27 -07:00
Dusty Mabe
803e4c9ffc
aws-iam-policies: fcos-upload-amis: add ability to cancel snapshot import
We had an import snapshot task get stuck and we don't have permission to
cancel it. This will enable us to run something like:

```
aws ec2 cancel-import-task --import-task-id import-snap-071b6e456e60146b7
```
2022-03-15 10:05:07 -04:00
Frank Ch. Eigler
2bf47f23fb debuginfod: apply thread-pool limits 2022-02-17 17:40:52 +00:00
Clement Verna
c07049af0f osbs: try to disable the import_image plugin in the worker customization
Signed-off-by: Clement Verna <cverna@tutanota.com>
2022-01-19 09:19:54 +01:00
Kevin Fenzi
bcd4365fec rhel sync: add advanced virt repo to sync and rhel8.repo files
We want to use advanced virt as it has a more tested/tweaked/patched set
of virt tools for our virthosts.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-01 14:37:29 -08:00
Frank Ch. Eigler
176ce60e33 debuginfod: add systemd drop-in tweaks
Already in effect on prod & stg, formalize these configuration tweaks
that limit overload, improve cgroup monitoring, and build tolerance to
transient fileserver problems.
2021-11-19 00:43:13 +00:00