Lang Martin
d1932f1e11
Merge pull request #5991 from hashicorp/b-cgroup-error-non-fatal
...
executor_universal_linux raw_exec cgroup failure is not fatal
2019-07-22 16:52:34 -04:00
Michael Schurter
d90680021e
logmon: fix comment formattinglogmon: fix comment formattinglogmon: fix
...
comment formattinglogmon: fix comment formattinglogmon: fix comment
formatting
2019-07-22 13:05:01 -07:00
Michael Schurter
e37bc3513c
logmon: ensure errors are still handled properly
...
...and add a comment to switch back to the old error handling once we
switch to Go 1.12.
2019-07-22 12:49:48 -07:00
Lang Martin
a1d496c05c
executor_universal_linux raw_exec cgroup failure is not fatal
2019-07-22 15:16:36 -04:00
Preetha
35f4bd4279
Merge pull request #5985 from hashicorp/b-enterprise-docs-guides-links
...
Fix links to namespace and quotas guides
2019-07-22 13:54:25 -05:00
Danielle Lancashire
1bcbbbfbe6
logmon: Workaround golang/go#29119
...
There's a bug in go1.11 that causes some io operations on windows to
return incorrect errors for some cases when Stat-ing files. To avoid
upgrading to go1.12 in a point release, here we loosen up the cases
where we will attempt to create fifos, and add some logging of
underlying stat errors to help with debugging.
2019-07-22 18:28:12 +02:00
Mahmood Ali
dd6f55f33f
Merge pull request #5989 from hashicorp/d-fix-bashism-text
...
Clarify script checks requiring shell
2019-07-22 19:41:07 +08:00
Mahmood Ali
305b61631e
Clarify script checks requiring shell
...
Closes https://github.com/hashicorp/nomad/issues/5981
2019-07-22 18:34:59 +08:00
Danielle
4a09bc237a
Merge pull request #5987 from hashicorp/dani/format-samples
...
chore: Format hcl configurations
2019-07-20 18:21:43 +02:00
Danielle Lancashire
d454dab39b
chore: Format hcl configurations
2019-07-20 16:55:07 +02:00
Lang Martin
85b1906d28
Merge pull request #5983 from tariq87/patch-1
...
Update index.html.md
2019-07-19 14:43:14 -04:00
Buck Doyle
1eaf8b0568
Fix links to namespace and quotas guides
2019-07-19 12:45:28 -05:00
Jasmine Dahilig
a3bb40ba8c
update changelog
2019-07-19 10:14:19 -07:00
Jasmine Dahilig
2157f6ddf1
add formatting for hcl parsing error messages ( #5972 )
2019-07-19 10:04:39 -07:00
Lang Martin
d24f56290b
Merge pull request #5953 from hashicorp/b-job-update-auto_revert-merge
...
jobs update stanza merging cleanup
2019-07-19 11:57:13 -04:00
Michael Schurter
a9f82cdbd3
changelog: add #5791 and #5975
2019-07-19 08:26:07 -07:00
Michael Schurter
19ee8cf0bb
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
2410d200f5
CHANGELOG client cpu usage
2019-07-19 11:09:17 -04:00
Lang Martin
75213af57c
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
c48e3bcdb8
CHANGELOG core system jobs blocked
2019-07-19 10:51:36 -04:00
tariq87
98c8103a05
Update index.html.md
2019-07-19 09:21:20 +05:30
Mahmood Ali
790e18b973
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
db4de5fae9
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
ee64b00141
Merge pull request #5900 from hashicorp/f-system-sched-blocked-evals
...
System scheduler blocked evals
2019-07-18 16:13:15 -04:00
Lang Martin
a6817359d8
jobs_test AutoRevert and AutoPromote merged differently
2019-07-18 13:37:50 -04:00
Lang Martin
e3b34c35a8
jobs update stanza canonicalize and default AutoPromote
2019-07-18 13:36:40 -04:00
Lang Martin
698e9d4940
tasks_test assert merging behavior around Canonicalize
2019-07-18 13:36:06 -04:00
Michael Schurter
6d095b3b36
consul: add test for check watcher deadlock
2019-07-18 08:24:09 -07:00
Mahmood Ali
acbb75635b
changelog GH-5837 and GH-5948
2019-07-18 22:24:07 +07:00
Lang Martin
a0fe1ffdd5
default e.getAllPids in executor_basic
2019-07-18 10:57:27 -04:00
Lang Martin
f282da4ced
blocked_evals_test disable calls Flush
2019-07-18 10:32:13 -04:00
Lang Martin
8f7a20839e
worker comment system -> core
2019-07-18 10:32:13 -04:00
Lang Martin
83d20169f6
blocked_evals reset system evals on Flush
2019-07-18 10:32:13 -04:00
Lang Martin
6e3425babf
blocked_evals_test Test_UnblockNode
2019-07-18 10:32:12 -04:00
Lang Martin
ea275d5ce7
fsm attach UnblockNode on node updates
2019-07-18 10:32:12 -04:00
Lang Martin
8157a7b6f8
system_sched submits failed evals as blocked
2019-07-18 10:32:12 -04:00
Lang Martin
3bf618f217
blocked_evals system evals indexed by job and node
2019-07-18 10:32:12 -04:00
Michael Schurter
826d2503e6
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
a3fcb8fcca
e2e: debug log level for everyone!
2019-07-18 06:55:27 -07:00
Mahmood Ali
cd6f1d3102
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
5407584bc3
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
ea68c930fe
e2e: enable_debug=true for all agents
...
Enables the pprof http endpoint for debugging.
2019-07-17 15:20:45 -07:00
Lang Martin
9d0c0c459d
executor_unix and _windows stub getAllPids ByScanning
2019-07-17 17:34:06 -04:00
Lang Martin
e071f6b022
executor_universal_linux getAllPids chooses cgroup when available
2019-07-17 17:33:55 -04:00
Lang Martin
e1bab541ad
executor use e.getAllPids()
2019-07-17 17:33:11 -04:00
Lang Martin
18597c4917
resource_container_linux new getAllPidsByCgroup
2019-07-17 17:31:36 -04:00
Lang Martin
2e981a812e
pid_collector getAllPids -> getAllPidsByScanning
2019-07-17 17:31:20 -04:00
Buck Doyle
90c9b89b5e
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
8a75afcb39
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
81b4b6f19b
Merge pull request #5791 from hashicorp/b-plan-snapshotindex
...
nomad: include snapshot index when submitting plans
2019-07-17 09:25:00 -07:00