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
Michal Konecny
80366bda57
[varnish] Fix the lists.fedoraproject.org
...
The lists are now returning 302 instead of 301. I forgot to change that in varnish.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2024-06-27 16:29:22 +02:00
Kevin Fenzi
6589d38032
varnish: this should be a string comparison
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-05-02 15:21:55 -07:00
Kevin Fenzi
02bae04d01
varnish: try using the right syntatic sugar
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-05-02 15:19:47 -07:00
Michal Konecny
563eb6658a
[varnish] Update the expected response for new mailman deployment
...
New mailman staging deployment is giving 302 as a default response instead of
301. Let's reflect that in varnish config.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2024-04-08 14:10:22 +02:00
Kevin Fenzi
a6a82ac806
Ajdust kojipkgs and varnish to allow new s390x network
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-02-20 16:05:19 -08:00
Kevin Fenzi
a60ca7159f
nuancier: retire and remove from ansible
...
See https://pagure.io/fedora-infrastructure/issue/11371
This service is retired.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2023-11-15 10:44:00 -08:00
Pavel Raiskup
8caaee2b08
kojipkgs: repomd.xml (the small one) should never be cached
...
We can cache any other file in the repo, even the repository metadata.
But repomd.xml is the smallest part (glue) that needs to be always
up2date to correctly reference the actual repofiles.
Fixes: https://pagure.io/fedora-infrastructure/issue/10531
2022-02-09 18:36:49 +00:00
Kevin Fenzi
5166f80efc
fedocal: remove varnish config also
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2021-06-23 12:46:40 -07:00
Pierre-Yves Chibon
2b46beed2c
fedocal: drop everything related to fedocal in VM
...
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr >
2021-06-23 17:30:27 +02:00
Kevin Fenzi
5ac17bc51a
varnish: adjust for f33 changes
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-11-10 12:20:50 -08:00
Stephen Smoogen
00cb5ef564
Put in up to date limits for the proxies so that varnish does not consume all ram
2020-07-22 09:30:27 -04:00
Stephen Smoogen
db5e633e86
move varnish ips to proxy. this doesnt fix the oom problem caused by registry
2020-07-22 08:32:37 -04:00
Stephen Smoogen
1b487b34a0
replace some hardcoded phx2 items with hardcoded iad2 items for koji, pdc, and nagios
2020-06-10 07:25:38 -04:00
Kevin Fenzi
7bbd1bd030
add iad2 networks to kojipkgs varnish config
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-05-27 17:50:37 -07:00
Rick Elrod
ea96618bd4
Get rid of modernpaste everywhere, redirect it to paste.centos.org everywhere
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2020-04-24 21:34:18 +02:00
Kevin Fenzi
bfcaa2ff94
varnish: don't specify libsemanage-python, we install it (or python3-libsemanage) in base.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:15 +02:00
Mikolaj Izdebski
4155463f1c
varnish: Drop Koschei backend
2020-04-24 21:34:11 +02:00
Kevin Fenzi
81fb4582e7
ansible: change when conditions to use == instead of is when checking strings.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:10 +02:00
Kevin Fenzi
a562b8a3f8
ansible_distribution_version: address FIXME's/review tweaks.
...
download: mod_limitipconn isn't used anyone, dropped the entire line.
transient_cloud: just dropped the dnf part and use 'package' entirely.
sshd_config: UsePrivilegeSeparation isn't used in Fedora at all.
koji_hub: no fedora or rhel8 hubs yet, so just 7 is fine for now.
openvpn: changes look ok
packages3: Should get cverna to review, packages is using fedora now.
varnish: no rhel8 varnish servers yet.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32
update ansible_distribution_major_version conditionals
...
Signed-off-by: Karsten Hopp <karsten@redhat.com >
2020-04-24 21:34:10 +02:00
Kevin Fenzi
73dae59db8
elections: clean up some old stuff from the old site and add redirect to new.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-05-31 17:57:13 +00:00
Patrick Uiterwijk
c9cba10f70
Remove fas02 references from haproxy and varnish
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2019-05-24 20:59:36 +02:00
Stephen Smoogen
658a22035b
remove fas03 from inventory and a LOT of config files where it was hard-coded
2019-05-23 22:53:51 +00:00
Kevin Fenzi
ea7f0ce02f
varnish: remove duplicate execstart
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-05-21 23:11:26 +00:00
Kevin Fenzi
d84fa33451
varnish: Just override the entire service file with ours
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-05-21 23:07:09 +00:00
Kevin Fenzi
6ca42be5fc
varnish: setup override file in correct directory
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-05-21 23:01:48 +00:00
Patrick Uiterwijk
1b9567b112
Add missing semicolon
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2019-02-20 09:59:01 +00:00
Kevin Fenzi
741dd95893
buildvm-s390x / varnish: fix missing ;s on 2 statements
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-02-14 19:03:19 +00:00
Kevin Fenzi
a4f7c00d0b
buildvm-s390x / varnish: increase timeouts to crazy levels.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-02-14 15:40:51 +00:00
Kevin Fenzi
c257814584
buildvm-s390x varnish: interval has to be more than timeout or things go strange.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-02-12 23:13:47 +00:00
Kevin Fenzi
22e1f2747e
buildvm-s390x (varnish): increase a bunch of timeouts now in production.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-02-12 19:14:43 +00:00
Kevin Fenzi
45c7935adc
buildvm-s390x-stg (varnish): increase a bunch of timeouts for varnish in stg to test.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2019-02-12 18:57:42 +00:00
Mikolaj Izdebski
7a9f4c7b9d
Fix backend probe URL for s390 stg varnish
2019-02-01 22:23:39 +00:00
Mikolaj Izdebski
33241e7f59
Rewrite Koji toplink URLs to improve cache hit ratio ( #7383 )
2018-11-30 08:30:40 +00:00
Mikolaj Izdebski
9f013cecf9
On F29 run varnish in not-forking mode
2018-11-30 08:19:33 +00:00
Mikolaj Izdebski
43c0f009cc
systemd should be reloaded whenever varnish.service override changes
2018-11-30 08:07:40 +00:00
Mikolaj Izdebski
22ec01c0f5
Port varnish role to Fedora 29
...
From varnish changelog:
- varnish.params is gone. To override startup configuration,
use /etc/systemd/system/varnish.service
2018-11-30 07:51:55 +00:00
Mikolaj Izdebski
214f94d000
Configure varnish cache on buildvm-s390x-01.stg
2018-11-30 07:02:56 +00:00
Kevin Fenzi
89d55ff508
Fix up registry
...
* Move to new reg binary.
* Fix --delete on rsync that was blowing away flatpak indexes.
* Fix varnish to not drop requests for pagination on the registry
* Make cron jobs not email maxamillion directly.
* Make cron job ignore INFO output.
2018-10-16 18:53:51 +00:00
Kevin Fenzi
585a5cc589
clean up stray }
2018-10-05 21:41:49 +00:00
David Shier
c0f45892ff
Removed all traces i could fild of the tagger and statscache (and stats_cache for databases) in ansible, proxy configs, and the nagios config. Pursuant to request in pagzre issue https://pagure.io/fedora-infrastructure/issue/7267 . - Odin2016
2018-10-03 17:50:38 +00:00
Kevin Fenzi
2359610fd4
add lists.pagure.io to varnish config
2018-09-22 20:01:06 +00:00
Rick Elrod
4a60ddc875
Nuke pkgdb some more... and probably break everything.
...
Signed-off-by: Rick Elrod <relrod@redhat.com >
2018-07-19 20:40:14 +00:00
Patrick Uiterwijk
6db05ccb51
Allow buildhw-aarch64* into the rhel repos
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-12-19 21:52:13 +00:00
Patrick Uiterwijk
936e8b261a
yum accepted pkg=, package calls it name=
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org >
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
039b08354a
Yum allowed state=installed. Lets use state=present consistently
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-10-08 22:31:03 +00:00
Patrick Uiterwijk
e680b96895
On proxies, varnish is on port 6081
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-10-08 22:18:37 +00:00
Patrick Uiterwijk
73bd8b0db0
Add a default varnish storage config
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com >
2017-10-08 22:13:39 +00:00
Stephen Smoogen
2734bbec05
move everything in staging except koji/proxy/pgdbr/pkgs to 10.5.128
2017-09-28 19:51:57 +00:00