Commit Graph

15469 Commits

Author SHA1 Message Date
Michael Schurter
fdb14bd6e1 changelog: add #5791 and #5975 2019-07-19 08:26:07 -07:00
Michael Schurter
f87d362f6f Merge pull request #5974 from hashicorp/e2e-terraform-debug
e2e: enable_debug=true for all agents
2019-07-19 08:21:17 -07:00
Lang Martin
1b8c5eded4 CHANGELOG client cpu usage 2019-07-19 11:09:17 -04:00
Lang Martin
e34c60ea1e Merge pull request #5951 from hashicorp/b-cpu-pid-scan
reduce CPU usage running large numbers of clients
2019-07-19 11:07:03 -04:00
Lang Martin
f3fdd0f09d CHANGELOG core system jobs blocked 2019-07-19 10:51:36 -04:00
Mahmood Ali
6e1fbfd3b2 Merge pull request #5976 from hashicorp/b-consul-template-update-20190718
Update consul-template dependency to latest
2019-07-19 06:49:13 +07:00
Michael Schurter
858d18df04 Merge pull request #5975 from hashicorp/b-check-watcher-deadlock
consul: fix deadlock in check-based restarts
2019-07-18 13:13:40 -07:00
Lang Martin
5f4475574d Merge pull request #5900 from hashicorp/f-system-sched-blocked-evals
System scheduler blocked evals
2019-07-18 16:13:15 -04:00
Michael Schurter
17636727e1 consul: add test for check watcher deadlock 2019-07-18 08:24:09 -07:00
Mahmood Ali
c7ab4a6fdb changelog GH-5837 and GH-5948 2019-07-18 22:24:07 +07:00
Lang Martin
7bd881cbf7 default e.getAllPids in executor_basic 2019-07-18 10:57:27 -04:00
Lang Martin
e0edd1156e blocked_evals_test disable calls Flush 2019-07-18 10:32:13 -04:00
Lang Martin
cdaec89cd1 worker comment system -> core 2019-07-18 10:32:13 -04:00
Lang Martin
5ee4ffbae3 blocked_evals reset system evals on Flush 2019-07-18 10:32:13 -04:00
Lang Martin
e6820cdc09 blocked_evals_test Test_UnblockNode 2019-07-18 10:32:12 -04:00
Lang Martin
7e18bd6e4a fsm attach UnblockNode on node updates 2019-07-18 10:32:12 -04:00
Lang Martin
2d8bfb8d11 system_sched submits failed evals as blocked 2019-07-18 10:32:12 -04:00
Lang Martin
4b93a08a21 blocked_evals system evals indexed by job and node 2019-07-18 10:32:12 -04:00
Michael Schurter
b4b2b42e28 Update command/agent/consul/check_watcher.go
Co-Authored-By: Mahmood Ali <mahmood@hashicorp.com>
2019-07-18 07:08:27 -07:00
Michael Schurter
b73882882e e2e: debug log level for everyone! 2019-07-18 06:55:27 -07:00
Mahmood Ali
80b1344653 Update consul-template dependency to latest
To pick up the fix in
https://github.com/hashicorp/consul-template/pull/1231 .
2019-07-18 07:32:03 +07:00
Michael Schurter
9c418c224b consul: fix deadlock in check-based restarts
Fixes #5395
Alternative to #5957

Make task restarting asynchronous when handling check-based restarts.
This matches the pre-0.9 behavior where TaskRunner.Restart was an
asynchronous signal. The check-based restarting code was not designed
to handle blocking in TaskRunner.Restart. 0.9 made it reentrant and
could easily overwhelm the buffered update chan and deadlock.

Many thanks to @byronwolfman for his excellent debugging, PR, and
reproducer!

