Chelsea Komlo
9cb3a02b0f
Merge pull request #3945 from hashicorp/f-add-node-events
...
Add node events
2018-03-14 08:42:55 -04:00
Preetha Appan
48ae5eb5e4
Update CHANGELOG.md
2018-03-13 20:55:43 -05:00
Preetha
c4389cd61a
Merge pull request #3968 from hashicorp/f-nicer-vault-error
...
Make server side error messages from vault more clearer
2018-03-13 20:49:39 -05:00
Preetha Appan
034db7a3f0
Fix lint warning
2018-03-13 20:49:01 -05:00
Alex Dadgar
8ba5ba33de
small cleanup
2018-03-13 18:08:22 -07:00
Alex Dadgar
eceabb66f8
nodeevents -> events
2018-03-13 18:08:22 -07:00
Alex Dadgar
57ddd511cc
fixes
2018-03-13 18:08:22 -07:00
Chelsea Holland Komlo
319f80907c
code review feedback
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
3a1043def9
make check fixes
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
6eb9911caf
code review feedback
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
3f561c3870
keep state store functions in one file
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
9ef6ad031a
fix up go check warnings
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
a72dcbfcdd
add client side emitting of node events
...
Changelog
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
55670c80b0
batch submitting node events
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
705ff980ad
code review feedback
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
cbbb60af61
move all structs to structs file
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
56f5e66d25
add node id to tests; check for node events in state store
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
fc819754a4
Ensure node updates don't strip node events
...
Add node events to CLI
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
551e96feff
code review feedback
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
de6199ac45
move adding node registration event to the state store
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
55e0c7d06d
fix up error logging
2018-03-13 18:05:40 -07:00
Chelsea Holland Komlo
f051d43a5f
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
365d47c5f2
NodeEvents struct
2018-03-13 18:05:40 -07:00
Michael Lange
7ac2b8ebd6
Update tests to reflect new breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
c8693ba525
Make task page breadcrumbs extend the allocation breadcrumbs
2018-03-13 16:36:26 -07:00
Michael Lange
79ecf47936
Make allocation pages extend the job breadcrumb trail
2018-03-13 16:36:26 -07:00
Michael Lange
efeb5abbcb
Fix a bug where job links didn't always include the namespace QP
2018-03-13 16:34:01 -07:00
Michael Lange
54b1101989
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
6efca8400b
Correctly wire up job relationships
2018-03-13 16:34:01 -07:00
Preetha Appan
a6ec63d35f
Fix incorrect comment
2018-03-13 18:25:41 -05:00
Preetha Appan
d83ad728db
Address some code review comments
2018-03-13 18:19:16 -05:00
Preetha Appan
f4a4685d84
Return the err from server correctly
2018-03-13 18:10:14 -05:00
Preetha Appan
25b338b2a8
Code review comment
2018-03-13 17:52:33 -05:00
Preetha Appan
71e4061e0e
Remove error wrapping and make vault connection server side errors clearer.
2018-03-13 17:09:03 -05:00
Preetha
47f0f7c34c
Slightly better wording on CHANGELOG
2018-03-13 15:13:37 -05:00
Preetha Appan
3ae2cfc4e2
Update CHANGELOG
2018-03-13 15:10:49 -05:00
Preetha
6251e728b9
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
918c34ddfd
Fix bug with not including namespace in indexing blocked evals
2018-03-13 13:23:11 -05:00
Michael Schurter
75209f0746
docs: fix typo tls_cert_file -> cert_file
2018-03-13 10:42:14 -07:00
Michael Schurter
a90ce65def
Merge pull request #3958 from simplesurance/swappiness
...
fix: disable swap for executor_linux allocations
2018-03-13 10:10:22 -07:00
Michael Schurter
6c9dc4854b
Add #3958 to changelog
2018-03-13 10:08:28 -07:00
Fabian Holler
fbc461b904
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
89845b3b51
Fix merge change
2018-03-12 16:25:49 -07:00
Alex Dadgar
748f8a4351
changelog
2018-03-12 14:47:23 -07:00
Alex Dadgar
42e9fe1b57
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
bc014b9407
Merge pull request #3966 from hashicorp/b-existent
...
non-Existent -> nonexistent
2018-03-12 13:51:36 -07:00
Michael Schurter
8da7335c16
non-Existent -> nonexistent
...
Reverting from #3963
https://www.merriam-webster.com/dictionary/existent
2018-03-12 11:59:33 -07:00
Michael Schurter
9f57f3bb66
Revert spelling corrections in generated code
2018-03-12 11:19:29 -07:00
Alex Dadgar
812881a11b
Merge pull request #3963 from jsoref/spelling
...
Spelling
2018-03-12 11:13:17 -07:00
Preetha
fcf32264ab
Merge pull request #3965 from hashicorp/fix_vendoring_ginkgo
...
Add missing deps needed for ginkgo
2018-03-12 10:51:12 -05:00