Find a file
Patrik Lundin 01768129f0
fleetlock: configurable lock/unlock timeout
While we already support setting a healthcheck timeout it probably
makes sense to be able to control how long we wait for a
fleetlock_lock() or fleetlock_unlock() call. This becomes important if
only running cosmos once a night or something like that. In that case we
you probably want to give a physical machine more than than 1 minute to
complete a reboot etc.

This can now be controlled by setting fleetlock_lock_timeout and
fleetlock_unlock_timeout in /etc/run-cosmos-fleetlock-conf. Keep in mind
that while it can make sense to increase the time for taking a lock,
releasing a lock should always be fast (either you have it and release
it, or you dont have it and it is a no-op) so setting a long unlock
timeout should probably never be done.

Since we also potentially wait the unlock timeout at boot (if the
fleetlock server is broken etc) that is another reason to keep it
short. The default 1m is probably OK for most uses.
2024-07-03 13:27:52 +02:00
default import 2013-09-02 16:01:50 +02:00
docs Multiverse master has been renamed to main, so updating documentation to reflect that 2023-07-03 15:14:52 +02:00
fabfile remove 'make db' 2023-02-07 14:21:29 +01:00
global fleetlock: configurable lock/unlock timeout 2024-07-03 13:27:52 +02:00
scripts add script and Makefile target to test multiverse in a docker container 2023-01-19 17:18:04 +01:00
.gitignore use run-cosmos in fabfile 2015-02-24 09:44:33 +01:00
addhost PREPARE/ADDHOST: allow the ues of proxyjump with ip address 2023-11-29 12:10:34 +01:00
apt simple kvm builder using cloud images 2014-10-22 14:28:05 +02:00
bump-tag Allow running of bumptag with out signed commits or tags 2023-12-04 14:24:34 +01:00
cosmos-rules.yaml import 2013-09-02 16:01:50 +02:00
cosmos.conf Changed tag from eduid-cosmos to the more generic cosmos-ops 2016-08-27 17:05:11 +02:00
edit-secrets Make sure of separator 2023-02-07 08:49:31 +01:00
host-puppet-conf-test shellcheck fixes 2023-02-07 16:09:37 +01:00
iaas-enable-root.sh Make debian iaas prepare scripts handle ubuntu 2022-11-14 12:54:08 +01:00
iaas-setup.sh Bookwork image runs netplan 2023-10-16 09:25:57 +02:00
Makefile remove 'make db' target as well 2023-02-07 15:04:01 +01:00
prepare-iaas-debian PREPARE/ADDHOST: allow the ues of proxyjump with ip address 2023-11-29 12:10:34 +01:00
prepare-iaas-ubuntu PREPARE/ADDHOST: allow the ues of proxyjump with ip address 2023-11-29 12:10:34 +01:00
README short readme 2013-10-15 10:55:04 +02:00

The system documentation is in the docs directory of the multiverse repository.