I created this alternative as changing the functionality of
TaskRunner.Restart has a much larger impact. This approach reverts to
old known-good behavior and minimizes the number of places changes are
made.
2019-07-17 15:22:21 -07:00
Michael Schurter
b66c6cfc2d e2e: enable_debug=true for all agents
Enables the pprof http endpoint for debugging.
2019-07-17 15:20:45 -07:00
Lang Martin
ab3e6259d0 executor_unix and _windows stub getAllPids ByScanning 2019-07-17 17:34:06 -04:00
Lang Martin
1a9c598fc2 executor_universal_linux getAllPids chooses cgroup when available 2019-07-17 17:33:55 -04:00
Lang Martin
3834616691 executor use e.getAllPids() 2019-07-17 17:33:11 -04:00
Lang Martin
d3ef456bd7 resource_container_linux new getAllPidsByCgroup 2019-07-17 17:31:36 -04:00
Lang Martin
412997f566 pid_collector getAllPids -> getAllPidsByScanning 2019-07-17 17:31:20 -04:00
Buck Doyle
87d716ed0b UI: Add page titles (#5924)
This uses ember-page-title to add dynamic page titles throughout the
route hierarchy. When there’s more than one region, the current
current region is added before the final entry of “- Nomad”.
2019-07-17 15:02:58 -05:00
Chris Baker
0965379f27 Merge pull request #5870 from hashicorp/b-nmd-1529-alloc-stop-missing-header
api: return X-Nomad-Index header on allocation stop
2019-07-17 13:25:17 -04:00
Michael Schurter
bcfb39da83 Merge pull request #5791 from hashicorp/b-plan-snapshotindex
nomad: include snapshot index when submitting plans
2019-07-17 09:25:00 -07:00
Mahmood Ali
b352af92ca Merge pull request #5948 from hashicorp/b-stats-recover-plugin-shutdown
Collect driver stats when driver plugins are restarted
2019-07-17 12:14:56 +08:00
Mahmood Ali
15caf5cf8c Merge pull request #5837 from hashicorp/b-consul-restore-sync-2
Avoid de-registering slowly restored services
2019-07-17 12:02:24 +08:00
Mahmood Ali
66bef39dd5 log unrecoverable errors 2019-07-17 11:01:59 +07:00
Mahmood Ali
121c97475d address review feedback 2019-07-17 10:43:13 +07:00
Lang Martin
cacf79e6ac Merge pull request #5960 from shvar/master
take NodeID from url in api for node eligibility
2019-07-16 16:09:12 -04:00
Yishan Lin
457c3f8ce5 Add interoperability support line to Nomad Downloads documentation page.
Added line around interoperability to Downloads page.
2019-07-16 10:51:22 -07:00
Yishan Lin
143448614b Added line around interoperability to Nomad Downloads page. 2019-07-15 14:11:11 -07:00
Buck Doyle
596b5aaf7e UI: Add copy button for client/allocation UUIDs (#5926)
The button shows a success icon and tooltip on click, and resets
after two seconds.
2019-07-15 12:14:32 -05:00
Preetha
2d5aa6de68 Merge pull request #5938 from RenaudWasTaken/master
Updated the TensorRT demo to use the official NVIDIA image
2019-07-15 11:30:31 -05:00
Preetha
c59fde4b3e Merge pull request #5952 from cneira/jail-task-driver
Added Community task driver for FreeBSD jails
2019-07-15 11:12:25 -05:00
Eli Shvartsman
b2d40e7ef7 take NodeID from url in api for node eligibility 2019-07-15 18:34:53 +03:00
Mahmood Ali
6844736d4b sort changelog entries 2019-07-15 10:56:47 +08:00
Mahmood Ali
52ffcbe37d changelog GH-5954 2019-07-15 10:55:31 +08:00
Mahmood Ali
e129c41ab2 Merge pull request #5954 from hashicorp/b-fix-streaming-rpc-tls
rpc: use tls wrapped connection for streaming rpc
2019-07-13 07:29:48 +08:00
cneira
290ddea792 fixup 2019-07-12 17:08:23 -04:00
cneira
bcf3b8eefb Merge branch 'jail-task-driver' of https://github.com/cneira/nomad into jail-task-driver 2019-07-12 16:52:22 -04:00
cneira
8181d59c7b fixup 2019-07-12 16:52:19 -04:00
Mahmood Ali
0a58242d55 update changelog 2019-07-13 00:47:43 +08:00
Carlos Neira
4bdea17705 Update jail-task-driver.html.md 2019-07-12 11:45:56 -04:00