Chelsea Holland Komlo
a8655320fd
fix up go check warnings
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
0934769b04
add client side emitting of node events
...
Changelog
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
a8bcbd81e6
batch submitting node events
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
d30c269fbe
code review feedback
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
0f306aa0dd
move all structs to structs file
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
311cb857ac
add node id to tests; check for node events in state store
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
00d9923454
Ensure node updates don't strip node events
...
Add node events to CLI
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
ae7a2d6eb1
code review feedback
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
93b732f97e
move adding node registration event to the state store
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
e7e4a31f5d
fix up error logging
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
4ede27a3c8
RPC, FSM, state store for Node.EmitEvent
...
add node event when registering a node for the first time
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
9e10e26387
NodeEvents struct
2018-03-13 18:05:40 -07:00
Michael Lange
5dc9dbb0ea
Update tests to reflect new breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
5c1c0db1c3
Make task page breadcrumbs extend the allocation breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
53ee4d72a5
Make allocation pages extend the job breadcrumb trail
2018-03-13 16:36:26 -07:00
Michael Lange
d9287d1f40
Fix a bug where job links didn't always include the namespace QP
2018-03-13 16:34:01 -07:00
Michael Lange
0d9b94ab10
QueryParams primitive ported with a helper
...
This QueryParams object is defined in Ember source, but it isn't
public, which means there is no out of the box way to construct
the query params arg for LinkTo in JavaScript
2018-03-13 16:34:01 -07:00
Michael Lange
7768e14380
Correctly wire up job relationships
2018-03-13 16:34:01 -07:00
Preetha Appan
e08ecb7da2
Fix incorrect comment
2018-03-13 18:25:41 -05:00
Preetha Appan
914eaed64f
Address some code review comments
2018-03-13 18:19:16 -05:00
Preetha Appan
09c231ce43
Return the err from server correctly
2018-03-13 18:10:14 -05:00
Preetha Appan
be4c30112d
Code review comment
2018-03-13 17:52:33 -05:00
Preetha Appan
9618f52746
Remove error wrapping and make vault connection server side errors clearer.
2018-03-13 17:09:03 -05:00
Preetha
7bd9e6cbda
Slightly better wording on CHANGELOG
2018-03-13 15:13:37 -05:00
Preetha Appan
1723b6d359
Update CHANGELOG
2018-03-13 15:10:49 -05:00
Preetha
169167682b
Merge pull request #3972 from hashicorp/b-blocked-evals-namespace
...
Fix bug with not including namespace in indexing blocked evals
2018-03-13 15:07:10 -05:00
Preetha Appan
9a4fcaaf34
Fix bug with not including namespace in indexing blocked evals
2018-03-13 13:23:11 -05:00
Michael Schurter
d1bf509e70
docs: fix typo tls_cert_file -> cert_file
2018-03-13 10:42:14 -07:00
Michael Schurter
79df90acb0
Merge pull request #3958 from simplesurance/swappiness
...
fix: disable swap for executor_linux allocations
2018-03-13 10:10:22 -07:00
Michael Schurter
9b282e0c8c
Add #3958 to changelog
2018-03-13 10:08:28 -07:00
Fabian Holler
e6af051c93
fix: disable swap for executor_linux allocations
...
A comment in the nomad source code states that swapping for
executor_linux allocations is disabled but it wasn't.
Nomad wrote -1 to the memsw.limit_in_bytes cgroup file to disable
swapping.
This has the following problems:
1.) Writing -1 to the file does not disable swapping. It sets
the limit for memory and swap to unlimited.
2.) On common Linux distributions like Ubuntu 16.04 LTS the
memsw.limit_in_bytes cgroup file does not exist by default.
The memsw.limit_in_bytes file only exist if the Linux kernel is
build with CONFIG_MEMCG_SWAP=yes and either
CONFIG_MEMCG_SWAP_ENABLED=yes or when the kernel parameter
swapaccount=1 is passed during boot.
Most Linux distributions disable swap accounting by default because
of higher memory usage.
Nomad silently ignores if writing to the memsw.limit_in_bytes file
fails. The allocation succeeds, no message is logged to notify the
user.
To ensure that disabling swap works on common Linux kernels, disable
swapping by writing 0 to the memory.swappiness file.
Using the memory.swappiness file only requires that the kernel is
compiled with CONFIG_MEMCG=yes. This is the default in common Linux
kernels.
2018-03-13 10:52:50 +01:00
Alex Dadgar
93b0e42e6c
Fix merge change
2018-03-12 16:25:49 -07:00
Alex Dadgar
09e81c5d25
changelog
2018-03-12 14:47:23 -07:00
Alex Dadgar
4844317cc2
Merge pull request #3890 from hashicorp/b-heartbeat
...
Heartbeat improvements and handling failures during establishing leadership
2018-03-12 14:41:59 -07:00
Michael Schurter
285e5a9e0b
Merge pull request #3966 from hashicorp/b-existent
...
non-Existent -> nonexistent
2018-03-12 13:51:36 -07:00
Michael Schurter
7dd7fbcda2
non-Existent -> nonexistent
...
Reverting from #3963
https://www.merriam-webster.com/dictionary/existent
2018-03-12 11:59:33 -07:00
Michael Schurter
ec381ee705
Revert spelling corrections in generated code
2018-03-12 11:19:29 -07:00
Alex Dadgar
3d4e3343ae
Merge pull request #3963 from jsoref/spelling
...
Spelling
2018-03-12 11:13:17 -07:00
Preetha
ae9797b192
Merge pull request #3965 from hashicorp/fix_vendoring_ginkgo
...
Add missing deps needed for ginkgo
2018-03-12 10:51:12 -05:00
Preetha Appan
df0d3358bc
Add missing deps needed for ginkgo
2018-03-12 10:30:56 -05:00
Josh Soref
cf134ec34b
spelling: website
2018-03-11 19:17:53 +00:00
Josh Soref
18c5659474
spelling: version
2018-03-11 19:13:25 +00:00
Josh Soref
6222bd564e
spelling: verify
2018-03-11 19:13:32 +00:00
Josh Soref
920ccf96d2
spelling: variable
2018-03-11 19:13:11 +00:00
Josh Soref
46a4cafe65
spelling: usually
2018-03-11 19:12:06 +00:00
Josh Soref
0ced826ed3
spelling: usage
2018-03-11 19:11:59 +00:00
Josh Soref
001f664ab1
spelling: update
2018-03-11 17:44:04 +00:00
Josh Soref
e2167ef047
spelling: unmarshal
2018-03-11 19:07:44 +00:00
Josh Soref
0790a58fb7
spelling: unknown
2018-03-11 19:07:31 +00:00
Josh Soref
1359fd2c3d
spelling: unexpected
2018-03-11 19:08:07 +00:00