Commit Graph

62 Commits

Author SHA1 Message Date
Alex Dadgar
3c41715d95 Vault flags 2016-10-24 17:23:48 -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
Robert Neumayer
5b0c04d84b Fix typo
Telementry -> Telemetry
2016-09-11 09:46:05 +02:00
Alex Dadgar
e2c179821e Vault config flags 2016-09-01 15:41:07 -07:00
Mathias Lafeldt
107dbba69a Fix reload of retry_join server addresses on SIGHUP
The current code does not update the actual config, but only the local
reference to it.
2016-08-11 16:03:21 +02:00
matt maier
d92dd0dc5a Circonus integration for telemetry metrics 2016-07-22 12:33:10 -04:00
Diptanu Choudhury
b71ace9c2c Fixed parsing of consul agent service names 2016-06-22 13:52:43 -07:00
Sean Chittenden
7dc7fcf052 Create config.DefaultConsulConfig() 2016-06-16 20:41:05 -07:00
Diptanu Choudhury
f10df99e5d Removed the stats block from client configuration 2016-06-16 21:30:29 +01:00
Sean Chittenden
ffcd2332d4 Rebalance Nomad client RPCs among different Nomad servers.
Implement client/rpc_proxy.RpcProxy.
2016-06-10 15:50:11 -04:00
Sean Chittenden
af72200cf4 Distill config.Config.ConsulConfig down to config.Config.Consul
The enclosed struct provides the necessary context
2016-06-10 15:48:36 -04:00
Sean Chittenden
7db2eb03c4 Use consul/lib's RandomStagger
Removes four redundant copies of the method in the process.
2016-06-10 15:48:36 -04:00
Jeff Mitchell
4a389c53e7 Use upstream high-level SCADA provider 2016-06-01 18:25:09 -04:00
Diptanu Choudhury
bf6c034fec Making the stats collection interval and number of data points to keep in memory configurable 2016-05-28 19:59:20 -07:00
Diptanu Choudhury
a2237a6057 Implemented registering client and server services 2016-05-11 16:07:02 -07:00
Sean Chittenden
65d80a64e0 When checkpoint emits a log message indicating an agent is out of
date, include the current version along with the available version
according to checkpoint.

Inspired by: log output in hashicorp/consul#993
2016-05-04 23:56:37 -07:00
Dmitry Smirnov
2e755cd7e8 codespell: minor spelling corrections
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2016-03-16 05:28:31 +11:00
Alex Dadgar
44f5d75315 Remove documentation about assigning node-id 2016-03-04 10:36:30 -08:00
Alex Dadgar
207d544a55 client: standardize error logging format 2016-02-24 15:57:58 -08:00
Diptanu Choudhury
355b88bba9 Setting the output for default logger to nomad's logoutput 2016-02-11 16:05:31 -08:00
Ivo Verberk
ab9409184a Shorten CLI identifiers
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Alex Dadgar
051ead2b80 Enforce absolute paths for alloc/state/data directories 2015-12-22 11:14:41 -08:00
Alex Dadgar
6cf66ff231 Fix retry interval not applying sleep duration 2015-12-17 16:33:09 -08:00
Chris Bednarski
ae09df69b6 Check length 0 (no configs) instead of 1 (some configs) 2015-12-14 17:46:52 -08:00
Chris Bednarski
436d22314a Added message when no configuration files are loaded 2015-12-09 15:50:18 -08:00
Alex Dadgar
2e3fd73487 Merge pull request #527 from asteris-llc/master
Add cluster join command line options and configuration options
2015-12-09 13:14:00 -08:00
Chris Bednarski
dc23448c47 Merge pull request #536 from hashicorp/f-log-config-files
Log the list of config files loaded when starting the nomad agent
2015-12-09 12:18:46 -08:00
Chris Aubuchon
5336df683a Indicate which configuration option failed to parse properly 2015-12-09 13:07:36 -06:00
Chris Aubuchon
07563b9d0c Move retryJoin error channel to Command structure 2015-12-09 09:57:54 -06:00
Chris Bednarski
55f00adaa2 Rename ConfigFiles field to Files so there's less stutter when used as config.Files 2015-12-04 16:59:04 -08:00
Chris Bednarski
1a0999bb9a Log the list of config files loaded when starting the nomad agent 2015-12-04 16:52:17 -08:00
Chris Bednarski
93a461029e Warn the user when they specify a config file / folder that doesn't add any configuration options 2015-12-02 23:22:18 -08:00
Chris Aubuchon
0d0fe0a408 Add cluster join command line options and configuration options 2015-12-02 13:55:29 -06:00
Alex Dadgar
d8f3bd26e6 Merges 2015-10-02 17:32:11 -07:00
Alex Dadgar
e9254c5f2d Don't enfoce that the agent can't be run as both server and client 2015-10-01 17:27:36 -07:00
Alex Dadgar
15a854be7a Use the known size of meta to initialize the map 2015-10-01 17:21:32 -07:00
Alex Dadgar
6c9732c356 Move declerations to top and use SplitN to be more flexible for Meta values 2015-10-01 17:19:52 -07:00
Alex Dadgar
c84fd2b292 Add parsing of client configuration from the commandline 2015-10-01 16:46:42 -07:00
Armon Dadgar
9bcc5b444b agent: Do not override default log levels 2015-09-22 21:48:42 -07:00
Ryan Uber
fbbe4a4973 agent: remove explicit Bootstrap option in favor of BootstrapExpect 2015-09-22 14:41:49 -07:00
Ryan Uber
2db143cba0 command/agent: add bootstrap flags 2015-09-22 13:28:06 -07:00
Ryan Uber
67243d64e0 command: use an empty config instead of default config for cli options 2015-09-22 10:44:46 -07:00
Ryan Uber
5fd071a184 command/agent: fix help usage 2015-09-22 01:59:17 -07:00
Ryan Uber
5cf291e0d5 command/agent: more arguments 2015-09-21 21:37:55 -07:00