open-nomad/client
Mahmood Ali f82ea8824f client: wait for batched driver updated
Here we retain 0.8.7 behavior of waiting for driver fingerprints before
registering a node, with some timeout.  This is needed for system jobs,
as system job scheduling for node occur at node registration, and the
race might mean that a system job may not get placed on the node because
of missing drivers.

The timeout isn't strictly necessary, but raising it to 1 minute as it's
closer to indefinitely blocked than 1 second.  We need to keep the value
high enough to capture as much drivers/devices, but low enough that
doesn't risk blocking too long due to misbehaving plugin.

Fixes https://github.com/hashicorp/nomad/issues/5579
2019-04-19 09:00:24 -04:00
..
allocdir goimports 2019-01-22 15:44:31 -08:00
allochealth client: fix setting alloc unhealthy at deadline 2019-02-19 07:44:14 -08:00
allocrunner Merge pull request #5518 from hashicorp/f-simplify-kill 2019-04-15 14:11:58 -07:00
allocwatcher goimports 2019-01-22 15:44:31 -08:00
config goimports until make check is happy 2019-01-23 06:27:14 -08:00
consul test: add some extra logging 2019-01-14 09:56:53 -08:00
devicemanager test: fix NewMemDB API change 2019-03-04 13:37:20 -08:00
fingerprint Revert accidental merge of pr #5482 2019-04-11 10:29:40 -04:00
interfaces Populate alloc stats API with device stats 2018-11-16 10:26:32 -05:00
lib rename fifo methods for clarity 2019-04-01 16:52:58 -04:00
logmon rename fifo methods for clarity 2019-04-01 16:52:58 -04:00
pluginmanager s/mananger/manager 2019-03-04 12:25:54 -06:00
servers fix test compiling 2018-10-16 16:56:55 -07:00
state test: fix NewMemDB API change 2019-03-04 13:37:20 -08:00
stats Add Client Device Stats structs in api package 2018-11-14 14:41:19 -05:00
structs Bump to 0.9.1-dev 2019-04-09 09:01:48 -07:00
taskenv vault namespaces: inject VAULT_NAMESPACE alongside VAULT_TOKEN + documentation 2019-04-12 15:06:34 +00:00
testutil tests: expect Docker on AppVeyor 2019-02-20 07:41:47 -05:00
vaultclient vault: fix data races 2019-04-16 11:22:44 -07:00
acl.go client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
acl_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
alloc_endpoint.go allocs: Add nomad alloc restart 2019-04-11 14:25:49 +02:00
alloc_endpoint_test.go allocs: Add nomad alloc restart 2019-04-11 14:25:49 +02:00
alloc_watcher_e2e_test.go tests: enable and fix tests requiring mock driver 2019-01-10 10:10:11 -05:00
client.go client: wait for batched driver updated 2019-04-19 09:00:24 -04:00
client_stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
client_stats_endpoint_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
client_test.go Revert accidental merge of pr #5482 2019-04-11 10:29:40 -04:00
driver_manager_test.go tests: port some fingerprint tests from 0.8 (#5359) 2019-02-26 10:54:16 -05:00
fingerprint_manager.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
fingerprint_manager_test.go client/drivermananger: add driver manager 2018-12-18 22:55:18 -05:00
fs_endpoint.go client: expose task state to client 2018-10-16 16:56:55 -07:00
fs_endpoint_test.go tests: deflake client TestFS_Logs_TaskPending test 2019-01-18 21:26:48 -05:00
gc.go Plugins use parent loggers 2019-01-11 11:36:37 -08:00
gc_test.go test: copy AR's Alloc before mutating 2018-12-19 15:48:02 -08:00
node_updater.go client: wait for batched driver updated 2019-04-19 09:00:24 -04:00
rpc.go fix more cases of logging arity errors 2019-01-09 09:22:47 -05:00
rpc_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
testing.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
util.go example redis job "runs" on arv2! see below 2018-10-16 16:53:29 -07:00
util_test.go Update state with server 2018-10-16 16:53:29 -07:00