Commit Graph

479 Commits

Author SHA1 Message Date
Alex Dadgar
0e47a66391 Add to valid configs fields 2016-10-27 11:29:12 -07:00
Alex Dadgar
a3676fc097 Small cleanups 2016-10-27 10:51:11 -07:00
Evan Gilman
ba55b1a0fe Never return 0.0.0.0 as a non-bind address 2016-10-27 10:51:11 -07:00
Evan Gilman
bcd0a55be9 Add more address selector tests 2016-10-27 10:51:11 -07:00
Evan Gilman
39155e952f Remove old address advertise config code 2016-10-27 10:51:11 -07:00
Evan Gilman
5a1b8db597 Add address selector methods to the agent 2016-10-27 10:51:11 -07:00
Evan Gilman
801352e0bc Use bind address for consul healtchecks in nomad client too 2016-10-27 10:47:45 -07:00
Evan Gilman
3e2b2fdb86 Use bind address for consul service checks 2016-10-27 10:47:45 -07:00
Diptanu Choudhury
6db8a06f38 Making the nomad agent checks tcp 2016-10-26 16:30:29 -07:00
Diptanu Choudhury
b2bbd63d87 Fixed a bunch of TLS related failures 2016-10-26 14:08:46 -07:00
Diptanu Choudhury
48c31de849 Added datadog_address to valid keys 2016-10-26 13:28:28 -07:00
Diptanu Choudhury
722433b4f9 Making the cli use TLS if the client has enabled TLS 2016-10-26 11:13:53 -07:00
Diptanu Choudhury
70ec22fadf Merge pull request #1853 from hashicorp/f-rpc-http-tls
TLS support for http and RPC
2016-10-25 16:14:43 -07:00
Diptanu Choudhury
f416ac7419 Moved tlsutil into helpers 2016-10-25 16:05:37 -07:00
Diptanu Choudhury
ecfb24d521 Moving the TLSConfig to structs 2016-10-25 15:57:38 -07:00
Diptanu Choudhury
0e6e5b3e7b Enabling TLS on cli 2016-10-25 10:39:17 -07:00
Alex Dadgar
3c41715d95 Vault flags 2016-10-24 17:23:48 -07:00
Diptanu Choudhury
e115f83ded Updated the spec definition for tls config 2016-10-24 15:36:26 -07:00
Diptanu Choudhury
15b2cc5d8c Changed the way TLS config is parsed 2016-10-24 13:56:19 -07:00
Alex Dadgar
a877e320c0 Merge pull request #1842 from hashicorp/f-version-and-id
Print the version and client node ID
2016-10-24 10:13:33 -07:00
Diptanu Choudhury
11c1583467 Implemented TLS support for http and rpc 2016-10-23 22:22:00 -07:00
Michael Schurter
4d3187bc7e Remove disk usage enforcement
Many thanks to @iverberk for the original PR (#1609), but we ended up
not wanting to ship this implementation with 0.5.

We'll come back to it after 0.5 and hopefully find a way to leverage
filesystem accounting and quotas, so we can skip the expensive polling.
2016-10-21 13:55:51 -07:00
Alex Dadgar
902c3973db Print the version and client node ID 2016-10-20 17:46:04 -07:00
Alex Dadgar
746eeb121a Merge pull request #1816 from jippi/add-datadog-telemetry
Add datadog telemetry
2016-10-18 09:53:37 -07:00
Diptanu Choudhury
f0806dceff Enable serf encryption (#1791)
* Added the keygen command

* Added support for gossip encryption

* Changed the URL for keyring management

* Fixed the cli

* Added some tests

* Added tests for keyring operations

* Added a test for removal of keys

* Added some docs

* Fixed some docs

* Added general options
2016-10-17 10:48:04 -07:00
Christian Winther
43a11000b0 initial work on datadog telemetry 2016-10-15 10:49:33 +02:00
Alex Dadgar
8ac55269a3 Merge pull request #1803 from hashicorp/b-vault-parse
Fix Vault Config parsing of booleans
2016-10-11 13:47:46 -07:00
Alex Dadgar
9ff2bf0bff Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
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