]>
git.openstreetmap.org Git - chef.git/log
Matt Amos [Tue, 7 Jul 2020 18:42:31 +0000 (19:42 +0100)]
Attempt to fix changeset replication lock queueing.
When the changeset replication runs slow, a lot of processes queue up trying to get the lock. I'm not totally sure, but it looks like they then get woken up in a random order, resulting in weird out-of-order behaviour.
This patch simplifies that process in two ways:
1. If the lock isn't acquired, the process exits. This means much less (perhaps zero) lock queueing.
2. Using a separate `lockfile`, rather than the current state file. Since the new state file is moved into place over the old one, it was effectively unlocking at that point for _new_ processes. But would also unblock an old process which still had the old (now unlinked) file descriptor open.
Hopefully between these two changes, it resolves some of the brokenness that plagues changeset replication! :-)
Grant Slater [Tue, 7 Jul 2020 09:20:59 +0000 (10:20 +0100)]
Ignore 1 additional fan on pyrene
Grant Slater [Tue, 7 Jul 2020 08:05:02 +0000 (09:05 +0100)]
pyrene runs hot. Ignore most fan alerts
Tom Hughes [Mon, 6 Jul 2020 13:56:05 +0000 (14:56 +0100)]
Update interface names for ladon
Sarah Hoffmann [Sun, 5 Jul 2020 19:31:15 +0000 (21:31 +0200)]
nominatim: add website setup to merge hook
Tom Hughes [Sun, 5 Jul 2020 16:21:41 +0000 (17:21 +0100)]
Bring GPX access back online
Tom Hughes [Sun, 5 Jul 2020 16:23:22 +0000 (17:23 +0100)]
Remount NFS space on web servers
Tom Hughes [Sun, 5 Jul 2020 09:39:21 +0000 (10:39 +0100)]
Bring up a DHCP server on tabaluga
Tom Hughes [Sun, 5 Jul 2020 09:34:05 +0000 (10:34 +0100)]
Add default attributes for nfs cookbook
Tom Hughes [Sun, 5 Jul 2020 09:30:04 +0000 (10:30 +0100)]
Suppress mounting of /store/rails when GPX data is offline
Tom Hughes [Sun, 5 Jul 2020 09:20:28 +0000 (10:20 +0100)]
Makr GPX storage as offline
Tom Hughes [Sat, 4 Jul 2020 11:53:01 +0000 (12:53 +0100)]
Switch to installing python 3 modules on dev
Tom Hughes [Fri, 3 Jul 2020 10:40:44 +0000 (11:40 +0100)]
Fix bind cookbook for change in service name on Ubuntu 20.04
Grant Slater [Fri, 3 Jul 2020 04:34:23 +0000 (05:34 +0100)]
squid: remove broken logrotate file + no cache digest
Grant Slater [Fri, 3 Jul 2020 00:00:51 +0000 (01:00 +0100)]
imagery: update os om local key
Grant Slater [Thu, 2 Jul 2020 16:58:18 +0000 (17:58 +0100)]
imagery: remove ubuntugis-unstable apt
Tom Hughes [Thu, 2 Jul 2020 15:20:20 +0000 (16:20 +0100)]
Cope with having no communities
Grant Slater [Thu, 2 Jul 2020 14:34:21 +0000 (15:34 +0100)]
forum: use temporary theme location to workaround chef openssl bug
Grant Slater [Thu, 2 Jul 2020 13:19:47 +0000 (14:19 +0100)]
imagery: OS OpenMap Local fix water blue
Grant Slater [Thu, 2 Jul 2020 12:56:43 +0000 (13:56 +0100)]
imagery: OS OpenMap Local fixes
Grant Slater [Thu, 2 Jul 2020 09:37:02 +0000 (10:37 +0100)]
imagery: os openmap local update
Grant Slater [Wed, 1 Jul 2020 23:31:03 +0000 (00:31 +0100)]
imagery: Add test OS openmap local
Tom Hughes [Wed, 1 Jul 2020 17:13:02 +0000 (18:13 +0100)]
Expire MWG wiki backups
Grant Slater [Tue, 30 Jun 2020 20:44:16 +0000 (21:44 +0100)]
tilecache: Do not pass request header + body
dependabot[bot] [Fri, 26 Jun 2020 18:18:36 +0000 (18:18 +0000)]
Bump cookstyle from 6.8.0 to 6.9.0
Bumps [cookstyle](https://github.com/chef/cookstyle) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/chef/cookstyle/releases)
- [Changelog](https://github.com/chef/cookstyle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chef/cookstyle/compare/v6.8.0...v6.9.0)
Signed-off-by: dependabot[bot] <support@github.com>
Tom Hughes [Fri, 26 Jun 2020 18:16:49 +0000 (19:16 +0100)]
Set dependabot frequency to daily
Tom Hughes [Fri, 26 Jun 2020 13:26:13 +0000 (14:26 +0100)]
Configure port for sshd
Tom Hughes [Thu, 25 Jun 2020 19:32:50 +0000 (19:32 +0000)]
Add test for dns cookbook
Tom Hughes [Thu, 25 Jun 2020 18:04:36 +0000 (19:04 +0100)]
Merge pull request #315 from openstreetmap/dependabot/bundler/test-kitchen-2.5.2
Bump test-kitchen from 2.5.1 to 2.5.2
Tom Hughes [Thu, 25 Jun 2020 18:02:53 +0000 (19:02 +0100)]
Merge pull request #314 from openstreetmap/dependabot/github_actions/actions/setup-ruby-v1.1.1
Bump actions/setup-ruby from v1 to v1.1.1
dependabot[bot] [Thu, 25 Jun 2020 18:02:38 +0000 (18:02 +0000)]
Bump actions/setup-ruby from v1 to v1.1.1
Bumps [actions/setup-ruby](https://github.com/actions/setup-ruby) from v1 to v1.1.1.
- [Release notes](https://github.com/actions/setup-ruby/releases)
- [Commits](https://github.com/actions/setup-ruby/compare/v1...
18c61abf688e8efc9bec2bdb29c8bca07df5ff45 )
Signed-off-by: dependabot[bot] <support@github.com>
Tom Hughes [Thu, 25 Jun 2020 18:02:00 +0000 (19:02 +0100)]
Merge pull request #313 from openstreetmap/dependabot/github_actions/actions/cache-v2
Bump actions/cache from v1 to v2
dependabot[bot] [Thu, 25 Jun 2020 17:58:53 +0000 (17:58 +0000)]
Bump test-kitchen from 2.5.1 to 2.5.2
Bumps [test-kitchen](https://github.com/test-kitchen/test-kitchen) from 2.5.1 to 2.5.2.
- [Release notes](https://github.com/test-kitchen/test-kitchen/releases)
- [Changelog](https://github.com/test-kitchen/test-kitchen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/test-kitchen/test-kitchen/compare/v2.5.1...v2.5.2)
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Thu, 25 Jun 2020 17:58:38 +0000 (17:58 +0000)]
Bump actions/cache from v1 to v2
Bumps [actions/cache](https://github.com/actions/cache) from v1 to v2.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v1...
b8204782bbb5f872091ecc5eb9cb7d004e35b1fa )
Signed-off-by: dependabot[bot] <support@github.com>
Tom Hughes [Thu, 25 Jun 2020 17:56:12 +0000 (18:56 +0100)]
Enable dependabot for chef repository
Tom Hughes [Wed, 24 Jun 2020 21:44:13 +0000 (22:44 +0100)]
Fix parent for New Zealand caches
Grant Slater [Wed, 24 Jun 2020 13:23:56 +0000 (14:23 +0100)]
Ubuntu MOTD adverts-be-gone
Tom Hughes [Tue, 23 Jun 2020 21:37:44 +0000 (22:37 +0100)]
Delay trying to start squid until the end of the run
This ensures that all config fragments have been updated before
we try and start it, allowing recovery from breakage.
Tom Hughes [Tue, 23 Jun 2020 18:22:29 +0000 (19:22 +0100)]
Disable TLSv1.3 for upstream connections from squid on Ubuntu 20.04
Tom Hughes [Tue, 23 Jun 2020 18:56:27 +0000 (19:56 +0100)]
Revert "Disable TLSv1.3 for upstream connections from squid on Ubuntu 20.04"
This reverts commit
8593050ae6de42adadb959f976693ea3a0f1278f .
Tom Hughes [Tue, 23 Jun 2020 18:22:29 +0000 (19:22 +0100)]
Disable TLSv1.3 for upstream connections from squid on Ubuntu 20.04
Tom Hughes [Tue, 23 Jun 2020 06:13:31 +0000 (07:13 +0100)]
Switch to using a dropin to customise squid service
Tom Hughes [Mon, 22 Jun 2020 20:08:34 +0000 (21:08 +0100)]
Update SNMP contact for lyonix
Tom Hughes [Mon, 22 Jun 2020 19:55:09 +0000 (20:55 +0100)]
Update SNMP configuration for lyonix
Grant Slater [Mon, 22 Jun 2020 17:09:29 +0000 (18:09 +0100)]
geodns: set standard SOA retry
Grant Slater [Mon, 22 Jun 2020 16:23:09 +0000 (17:23 +0100)]
geodns: enable include_optional_ns to please picky DNS servers
Tom Hughes [Mon, 22 Jun 2020 09:33:18 +0000 (10:33 +0100)]
Update NS records for geo zone
Tom Hughes [Sun, 21 Jun 2020 10:23:38 +0000 (11:23 +0100)]
Make sure the tests know they are running in a container
This ensures that systemd-detect-virt will detect that we are
running in a container and prevents apparmor being started.
Grant Slater [Fri, 19 Jun 2020 00:56:30 +0000 (01:56 +0100)]
chrony: safe to ignore online failures
Grant Slater [Fri, 19 Jun 2020 00:44:29 +0000 (01:44 +0100)]
chrony: online sources on chef runs
Grant Slater [Thu, 18 Jun 2020 22:48:06 +0000 (23:48 +0100)]
dns: Update dnscontrol v3.0.0 -> v3.2.0
Tom Hughes [Thu, 18 Jun 2020 20:01:38 +0000 (21:01 +0100)]
Drop sshfp and add some extra perl modules
Tom Hughes [Thu, 18 Jun 2020 17:47:09 +0000 (18:47 +0100)]
Wrap DNS updates with a lock to avoid conflicts
Tom Hughes [Thu, 18 Jun 2020 17:20:40 +0000 (18:20 +0100)]
Install YAML::XS for faster DNS updates
Tom Hughes [Wed, 17 Jun 2020 17:55:09 +0000 (18:55 +0100)]
Remove some openssh cleanup code
Tom Hughes [Tue, 16 Jun 2020 19:20:52 +0000 (20:20 +0100)]
Revert to default ssh client configuration
The HP ILO cards that needed custom configuration are long gone.
Tom Hughes [Tue, 16 Jun 2020 18:37:40 +0000 (19:37 +0100)]
Remove any legacy DSA host keys
Tom Hughes [Tue, 16 Jun 2020 18:33:27 +0000 (19:33 +0100)]
Remove temporary sysfs cleanup code
Hrvoje Bogner [Mon, 15 Jun 2020 10:06:22 +0000 (12:06 +0200)]
Change rhaegal network interface name
New mb has different network interfaces names
Tom Hughes [Sun, 14 Jun 2020 19:28:37 +0000 (20:28 +0100)]
Use a dropin file to configure sysfsutils
Tom Hughes [Sun, 14 Jun 2020 19:25:56 +0000 (20:25 +0100)]
Hard code use of bionic for HP repository for now
Tom Hughes [Mon, 8 Jun 2020 22:00:33 +0000 (23:00 +0100)]
Fix incorrect cookstyle correction
Tom Hughes [Mon, 8 Jun 2020 21:50:31 +0000 (22:50 +0100)]
Update bundle
Tom Hughes [Sat, 6 Jun 2020 13:34:45 +0000 (14:34 +0100)]
Update piwik to 3.13.6
Tom Hughes [Thu, 4 Jun 2020 10:32:20 +0000 (11:32 +0100)]
Suppress output from blog aggregator unless it fails completely
Tom Hughes [Tue, 2 Jun 2020 07:24:24 +0000 (08:24 +0100)]
Fix cookstyle warnings
Tom Hughes [Tue, 2 Jun 2020 07:20:48 +0000 (08:20 +0100)]
Update bundle
Grant Slater [Tue, 2 Jun 2020 16:32:58 +0000 (17:32 +0100)]
device: Additional NIC ring tuning
Grant Slater [Mon, 1 Jun 2020 23:45:15 +0000 (00:45 +0100)]
device: tune BCM5721 ring
Grant Slater [Mon, 1 Jun 2020 23:29:36 +0000 (00:29 +0100)]
device: tune HP NC362i ring
Grant Slater [Mon, 1 Jun 2020 23:04:25 +0000 (00:04 +0100)]
device: udev NIC ring tune for Intel 82574L
Grant Slater [Fri, 29 May 2020 17:03:43 +0000 (18:03 +0100)]
Increase NIC rx/tx ring size
Tom Hughes [Mon, 1 Jun 2020 09:14:07 +0000 (10:14 +0100)]
Make stormfly-04 a geodns server
Grant [Fri, 29 May 2020 22:23:46 +0000 (23:23 +0100)]
Merge pull request #308 from Firefishy/more-404-tiles
tilecache: Add to fast 404 list common off-by-one tiles
Grant [Fri, 29 May 2020 22:23:34 +0000 (23:23 +0100)]
Merge pull request #307 from Firefishy/md-raid-tweak
Allow md raid to use multiple threads for RAID5 and 6
Grant Slater [Fri, 29 May 2020 17:16:55 +0000 (18:16 +0100)]
tilecache: Add to fast 404 list common off-by-one tiles
Grant Slater [Fri, 29 May 2020 17:09:09 +0000 (18:09 +0100)]
Allow md raid to use multiple threads for RAID5 and 6
Tom Hughes [Fri, 29 May 2020 16:32:50 +0000 (17:32 +0100)]
Handle interfaces with no address
Tom Hughes [Fri, 29 May 2020 16:30:20 +0000 (17:30 +0100)]
Bond all the interfaces on stormfly-{03,04}
Tom Hughes [Fri, 29 May 2020 16:21:01 +0000 (17:21 +0100)]
Bond interfaces on pummelzacken
Tom Hughes [Fri, 29 May 2020 15:47:15 +0000 (16:47 +0100)]
Configure stormfly-03 and stormfly-04 as tile caches
Tom Hughes [Thu, 28 May 2020 07:48:40 +0000 (08:48 +0100)]
Update bundle
Tom Hughes [Tue, 26 May 2020 17:09:44 +0000 (18:09 +0100)]
Fix typo in microcosms name
Tom Hughes [Tue, 26 May 2020 13:54:57 +0000 (14:54 +0100)]
Use postgres 12 for dev apis
Tom Hughes [Tue, 26 May 2020 13:48:38 +0000 (14:48 +0100)]
Add microcosms dev site
Guillaume RISCHARD [Sat, 23 May 2020 16:48:53 +0000 (18:48 +0200)]
Filename
Guillaume RISCHARD [Sat, 23 May 2020 16:32:31 +0000 (18:32 +0200)]
Added multidirectional ANA hillshade
Tom Hughes [Thu, 21 May 2020 18:43:52 +0000 (19:43 +0100)]
Suppress latency warnings for an unused disk on cmok
Tom Hughes [Thu, 21 May 2020 13:39:09 +0000 (14:39 +0100)]
Use ttyS1 for serial console on all Supermicro servers
Tom Hughes [Thu, 21 May 2020 13:22:23 +0000 (14:22 +0100)]
Use ttyS1 for serial console on snap-01 and snap-02
Tom Hughes [Thu, 21 May 2020 11:25:39 +0000 (12:25 +0100)]
Add hp-g9 role to stormfly-03 and stormfly-04
Tom Hughes [Thu, 21 May 2020 10:28:01 +0000 (11:28 +0100)]
Add roles for stormfly-03 and stormfly-04
Tom Hughes [Wed, 20 May 2020 16:50:55 +0000 (17:50 +0100)]
Add roles for snap-01 and snap-02
Tom Hughes [Wed, 20 May 2020 16:48:05 +0000 (17:48 +0100)]
Add DHCP entries for snap-01 and snap-02 OOB cards
Tom Hughes [Tue, 19 May 2020 21:20:56 +0000 (22:20 +0100)]
Update bundle
Tom Hughes [Tue, 19 May 2020 14:19:58 +0000 (15:19 +0100)]
Use SSL when connecting to IRC
Tom Hughes [Tue, 19 May 2020 14:06:00 +0000 (15:06 +0100)]
Drop duplicate nickserv password line
Tom Hughes [Tue, 19 May 2020 13:32:25 +0000 (13:32 +0000)]
Switch to using limnoria instead of supybot
Tom Hughes [Tue, 19 May 2020 12:55:17 +0000 (13:55 +0100)]
Switch tile server CGI scripts to use python3
Tom Hughes [Mon, 18 May 2020 21:29:52 +0000 (21:29 +0000)]
Install pkg-config for building planet-dump-ng