Mahmood Ali
612825dd5c
reconcile interface
2018-11-20 17:10:55 -05:00
Mahmood Ali
0816841fdd
Populate agent-info with vault
...
Return Vault TTL info to /agent/self API and `nomad agent-info` command.
2018-11-20 17:10:55 -05:00
Mahmood Ali
887704e704
Avoid explicit precomputed stats field
...
Seems like the stats field is a micro-optimization that doesn't justify
the complexity it introduces. Removing it and computing the stats from
revoking field directly.
2018-11-20 17:10:54 -05:00
Mahmood Ali
a0921cc34f
More metrics for Server vault
...
Add a gauge to track remaining time-to-live, duration of renewal request API call.
2018-11-20 17:10:54 -05:00
Mahmood Ali
0fc84f4cfb
address review comments
2018-11-20 17:10:54 -05:00
Mahmood Ali
f181f1a07a
Wrap Vault API api errors for easing debugging
2018-11-20 17:10:54 -05:00
Mahmood Ali
88c1698ef5
Emit metric counters for Vault token and renewal failures
2018-11-20 17:10:54 -05:00
Mahmood Ali
05d9b39942
Set a 1s floor for Vault renew operation backoff
2018-11-20 17:10:54 -05:00
Mahmood Ali
feaf6214f9
Set User-Agent header when hitting Vault API
2018-11-20 17:10:54 -05:00
Preetha
084693ffe0
Merge pull request #4911 from hashicorp/add-circleci-master
...
Add CircleCI configuration for website build
2018-11-20 16:01:57 -06:00
Alvin Huang
b688f7de43
remove packer.json since CircleCI builds the site
2018-11-20 16:59:42 -05:00
Alvin Huang
926aa0994d
add circleci website build
2018-11-20 16:59:34 -05:00
Mahmood Ali
9b48b09498
document storage opts
2018-11-20 16:11:02 -05:00
Mahmood Ali
2c7bea7190
Add support for storage opt
2018-11-20 16:11:02 -05:00
Danielle Tomlinson
d73c2f3c8d
taskrunner: Return the restart delay correctly
...
We were incorrectly returning a 0 duration to the taskrunner when
determining when a task should restart. This would cause tasks to be
restarted immediately, ignoring the restart {} stanza in a users
configuration.
This commit causes us to return the restart duration to the task runner
so it may correctly delay further execution.
2018-11-20 21:52:23 +01:00
Preetha
582a52d100
Merge pull request #4857 from hashicorp/f-affinity-docs
...
docs for affinity
2018-11-20 14:17:28 -06:00
Preetha
afe4c61447
Update CHANGELOG.md
2018-11-20 14:16:37 -06:00
Mahmood Ali
f098c9ada3
Merge pull request #4903 from hashicorp/b-delete-versions-mod-while-iter
...
Fix a panic related to batch GC
2018-11-20 15:16:02 -05:00
Preetha
38e9d9a7d5
Merge pull request #4885 from hashicorp/f-update-consultemplate
...
Vendor update consul template
2018-11-20 14:15:14 -06:00
Michael Schurter
d213b1e778
changelog: mention #4904
2018-11-20 11:37:09 -08:00
Nick Ethier
6dfa2309c4
task_runner: use NodeResources instead of deprecated struct
2018-11-20 13:46:39 -05:00
Nick Ethier
4dfcc80a0b
task_runner: use task and alloc copies instead of referencing the original pointer
2018-11-20 13:34:46 -05:00
Mahmood Ali
72df87b101
address review comments
2018-11-20 13:21:39 -05:00
Michael Schurter
206d98cf0d
Remove committed test output and gitignore it
2018-11-20 10:16:03 -08:00
Michael Schurter
e8475fe86a
Merge pull request #4904 from hashicorp/b-vault-panic
...
vault: fix panic by checking for nil secret
2018-11-20 12:09:35 -06:00
Charlie Voiselle
1f98eed8b0
Merge pull request #4905 from sevagh/fix-typo
...
Fix typo in GNUmakefile
2018-11-20 09:25:09 -05:00
Nick Ethier
19c260a4a5
command/agent: additional tests for telemetry config parsing
2018-11-19 23:22:33 -05:00
Nick Ethier
825c2ffca9
nomad: only lookup job is disable_dispatched_job_summary_metrics is set
2018-11-19 23:22:23 -05:00
Nick Ethier
8de254c5c5
nomad: lookup job instead of adding Dispatched to summary
2018-11-19 23:22:02 -05:00
Nick Ethier
af3f535f0a
agent: suppose filter_default telemetry option
2018-11-19 23:21:48 -05:00
Nick Ethier
4182e3e141
nomad: add flag to disable publishing of job_summary metrics for dispatched jobs
2018-11-19 23:21:19 -05:00
Nick Ethier
2393f6a008
docker: unexport new coordinator func
2018-11-19 23:07:07 -05:00
Nick Ethier
fab76c6c0b
docker: add default blocks for driver plugin config schema
2018-11-19 22:59:18 -05:00
Nick Ethier
249dbfffd2
docker: move config RPCs to config.go
2018-11-19 22:59:18 -05:00
Nick Ethier
8ae8932783
docker: fix tests
2018-11-19 22:59:18 -05:00
Nick Ethier
0462c8a7f8
docker: remove container pointer from task handle
2018-11-19 22:59:18 -05:00
Nick Ethier
d7631e3b23
docker: move volume driver options to seperate block
2018-11-19 22:59:18 -05:00
Nick Ethier
577d4a2ea8
docker: group common config into blocks
2018-11-19 22:59:17 -05:00
Michael Schurter
455e75492c
Apply suggestions from code review
...
Co-Authored-By: nickethier <ncethier@gmail.com >
2018-11-19 22:59:17 -05:00
Nick Ethier
3468880f50
docker: remove global pull coordinator
2018-11-19 22:59:17 -05:00
Nick Ethier
7d09ae57cc
docker: remove call to global metrics instance
2018-11-19 22:59:17 -05:00
Nick Ethier
cf69895d31
task_runner: emit event on task exit with exit result details
2018-11-19 22:59:17 -05:00
Nick Ethier
0c62b9adf4
docker: moved fingerprint code to it's own file
2018-11-19 22:59:17 -05:00
Nick Ethier
3601e4241d
plugins/driver: remove NodeResources from task Resources and use PercentTicks field for docker driver
2018-11-19 22:59:17 -05:00
Nick Ethier
37ed75502e
docker: move recoverable error proto to shared structs
2018-11-19 22:59:16 -05:00
Nick Ethier
396f6ab1fb
docker: implement recover task logic
2018-11-19 22:59:16 -05:00
Nick Ethier
902eb9475c
docker: finished porting tests
2018-11-19 22:59:16 -05:00
Nick Ethier
9c154d7135
drivers: added NodeResources to drivers.TaskConfig
2018-11-19 22:59:16 -05:00
Nick Ethier
5c777a37de
drivers/docker: more work porting tests from old driver plugin
2018-11-19 22:59:16 -05:00
Nick Ethier
c2d94dc86a
drivers: support recoverable errors in the plugin RPC layer
2018-11-19 22:59:15 -05:00