Commit graph

4457 commits

Author SHA1 Message Date
Sean Chittenden fd18eb7fdb
Only register the Client services reaper when consul.auto_advertise is enabled 2016-06-16 18:24:58 -07:00
Sean Chittenden 71e3518cf8 Merge pull request #1306 from hashicorp/b-remove-client-rpc
Remove client registration of RPC services, only servers have an RPC …
2016-06-16 18:15:56 -07:00
Sean Chittenden e58c2a2ed4
Remove client registration of RPC services, only servers have an RPC interface 2016-06-16 18:14:59 -07:00
Sean Chittenden 9c703f2119 Merge pull request #1305 from hashicorp/f-autoreg-checks
F autoreg checks
2016-06-16 17:41:25 -07:00
Sean Chittenden 2a2b35d1bc
Use /v1/agent/servers (vs /v1/agent/self). 2016-06-16 17:40:47 -07:00
Sean Chittenden 26cc057751
Automatically register service checks for HTTP, RPC, and Serf. 2016-06-16 17:34:25 -07:00
Sean Chittenden 25eb3c7e22
Whitespace police 2016-06-16 17:34:09 -07:00
Alex Dadgar 8240e4b3a7 Merge pull request #1304 from hashicorp/d-plan-cli
plan cli docs
2016-06-16 17:24:24 -07:00
Alex Dadgar 2b26259f27 plan cli docs 2016-06-16 17:23:49 -07:00
Alex Dadgar 85548f46af Merge pull request #1299 from hashicorp/d-node-status
Update node-status docs
2016-06-16 17:21:37 -07:00
Sean Chittenden 1ce2cc6141
conf -> config 2016-06-16 17:05:29 -07:00
Sean Chittenden fc590137d4 Merge pull request #1301 from hashicorp/b-update-hashicorp-raft
Update various `vendor/`ed libs with known good fixes.
2016-06-16 16:46:45 -07:00
Sean Chittenden 1f6211d14e Merge pull request #1303 from hashicorp/b-client_tests
Fix tests for NewServer() in client mode.
2016-06-16 16:35:48 -07:00
Sean Chittenden 015248a67f
Fix tests for NewServer() in client mode.
Pointy-hat: sean-

I'm positive I've done this before.
2016-06-16 16:34:22 -07:00
Sean Chittenden f07cd17590 Merge pull request #1302 from hashicorp/b-typos
Misc typos
2016-06-16 16:20:15 -07:00
Sean Chittenden a658299235
Misc typos 2016-06-16 16:17:17 -07:00
Sean Chittenden 986e76ef80
Noop update for hashicorp/yamux 2016-06-16 16:02:41 -07:00
Sean Chittenden 09ef2694f7
Update github.com/hasicorp/go-memdb 2016-06-16 15:58:50 -07:00
Sean Chittenden edd8cffc3b
Update github.com/hashicorp/serf 2016-06-16 15:57:57 -07:00
Sean Chittenden f46380ab7b
Update github.com/hashicorp/memberlist 2016-06-16 15:55:35 -07:00
Sean Chittenden 5760037a38
Update github.com/hashicorp/go-immutable-radix 2016-06-16 15:55:02 -07:00
Sean Chittenden 8eda8787f2
Noop upgrade for armon/go-radix 2016-06-16 15:54:23 -07:00
Sean Chittenden 96ab442a92
Remove hashicorp/raft/bench 2016-06-16 15:52:35 -07:00
Sean Chittenden fceb494de1
No updates for hashicorp/raft-boltdb 2016-06-16 14:54:15 -07:00
Sean Chittenden 4c30cb915e
Update hashicorp/raft 2016-06-16 14:53:03 -07:00
Alex Dadgar fc8254d157 Update node-status docs 2016-06-16 14:50:41 -07:00
Sean Chittenden 0420c29f3b Merge pull request #1298 from hashicorp/b-auto-join
Only auto-join clients if `client_auto_join` is true
2016-06-16 14:48:27 -07:00
Sean Chittenden 952b6ce7b5
Only auto-join clients if client_auto_join is true 2016-06-16 14:47:21 -07:00
Sean Chittenden b04838f0e2 Merge pull request #1297 from hashicorp/b-golint
A few linter fixes
2016-06-16 14:44:51 -07:00
Sean Chittenden ec77a1869e
Test for errors 2016-06-16 14:43:46 -07:00
Sean Chittenden 31313b68cf
Don't assign to an atomic w/o using atomic setter func 2016-06-16 14:43:46 -07:00
Sean Chittenden 8986b65fd7
Changelog++: server autojoin 2016-06-16 14:43:17 -07:00
Sean Chittenden af55b74114 Merge pull request #1276 from hashicorp/f-consul-server-autojoin
Teach Nomad servers how to fall back to Consul.
2016-06-16 14:40:45 -07:00
Sean Chittenden 7c24487850
Fix up various error handling 2016-06-16 14:40:09 -07:00
Alex Dadgar a919fe45e1 Merge pull request #1296 from hashicorp/d-status-cli
Update status docs
2016-06-16 14:31:11 -07:00
Sean Chittenden 71cd9984ae
Immediately query Consul upon initialization if we have no peers.
Also don't attempt to join the Server with itself.
2016-06-16 14:27:10 -07:00
Diptanu Choudhury 7e2f625949 Merge pull request #1295 from hashicorp/remove-stats-config
Removed the stats block from client configuration
2016-06-16 23:07:19 +02:00
Alex Dadgar 31b1267445 Update status docs 2016-06-16 14:00:45 -07:00
Diptanu Choudhury ed67f1a347 Merge pull request #1285 from hashicorp/fix-selinux-options
Added a client options for setting selinux options
2016-06-16 22:45:24 +02:00
Diptanu Choudhury 266c417ac8 Changed the client options for docker volume selinux labels 2016-06-16 21:41:02 +01:00
Diptanu Choudhury 14747848f7 Removed the stats block from client configuration 2016-06-16 21:30:29 +01:00
Alex Dadgar 0de6735c22 Merge branch 'master' of github.com:hashicorp/nomad 2016-06-16 13:12:42 -07:00
Alex Dadgar 62c23428e0 changelog 2016-06-16 13:12:34 -07:00
Alex Dadgar 202ec0e3a4 Merge pull request #1294 from hashicorp/b-task-runner-panic
Guard against restoring a nil task in task_runner
2016-06-16 13:11:13 -07:00
Sean Chittenden 65319252b9
Rework server_auto_join to use a timer instead of the peer count.
It is perfectly viable for an admin to downsize a Nomad Server cluster
down to 1, 2, or `num % 2 == 0` (however ill-advised such activities
may be).  And instead of using `bootstrap_expect`, use a timeout-based
strategy.  If the `bootstrapFn` hasn't observed a leader in 15s it will
fall back to Consul and will poll every ~60s until it sees a leader.
2016-06-16 12:14:03 -07:00
Sean Chittenden b0fecbefc1
Define BootstrapExepct as an int32 so it can be manipulated atomically. 2016-06-16 12:00:15 -07:00
Alex Dadgar fe588a2469 Guard against restoring a nil task in task_runner 2016-06-16 11:55:40 -07:00
Alex Dadgar 66ac4ffe94 Merge pull request #1293 from hashicorp/d-port-map-docks
Correct the dynamic port specification in Docker docs
2016-06-16 11:28:41 -07:00
Alex Dadgar 8765c25ce2 correct the dynamic port specification 2016-06-16 11:27:42 -07:00
Sean Chittenden 008d75184b
Use the %+q verb in log messages (vs %q). 2016-06-16 11:03:51 -07:00