open-nomad/client
Danielle Lancashire 5a87b3ab4b
env_aws: Disable Retries and set Session cfg
Previously, Nomad used hand rolled HTTP requests to interact with the
EC2 metadata API. Recently however, we switched to using the AWS SDK for
this fingerprinting.

The default behaviour of the AWS SDK is to perform retries with
exponential backoff when a request fails. This is problematic for Nomad,
because interacting with the EC2 API is in our client start path.

Here we revert to our pre-existing behaviour of not performing retries
in the fast path, as if the metadata service is unavailable, it's likely
that nomad is not running in AWS.
2019-12-16 10:56:32 +01:00
..
allocdir connect: add unix socket to proxy grpc for envoy (#6232) 2019-09-03 08:43:38 -07:00
allochealth client: improve group service stanza interpolation and check_re… (#6586) 2019-11-18 13:04:01 -05:00
allocrunner Merge pull request #6820 from hashicorp/f-skip-docker-logging-knob 2019-12-13 11:41:20 -05:00
allocwatcher client/allocwatcher: fix dropped test error (#6592) 2019-10-31 08:29:25 -04:00
config New monitor pkg for shared monitor functionality 2019-11-05 09:51:49 -05:00
consul client: improve group service stanza interpolation and check_re… (#6586) 2019-11-18 13:04:01 -05:00
devicemanager initialize device manager stats interval 2019-08-23 14:58:34 -04:00
fingerprint env_aws: Disable Retries and set Session cfg 2019-12-16 10:56:32 +01:00
interfaces Populate alloc stats API with device stats 2018-11-16 10:26:32 -05:00
lib ar: plumb client config for networking into the network hook 2019-07-31 01:04:06 -04:00
logmon logmon: add timeout to RPC operations 2019-12-02 10:33:05 -05:00
pluginmanager implement client endpoint of nomad exec 2019-05-09 16:49:08 -04:00
servers client: drop unused DC field from servers list 2019-05-20 14:19:15 -07:00
state timeout after 5 seconds when client opens a data directory (#6348) 2019-09-24 16:28:21 -07:00
stats client: Return empty values when host stats fail 2019-09-19 01:22:07 +02:00
structs add server-id to monitor specific server 2019-11-14 09:53:41 -05:00
taskenv client: improve group service stanza interpolation and check_re… (#6586) 2019-11-18 13:04:01 -05:00
testutil acl: check ACL against object namespace 2019-10-08 12:59:22 -04:00
vaultclient vault: remove dead lease code 2019-10-25 15:08:35 -07:00
acl.go aux: helper method that returns token as well as ACL policy 2019-04-30 10:23:56 -04:00
acl_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
agent_endpoint.go coordinate closing of doneCh, use interface to simplify callers 2019-11-05 11:44:26 -05:00
agent_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
alloc_endpoint.go acl: check ACL against object namespace 2019-10-08 12:59:22 -04:00
alloc_endpoint_test.go Merge pull request #6556 from hashicorp/c-vendor-multierror-20191025 2019-12-13 11:32:42 -05:00
alloc_watcher_e2e_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
client.go Merge pull request #6349 from hashicorp/b-host-stats 2019-11-20 10:13:02 -06:00
client_stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
client_stats_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
client_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
driver_manager_test.go tests: fix data race in client TestDriverManager_Fingerprint_Periodic 2019-05-21 09:49:56 -04: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 acl: check ACL against object namespace 2019-10-08 12:59:22 -04:00
fs_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
gc.go Plugins use parent loggers 2019-01-11 11:36:37 -08:00
gc_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
node_updater.go client: wait for batched driver updated 2019-04-19 09:00:24 -04:00
rpc.go rename function, initialize log level better 2019-11-05 09:51:53 -05:00
rpc_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
testing.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
util.go client: defensive against getting stale alloc updates 2019-06-29 04:17:35 -05:00
util_test.go Update state with server 2018-10-16 16:53:29 -07:00