Commit Graph

86 Commits

Author SHA1 Message Date
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
Stephen Smoogen
3ce4b872d3 move wiki 2017-08-22 23:24:07 +00:00
Dennis Gilmore
96567f1db3 expose via http the shiny new location for mass rebuild failures
Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
2017-07-25 21:39:21 +00:00
Kevin Fenzi
959db4c149 reduce varnish cache to allow memory for apache processes 2017-06-28 21:49:30 +00:00
Kevin Fenzi
7aca0c8328 up the timeouts on kojipkgs varnish to hopefully make up for slow storage issues 2017-05-31 14:57:22 +00:00
Kevin Fenzi
c749b92cb7 we just need to use kojipkgs directly because varnish does not do https backends 2017-04-27 21:55:45 +00:00
Kevin Fenzi
579f598dc1 add libsemanage-python here in case it was not installed 2017-04-27 20:46:32 +00:00
Kevin Fenzi
f839d0404f we need == here 2017-04-27 20:35:01 +00:00
Kevin Fenzi
9bc9a4065d add varnish config for buildvm-s390x-07.s390.fedoraproject.org which needs to cache packages for s390x builders in bos 2017-04-27 20:25:26 +00:00
Kevin Fenzi
70a62b3cdd up this varnish limit now 2017-04-07 20:01:18 +00:00
Patrick Uiterwijk
483c774e5c We need to typecast this. String != IP
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-04-06 00:17:28 +00:00
Patrick Uiterwijk
3c12da859e Normalize the X-Forwarded-For header
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-04-05 23:57:30 +00:00
Patrick Uiterwijk
0a7e1e0c03 Client.ip is unusable due to proxies, look at forwarded-for
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-04-05 23:51:12 +00:00
Kevin Fenzi
47dfdb7792 we are not using these acls anymore 2017-04-05 22:39:39 +00:00
Kevin Fenzi
9b0ebffd55 cannot use a dash in a backend name 2017-04-05 22:13:52 +00:00
Kevin Fenzi
24d4dea8fb apparently varnish 5.0 still uses vcl 4.0 2017-04-05 22:12:42 +00:00
Kevin Fenzi
7686e28971 make varnish role not care about yum 2017-04-05 22:08:05 +00:00
Patrick Uiterwijk
69c3e7174b Some improvements to kojipkgs vcl
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-04-05 21:49:10 +00:00
Kevin Fenzi
ee90934d26 some default settings for varnish on fedora 2017-04-05 19:15:14 +00:00
Kevin Fenzi
eb787777b0 make varnish role more general and add in config for a new varnish on kojipkgs 2017-04-05 19:07:01 +00:00
Kevin Fenzi
b5c4af2f26 add modernpaste02 to haproxy and varnish to cache paste static stuff 2017-03-04 19:32:54 +00:00
Patrick Uiterwijk
2969cf485e Do not cache registry blobs
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-02-09 20:58:28 +00:00