Alex Dadgar
c53becf596
Fix prefix output of agent metadata
2018-03-30 16:27:18 -07:00
Michael Schurter
7ff790bc7d
cli: differentiate normal output vs info
2018-03-30 11:42:11 -07:00
Chelsea Holland Komlo
074683c616
output warning for error in creating TLS checksum
2018-03-28 17:44:23 -04:00
Chelsea Holland Komlo
065133d716
check for nil, remove unnecessary set checksum call
2018-03-28 13:29:53 -04:00
Chelsea Holland Komlo
6e317fa6c6
set TLS checksum when parsing config
...
Refactor checksum comparison, always set checksum if it is empty
2018-03-28 09:56:11 -04:00
Chelsea Komlo
24a1f60e7b
Merge pull request #4025 from hashicorp/reload-http-tls
...
Allow TLS configurations for HTTP and RPC connections to be reloaded …
2018-03-26 18:00:30 -04:00
Alex Dadgar
1ac3798ae0
Allow separate enterprise config overlay
2018-03-22 13:53:08 -07:00
Chelsea Holland Komlo
8e83cf8d8a
Allow TLS configurations for HTTP and RPC connections to be reloaded separately
2018-03-21 17:51:08 -04:00
James Rasell
dda9207b06
Update Consul check params from using health-check to check.
2018-03-20 16:03:58 +01: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
Josh Soref
871370c8d2
spelling: submitted
2018-03-11 18:59:27 +00:00
Josh Soref
ef6a98388a
spelling: shutdown
2018-03-11 18:55:49 +00:00
Josh Soref
c24820e5ee
spelling: each other
2018-03-11 17:56:50 +00:00
Josh Soref
00e0ac85f0
spelling: authoritative
2018-03-11 17:42:05 +00:00
Josh Soref
ed82e98880
spelling: artifact
2018-03-11 17:41:02 +00:00
Mahmood Ali
abfae77545
Add tags option to datadog telemetry
...
Expose an global tags option in telemetry config for dogstatsd, for
purposes of distinguishing between multiple nomad cluster metrics.
2018-02-06 12:08:37 -05:00
Chelsea Holland Komlo
517030157e
swap raft layer tls wrapper
2018-01-19 17:00:15 -05:00
Chelsea Holland Komlo
0805c41196
fixing up raft reload tests
...
close second goroutine in raft-net
2018-01-17 10:29:15 -05:00
Chelsea Holland Komlo
bbc56860ac
adding additional test assertions; differentiate reloading agent and http server
2018-01-16 07:34:39 -05:00
Chelsea Holland Komlo
11089b23ce
reload raft transport layer
...
fix up linting
2018-01-08 14:52:28 -05:00
Chelsea Holland Komlo
c70702e802
call reload on agent, client, and server separately
2018-01-08 09:56:31 -05:00
Chelsea Holland Komlo
a4af400fd1
don't ignore error in http reloading
...
code review feedback
2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
359358d240
code review fixups
2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
d4754d541b
fixups from code review
...
Revert "close raft long-lived connections"
This reverts commit 3ffda28206fcb3d63ad117fd1d27ae6f832b6625.
reload raft connections on changing tls
2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
7b749579a2
add ability to upgrade/downgrade nomad agents tls configurations via sighup
2018-01-08 09:21:06 -05:00
Kyle Havlovitz
de90db139a
Added support for v2 raft APIs and -raft-protocol option
2017-12-12 10:17:16 -06:00
Alex Dadgar
f8807cee5d
Merge pull request #3555 from PagerDuty/fix-loop-on-sigpipe
...
Do not emit logs on SIGPIPE since logging service could be unavailable
2017-12-04 14:11:05 -08:00
Alex Dadgar
74ec709629
Emit hostname as a label
2017-12-04 10:42:31 -08:00
Max Timchenko
46493d8670
Do not emit logs on SIGPIPE since logging service could be unavailable
...
This should fix https://github.com/hashicorp/nomad/issues/3554
2017-11-15 18:01:41 +02:00
Chelsea Komlo
fa9fd4422c
Nomad agent reload TLS configuration on SIGHUP ( #3479 )
...
* Allow server TLS configuration to be reloaded via SIGHUP
* dynamic tls reloading for nomad agents
* code cleanup and refactoring
* ensure keyloader is initialized, add comments
* allow downgrading from TLS
* initalize keyloader if necessary
* integration test for tls reload
* fix up test to assert success on reloaded TLS configuration
* failure in loading a new TLS config should remain at current
Reload only the config if agent is already using TLS
* reload agent configuration before specific server/client
lock keyloader before loading/caching a new certificate
* introduce a get-or-set method for keyloader
* fixups from code review
* fix up linting errors
* fixups from code review
* add lock for config updates; improve copy of tls config
* GetCertificate only reloads certificates dynamically for the server
* config updates/copies should be on agent
* improve http integration test
* simplify agent reloading storing a local copy of config
* reuse the same keyloader when reloading
* Test that server and client get reloaded but keep keyloader
* Keyloader exposes GetClientCertificate as well for outgoing connections
* Fix spelling
* correct changelog style
2017-11-14 17:53:23 -08:00
Alex Dadgar
90272052ef
format
2017-11-10 12:47:59 -08:00
James Powis
6d3cc25097
[3503] adding consul-address flag to command.go
2017-11-04 18:05:20 -06:00
Alex Dadgar
53dbc4f127
remove atlas
2017-11-02 11:27:21 -07:00
Alex Dadgar
21c2ba33e5
403 instead of 500 for permission denied
2017-10-12 14:10:20 -07:00
Alex Dadgar
5d724d619d
ACL command options
2017-10-12 13:51:39 -07:00
James Rasell
f98f403401
Update agent CLI to include Consul config option flags.
...
This update introduces command line flags for all Consul options
thus allowing users to both use a config file and CLI options to
configure Consul.
Website documentation has also been updated.
Closes #3304
2017-10-05 14:26:26 +01:00
Chelsea Holland Komlo
6cba6549a5
fix bug to return prometheus sink
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
59a891cb27
enabling prometheus metrics should be a config option
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
815b23fe06
add endpoint for prometheus
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
4085560503
add http endpoint for in memory metrics
...
prevent against flaky test due to timing/initialization issues
2017-09-06 13:51:19 +00:00
Alex Dadgar
c26ecb7092
Add version package
...
This PR adds a version package and consolidates version strings into a
Version struct.
2017-08-16 15:44:21 -07:00
Alex Dadgar
25ada7bbab
Don't print atlas
2017-07-19 20:25:06 -07:00
Alex Dadgar
8a371e0bd4
Fix predictor
2017-07-19 11:51:01 -07:00
Alex Dadgar
3127ce320c
Agent command autocompletes to hcl/json files
2017-07-19 11:28:16 -07:00
Adam Stankiewicz
4d465091dd
Remove unnecessary parameter from NewHTTPServer
2017-04-10 16:24:49 +02:00
Alex Dadgar
6ac999a5e5
Flush logs on err
2017-03-14 14:48:39 -07:00
Sean Chittenden
6fc901a8f3
Change the default display name from the Circonus Instance ID to
...
`Nomad`.
The display name is already scoped to target/host.
2017-02-24 14:59:11 -08:00
Alex Dadgar
258ed556ba
Vault Client on Server handles SIGHUP
...
This PR allows the Vault client on the server to handle a SIGHUP. This
allows updating the Vault token and any other configuration without
downtime.
2017-02-01 14:24:10 -08:00
Alex Dadgar
9b11f269e3
Add command line flag for create-from-role
2017-01-27 14:11:34 -08:00
Jorge Marey
a39cebb744
Add option to set nodename instead of hostname on telemetry values
2016-12-21 09:53:29 +01:00