Commit Graph

1019 Commits

Author SHA1 Message Date
Michael Schurter
09511dbf7d Merge pull request #4003 from jrasell/f_gh_3988
Allow Nomads Consul health check names to be configurable.
2018-03-20 16:44:08 -07:00
James Rasell
dda9207b06 Update Consul check params from using health-check to check. 2018-03-20 16:03:58 +01:00
Michael Schurter
82fb214f93 Fix generating static assets
Broke due to a change in go-bindata-assetfs
2018-03-19 15:52:38 -07:00
James Rasell
2439310951 Allow Nomads Consul health checks to be configurable.
This change allows the client HTTP and the server HTTP, Serf and
RPC health check names within Consul to be configurable with the
defaults as previous. The configuration can be done via either a
config file or using CLI flags.

Closes #3988
2018-03-19 19:37:56 +01:00
Preetha
c57fe9e35b Merge pull request #4002 from hashicorp/b-reschedule-systemjob-panic
Fix incorrect initialization of reschedule policy for system jobs.
2018-03-19 13:06:55 -05:00
Preetha Appan
e5b86d405e Fix incorrect initialization of reschedule policy for system jobs. 2018-03-19 12:16:13 -05:00
Alex Dadgar
02132ed6ab Merge pull request #3997 from hashicorp/b-serf-addr
RPC Advertise used exclusively for Clients
2018-03-19 09:30:20 -07:00
Alex Dadgar
7ba99a604d enable server in test 2018-03-16 16:52:37 -07:00
Alex Dadgar
b49462b5ff Heartbeat uses client rpc advertise and server defaults server rpc advertise addr 2018-03-16 16:47:08 -07:00
Alex Dadgar
5976511b05 Separate client and server rpc advertise addresses 2018-03-16 16:47:08 -07:00
Michael Schurter
5aff4dddfd Remove unnecessary conversions 2018-03-16 16:32:59 -07:00
Michael Schurter
16538f6474 gofmt -s (simplify) files 2018-03-16 16:31:16 -07:00
Michael Schurter
b20421de3b Merge pull request #3984 from hashicorp/f-loosen-consul-skipverify
Replace Consul TLSSkipVerify handling
2018-03-16 11:21:28 -07:00
Michael Schurter
9f50ab334c Replace Consul TLSSkipVerify handling
Instead of checking Consul's version on startup to see if it supports
TLSSkipVerify, assume that it does and only log in the job service
handler if we discover Consul does not support TLSSkipVerify.

The old code would break TLSSkipVerify support if Nomad started before
Consul (such as on system boot) as TLSSkipVerify would default to false
if Consul wasn't running. Since TLSSkipVerify has been supported since
Consul 0.7.2, it's safe to relax our handling.
2018-03-14 17:43:06 -07:00
Alex Dadgar
66f85b20f0 Merge pull request #3978 from hashicorp/b-core-sched
Always add core scheduler
2018-03-14 16:13:15 -07:00
Preetha Appan
74bd789c29 Fix formatting 2018-03-14 16:10:32 -05:00
Preetha Appan
d4056c4489 Rename DelayCeiling to MaxDelay 2018-03-14 16:10:32 -05:00
Preetha Appan
e65d870fe9 Add new reschedule options to API layer and unit tests 2018-03-14 16:10:32 -05:00
Alex Dadgar
61476d09a5 Always add core scheduler and detect invalid schedulers 2018-03-14 10:53:27 -07:00
Alex Dadgar
eceabb66f8 nodeevents -> events 2018-03-13 18:08:22 -07:00
Chelsea Holland Komlo
6eb9911caf code review feedback 2018-03-13 18:08:21 -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
Michael Schurter
9f57f3bb66 Revert spelling corrections in generated code 2018-03-12 11:19:29 -07:00
Josh Soref
2bf249b9be spelling: unexpected 2018-03-11 19:08:07 +00:00
Josh Soref
aa4bcb2cc9 spelling: supports 2018-03-11 19:00:11 +00:00
Josh Soref
871370c8d2 spelling: submitted 2018-03-11 18:59:27 +00:00
Josh Soref
8fc465cdf0 spelling: significantly 2018-03-11 18:56:45 +00:00
Josh Soref
ef6a98388a spelling: shutdown 2018-03-11 18:55:49 +00:00
Josh Soref
6c2928513d spelling: services 2018-03-11 18:53:58 +00:00
Josh Soref
41084f6d70 spelling: registrations 2018-03-11 18:40:53 +00:00
Josh Soref
e7fc3bd16b spelling: propagated 2018-03-11 18:39:26 +00:00
Josh Soref
d171cda670 spelling: preemptively 2018-03-11 17:58:48 +00:00
Josh Soref
d081a54042 spelling: output 2018-03-11 18:35:30 +00:00
Josh Soref
84277e6d6a spelling: otherwise 2018-03-11 18:34:27 +00:00
Josh Soref
6af9b42ecf spelling: largely 2018-03-11 18:21:52 +00:00
Josh Soref
127dd82fc8 spelling: expected 2018-03-11 17:57:01 +00:00
Josh Soref
7eb19bf42c spelling: encountered 2018-03-11 17:58:59 +00:00
Josh Soref
c24820e5ee spelling: each other 2018-03-11 17:56:50 +00:00
Josh Soref
5f980c23b4 spelling: current 2018-03-11 17:52:32 +00:00
Josh Soref
e61207ee2b spelling: convenience 2018-03-11 17:50:48 +00:00
Josh Soref
eed08cf10e spelling: cleanup 2018-03-11 17:47:09 +00:00
Josh Soref
a7bb6cb4d6 spelling: canonical 2018-03-11 17:46:01 +00:00
Josh Soref
91b593ae0d spelling: bootstrap 2018-03-11 17:43:19 +00:00
Josh Soref
00e0ac85f0 spelling: authoritative 2018-03-11 17:42:05 +00:00
Josh Soref
15305a29b3 spelling: asynchronously 2018-03-11 17:41:50 +00:00
Josh Soref
ed82e98880 spelling: artifact 2018-03-11 17:41:02 +00:00
Josh Soref
2430a069c5 spelling: arbitrary 2018-03-11 17:40:03 +00:00
Alex Dadgar
6a96b824f3 Merge pull request #3892 from hashicorp/f-tunnel
Client RPC Endpoints, Server Routing and Streaming RPCs
2018-02-20 16:35:42 -08:00
Alex Dadgar
4abacc52cd Show HTTP request method 2018-02-16 15:55:26 -08:00
Alex Dadgar
4f2725bb98 Enhance API pkg to utilize Server's Client Tunnel
This PR enhances the API package by having client only RPCs route
through the server when they are low cost and for filesystem access to
first attempt a direct connection to the node and then falling back to
a server routed request.
2018-02-15 13:59:03 -08:00