Commit Graph

451 Commits

Author SHA1 Message Date
Alex Dadgar
3a4bb56cf7 Skip SIGPIPE 2016-10-10 15:12:56 -07:00
Michael Schurter
0f46069211 Merge pull request #1767 from hashicorp/f-docker-volumes-logging
Support Docker Volumes and Logging
2016-10-07 12:10:59 -07:00
Michael Schurter
fe1e3c792f Put docker volume support behind conf flag
Also add tests and fix bug with logging driver configuration.
2016-10-03 15:02:50 -07:00
Alex Dadgar
bcb1a2e216 Do not allow path to escape the alloc dir for the FS commands 2016-10-03 14:58:44 -07:00
Michael Schurter
95af8374f0 Merge pull request #1735 from hashicorp/b-bootstrap-flapping
Retry all servers on RPC call failure
2016-09-27 16:33:15 -07:00
Michael Schurter
6b9be92dea Fix agent server set test
Test asserted endpoint appendend servers, but the new/desired behavior
is for the endpoint to set/overwrite servers.
2016-09-26 11:57:06 -07:00
Michael Schurter
64ac9b9359 Retry all servers on RPC call failure
rpcproxy is refactored into serverlist which prioritizes good servers
over servers in a remote DC or who have had a failure.

Registration, heartbeating, and alloc status updating will retry faster
when new servers are discovered.

Consul discovery will be retried more quickly when no servers are
available (eg on startup or an outage).
2016-09-23 11:44:48 -07:00
Diptanu Choudhury
dd3af85114 Adding a snapshot endpoint on the client (#1730) 2016-09-21 21:28:12 -07:00
Robert Neumayer
5b0c04d84b Fix typo
Telementry -> Telemetry
2016-09-11 09:46:05 +02:00
Diptanu Choudhury
df102f921c Removing warn msg 2016-09-04 17:22:49 -07:00
Alex Dadgar
e2c179821e Vault config flags 2016-09-01 15:41:07 -07:00
Michael Schurter
5f04e2a398 Merge pull request #1668 from hashicorp/b-fix-consul-updates
Fix old services not getting removed from consul on update
2016-08-31 17:17:09 -07:00
Michael Schurter
ff21ded331 Query consul without helpers in test to be safe 2016-08-31 14:14:17 -07:00
Diptanu Choudhury
2176115957 Merge pull request #1670 from hashicorp/b-telemetry-config
Merging telemetry configs
2016-08-31 11:47:50 -07:00
Diptanu Choudhury
5e1fdd9784 Added a test 2016-08-31 11:46:51 -07:00
Diptanu Choudhury
3c39195771 Merging telemetry configs 2016-08-31 11:24:01 -07:00
Michael Schurter
8c9f5b7858 Make comment more precise 2016-08-31 10:43:55 -07:00
Michael Schurter
75e18f2419 Fix error message when querying consul fails 2016-08-31 10:42:51 -07:00
Michael Schurter
bcbe49ee2f Assert syncer state is consistent with consul's state 2016-08-31 09:19:54 -07:00
Michael Schurter
1d8d6b57dc Remove extra consul service tracking entirely
Instead just remove all associated services on shutdown.
2016-08-30 17:10:15 -07:00
Michael Schurter
a63b2ccfdc Fix old services not getting removed from consul on update
Fixes #1661
2016-08-30 16:36:42 -07:00
Alex Dadgar
859f4c5d5e Increase the timeout to be greater than the RPC hold threshold 2016-08-26 11:13:20 -07:00
Diptanu Choudhury
4a3eee92ff Merge pull request #1645 from capone212/failing_cehcks_fix
issue #1636:  start CheckRunner if check exists in consul already
2016-08-24 16:27:05 -05:00
capone
7f53d0258e Fixed CR defects 2016-08-24 01:33:44 +03:00
Alex Dadgar
1c45799c49 Merge pull request #1580 from hashicorp/f-disk-usage-monitoring
Monitor and enforce shared allocation directory disk usage
2016-08-23 09:49:53 -07:00
capone
1a37bc33c6 First attemt to fix issue #1636 2016-08-23 19:09:20 +03:00
Alex Dadgar
b082bdd52f test fixes 2016-08-18 10:30:47 -07:00
Ivo Verberk
13071e9846 Disk resource monitoring and enforcement 2016-08-18 07:59:03 +02:00
Alex Dadgar
2eed545daa Address field name feedback 2016-08-17 16:23:29 -07:00
Alex Dadgar
4efecc01ea Pass Vault config to client 2016-08-17 16:23:29 -07:00
Alex Dadgar
7a3e69fe96 Add enabled field 2016-08-17 16:23:29 -07:00
Alex Dadgar
be93647df0 Add Vault config to server 2016-08-17 16:23:29 -07:00
Alex Dadgar
2c1fd77dfd Change token/role names 2016-08-17 16:23:29 -07:00
Alex Dadgar
f7f86941a3 change config variable names to match vault 2016-08-17 16:23:29 -07:00
Alex Dadgar
9ab0de1877 Parse Vault Config 2016-08-17 16:23:29 -07:00
Diptanu Choudhury
11a77c0ede Merge pull request #1601 from hashicorp/b-fix-node-alloc-test
get a free port from the kernel
2016-08-16 17:09:03 -07:00
Diptanu Choudhury
20a0398752 Fixed a test 2016-08-16 16:36:15 -07:00
Diptanu Choudhury
bc3aab72fc get a free port from the kernel 2016-08-16 16:05:37 -07:00
Diptanu Choudhury
53ab5d52d8 Cleaning up some code 2016-08-16 15:22:26 -07:00
Marin
fbb9108ed5 Add support for initial check status 2016-08-16 12:05:15 -07:00
Alex Dadgar
47f10d1baf Merge pull request #1584 from novilabs/stream-framer-order
duplicate check for deep equals of frame order
2016-08-15 10:30:42 -07:00
Cameron Davison
53c244b855 use last job eval if multiple exist, when looking for registration 2016-08-13 22:37:35 -05:00
Cameron Davison
ebb026f47e duplicate check for deep equals of frame order 2016-08-13 22:26:53 -05:00
Diptanu Choudhury
0d35216164 Merge pull request #1562 from dbresson/support-query-strings-in-checks
support query strings in checks
2016-08-12 13:06:02 -07:00
Alex Dadgar
32172ec06a Merge pull request #1571 from hashicorp/t-logs-tests
Fixing logs tests on travis
2016-08-11 19:24:46 -07:00
Alex Dadgar
014d8fe0e8 lock heartbeat 2016-08-11 18:37:08 -07:00
Alex Dadgar
2de52849db up timeouts 2016-08-11 18:30:46 -07:00
Alex Dadgar
091d0e3eeb Add travis multiplier 2016-08-11 18:16:10 -07:00
David Bresson
e41b70ca7d Add a test for query string support 2016-08-11 12:22:46 -07:00
David Bresson
7a78bf4836 Add error handling to check registration 2016-08-11 11:49:48 -07:00