Michael Schurter
e7bf482eaa
plugins: SetConfig shouldn't panic on nil driver configs
2018-10-30 17:14:27 -07:00
Michael Schurter
fd2fcd7cb6
drivers: only log non-cancellation errors
2018-10-30 17:13:35 -07:00
Michael Schurter
9fb39b35c6
drivers: remove stutter from exported driver names
...
Also fix a comment on the logger that got copy/pasted around.
2018-10-30 14:05:31 -07:00
Preetha
61ff1854c3
Merge pull request #4818 from hashicorp/b-affinities-cli-formatting
...
Fix formatting of allocation score metrics
2018-10-30 13:32:16 -05:00
Michael Schurter
dd04ca6384
Merge pull request #4816 from hashicorp/b-qemu
...
qemu: fix build and register by default
2018-10-30 12:49:50 -05:00
Preetha Appan
4a35d62887
Fix formatting of allocation score metrics
2018-10-30 12:03:23 -05:00
Michael Schurter
7d28d346d5
qemu: fix build and register by default
...
API changes had broken the build.
2018-10-29 22:10:37 -07:00
Nick Ethier
4b08ef0534
Merge pull request #4765 from jippi/increase-line-scan-limit
...
fix: increase log rotator line scan limit
2018-10-29 18:46:30 -07:00
Nick Ethier
da7563b8c3
Merge pull request #4795 from hashicorp/f-plugin-config
...
Pass client configuration to plugins through loader
2018-10-29 18:42:27 -07:00
Nick Ethier
394cbc81b6
plugins/drivers: nil gaurd driver config when building executor config
2018-10-29 21:43:19 -04:00
Nick Ethier
95d381cff7
rename NomadConfig to ClientAgentConfig
2018-10-29 21:34:34 -04:00
Michael Schurter
16c25b8a60
Merge pull request #4803 from hashicorp/b-leader-fixes
...
AR Fixes: task leader handling, restoring, state updating, AR.Destroy deadlocks
2018-10-29 17:38:59 -05:00
Michael Schurter
0b4e15c366
tests: more fixes due to api changes
2018-10-29 15:25:22 -07:00
Michael Schurter
9d2b28e9be
tests: fix usages of TestClient cleanup and mock driver
2018-10-29 14:21:05 -07:00
Preetha
645fe97fa0
Update CHANGELOG.md
2018-10-26 19:14:13 -05:00
Preetha
7404666f07
Merge pull request #4813 from hashicorp/b-executor_path_fix
...
Stat path to binary to handle raw exec driver interpolated binary path
2018-10-26 19:09:18 -05:00
Preetha Appan
4231dc4729
Stat path to binary to handle raw exec driver interpolated binary path
2018-10-26 17:24:05 -05:00
Preetha Appan
af3a62e750
Fix test linting
2018-10-26 10:30:12 -05:00
Preetha
1809a89d0c
Merge pull request #4800 from hashicorp/f-driver-plugin-qemu
...
QEMU driver plugin
2018-10-26 09:11:56 -05:00
Preetha Appan
9937dc93b9
Merge branch 'f-driver-plugin-qemu' of github.com:hashicorp/nomad into f-driver-plugin-qemu
2018-10-25 13:51:58 -05:00
Preetha Appan
0ec59305ee
remove driver config struct from qemu driver since its not used
2018-10-25 13:51:06 -05:00
Michael Schurter
76ad56c73f
Fix hclog log line formatting
...
Co-Authored-By: preetapan <preetha@hashicorp.com >
2018-10-25 13:47:17 -05:00
Preetha Appan
c99b8701de
Fix imports
2018-10-25 13:45:44 -05:00
Michael Schurter
1744b4d123
Fix copy pasted comment
...
Co-Authored-By: preetapan <preetha@hashicorp.com >
2018-10-25 13:43:29 -05:00
Michael Schurter
2101d58d0f
remove newline
...
Co-Authored-By: preetapan <preetha@hashicorp.com >
2018-10-25 13:42:20 -05:00
Michael Schurter
2cf48b931d
update comment
...
Co-Authored-By: preetapan <preetha@hashicorp.com >
2018-10-25 13:41:24 -05:00
Michael Schurter
1f87a25d54
Remove unnecessary return
...
Co-Authored-By: preetapan <preetha@hashicorp.com >
2018-10-25 13:40:28 -05:00
Michael Schurter
f50c358988
remove unnecessary return
...
Co-Authored-By: preetapan <preetha@hashicorp.com >
2018-10-25 13:40:15 -05:00
Michael Schurter
05365806ac
ar: initialize allocwatcher on restore
...
Fixes a panic. Left a comment on how the behavior could be improved, but
this is what releases <0.9.0 did.
2018-10-19 09:45:45 -07:00
Michael Schurter
41b40b9296
plugins/drivers: fix panic when copying a nil TaskHandle
2018-10-19 09:45:45 -07:00
Michael Schurter
d71e7666bd
ar: fix leader handling, state restoring, and destroying unrun ARs
...
* Migrated all of the old leader task tests and got them passing
* Refactor and consolidate task killing code in AR to always kill leader
tasks first
* Fixed lots of issues with state restoring
* Fixed deadlock in AR.Destroy if AR.Run had never been called
* Added a new in memory statedb for testing
2018-10-19 09:45:45 -07:00
Nick Ethier
b837bf3ce3
drivers: update SetConfig to handle driver client config
2018-10-18 23:32:17 -04:00
Nick Ethier
7f69bcd4cd
added driver specific client config struct to plugin configuration
2018-10-18 23:31:01 -04:00
Michael Schurter
0387265876
Merge pull request #4799 from hashicorp/f-hook-logging-tweaks
...
tr: cleanup hook logs
2018-10-17 19:16:12 -05:00
Michael Schurter
08574715e3
Update drivers/qemu/driver.go
2018-10-17 17:42:01 -05:00
Alex Dadgar
e33b95d5ea
cleanup pki docs
2018-10-17 15:14:40 -07:00
Alex Dadgar
efbd28df97
Merge pull request #4785 from rkettelerij/patch-2
...
[Docs] Make clear Nomad requires leases in Vault for rendering certificates using the template stanza
2018-10-17 15:12:44 -07:00
Michael Lange
3c75bd49eb
Merge pull request #4727 from hashicorp/f-ui-improved-stats-charts
...
UI: Improved stats charts
2018-10-17 10:55:54 -07:00
Michael Schurter
2aed3e8527
ar: refactor task killing into 1 method
...
Update comments and address some PR comments from #4775
2018-10-17 10:06:59 -07:00
Michael Schurter
e029980b25
tests: explicitly cleanup after clients
2018-10-17 10:06:59 -07:00
Michael Schurter
2417ec5621
ar: fix task leader, update, and stop handling
2018-10-17 10:06:59 -07:00
Michael Lange
f02d99a2c0
Merge pull request #4718 from hashicorp/f-ui-a11y-line-chart
...
UI: Add some simple accessibility labels for line charts
2018-10-17 09:43:27 -07:00
Preetha Appan
e20e3d7c36
QEMU driver plugin
2018-10-17 11:43:15 -05:00
Michael Schurter
e130fcc0c7
tr: cleanup hook logs
2018-10-17 09:42:32 -07:00
Michael Lange
35b933a2e0
Add more documentation to the format-duration util
2018-10-17 08:10:16 -07:00
Michael Lange
3517c7c569
Be consistent with "time series" instead of "time-series"
2018-10-17 07:37:45 -07:00
Michael Lange
fd415fec9c
Merge pull request #4726 from hashicorp/f-ui-use-stats-trackers-for-resource-rows
...
UI: Use stats trackers for resource rows
2018-10-17 07:33:14 -07:00
Michael Lange
2c20678d8b
Add role="tooltip" to tooltips throughout the app
2018-10-17 07:17:24 -07:00
Alex Dadgar
0202b183cc
Merge pull request #4793 from hashicorp/b-no-cty
...
Do not use cty in drivers
2018-10-16 20:04:41 -07:00
Nick Ethier
87748fe423
update rkt and exec setconfig funcs
2018-10-16 23:00:26 -04:00