Commit Graph

330 Commits (38f0907c7a9f4851080bdec3bb182f1b9e5bed1e)

Author SHA1 Message Date
Siva Prasad ca35d04472
Adds a new command line flag -log-file for file based logging. (#4581)
6 years ago
Siva 5e04d7f1f1 Merge branch 'master' of github.com:hashicorp/consul into WinService
7 years ago
Paul Banks c6ef6a61c9 Refactor to use embedded struct.
7 years ago
Paul Banks 32f362bad9 StartupTelemetry => InitTelemetry
7 years ago
Paul Banks a7038454fd WIP
7 years ago
Siva 319a0ae2bf Graceful exits added
7 years ago
Kyle Havlovitz 03652a8519
command/agent: don't re-parse the flags on reload
7 years ago
Paul Banks 4de68fcb4b
Merge pull request #4016 from pierresouchay/support_for_prometheus
7 years ago
James Nugent 96f871862e Only call signal.Notify once during agent startup
7 years ago
Pierre Souchay 93a01b0949 Now use prometheus_retention_time > 0 to enable prometheus support
7 years ago
Pierre Souchay fd98fb1449 Added support exposing metrics in Prometheus format
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Frank Schroeder b97ab367f4
config: return error on extra command line arguments (#3397)
7 years ago
Frank Schroeder b3292d13fb commands: get HTTP API flags for usage automatically
7 years ago
Frank Schroeder 56b24d3d4f commands: cleanup help and synopsis.
7 years ago
Frank Schroeder 31d5fb7f47 commands: move agent command to separate pkg
7 years ago
Frank Schroeder 1c75cf1af5 pkg refactor
8 years ago
Frank Schroeder 902f4caff2 agent: move watch plans into agent
8 years ago
Frank Schroeder 4a223111d2
log: use prefix [ERR] instead of [ERROR]
8 years ago
Frank Schröder 825f72f5ef agent: support custom header and method for http checks (#3106)
8 years ago
James Phillips 240413f5d6 Merge pull request #3105 from hashicorp/test-stability
8 years ago
Frank Schroeder 51e0e158f1 agent: fix graceful http server shutdown
8 years ago
Frank Schroeder 34fd31b7b1 agent: move config reloading into the agent
8 years ago
Frank Schroeder aa1519c9f7 agent: move parseMetaPair to config and export
8 years ago
Frank Schroeder d977aa1fe7 agent: move retry join into agent
8 years ago
Frank Schroeder 55a513da2e agent: add GossipEncrypted function
8 years ago
James Phillips b0b5df579f
Cleans up an unrelated vet error.
8 years ago
Frank Schroeder 4034d0ac0b
agent: use agent logger for consul client and deps
8 years ago
Frank Schroeder a9451d596f
agent: set tcpKeepAliveListener when there is no error
8 years ago
Frank Schroeder d6c7404b34
agent: simplify shutdown timeout logging
8 years ago
Frank Schroeder 30ba712857
agent: set proto to http since we are logging it now
8 years ago
Frank Schroeder ec729693d7
Address review comments
8 years ago
Frank Schroeder b6c69ebf5d
agent: refactor DNS and HTTP server
8 years ago
Frank Schroeder 10540f8d5f
agent: fix logging
8 years ago
Frank Schroeder 1df74e36bd
agent: print more useful shutdown message
8 years ago
Frank Schroeder 0325a42089
test: fix data race with endpoints
8 years ago
Frank Schroeder e16589c079
agent: shutdown delegate if created
8 years ago
Frank Schroeder 3658d4d428
test: address pull request comments
8 years ago
Frank Schroeder 3865f14a25
agent: simplify agent creation
8 years ago
Frank Schroeder 82650f73e3
agent: move http/dns endpoints into agent
8 years ago
Kyle Havlovitz 62f72f104c Add settings for upshifting to encrypted gossip (#3079)
8 years ago
Frank Schroeder 8ad66f4bea
agent: support custom check id and name
8 years ago
Frank Schroeder ad40a855bd agent: move isAddrANY to separate package
8 years ago
Frank Schroeder e2c37b47ee agent: Replace client/server with delegate interface
8 years ago
Frank Schroeder 41f01a0cfc agent: allow "::" as IPv6 bind address
8 years ago
Frank Schroeder 914a83cae0 agent: use bind address as src unless INADDR_ANY
8 years ago
Frank Schroeder e6c6f8cedd agent: use helper for INADDR_ANY
8 years ago
Kyle Havlovitz 5bab68b9bb Add a path for transitioning to TLS on an existing cluster (#3001)
8 years ago
Frank Schroeder 8c2b261c61 Use bind address as source for outgoing connections (#2822)
8 years ago
Frank Schroeder fb83790cb9 Do not modify config after creation II
8 years ago
Frank Schroeder a235986a28 Do not modify config after creation
8 years ago
Frank Schroeder d34ba3e823 Cleanup agent config
8 years ago
Kyle Havlovitz cd56a5ebdd Add separate option for verifying incoming HTTPS traffic (#2974)
8 years ago
Kyle Havlovitz b70e419aeb Add TLS cipher suite options and CA path support (#2963)
8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else
8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants
8 years ago
James Phillips fa04c24978
Adds a new -disable-host-node-id option to help when testing with containers.
8 years ago
Alex Dadgar 7f6d95f1c9 Hash host ID so its stable and well distributed
8 years ago
James Phillips 8940d1c3fe
Keeps the service and check tokens around for deregistration.
8 years ago
Kyle Havlovitz 390f41d8d5
Add advanced autopilot features
8 years ago
James Phillips 26dddb428c
Forces user-supplied node IDs to lower case for consistency.
8 years ago
Kyle Havlovitz 2eefe3ca5b
Add autopilot server health tracking
8 years ago
Kyle Havlovitz ab6c49ab4c Merge pull request #2771 from hashicorp/f-autopilot
8 years ago
Kyle Havlovitz 92c8b9c3a0
Rename DeadServerCleanup and make wording adjustments
8 years ago
Kyle Havlovitz 9221aed856
Remove the RPC client interface and update docs
8 years ago
Kyle Havlovitz 81c7a0299e
Add state store table and endpoints for autopilot
8 years ago
Kyle Havlovitz b20fd222f6
Add raft version 2/3 compatibility
8 years ago
Kyle Havlovitz a533e255ab Merge pull request #2699 from hashicorp/f-tls-min-version
8 years ago
Kyle Havlovitz 07ba3ddb6e
Add TLSMinVersion to config options
8 years ago
Sean Chittenden fd2ae702c9
Re-cherry-pick 71d807f607 and e2320d69b6.
8 years ago
James Phillips 91f3555dd8 Revert "Adds gopsutil in the loop when trying to make the node ID."
8 years ago
James Phillips e2320d69b6
Gets rid of a goto.
8 years ago
James Phillips 71d807f607
Adds gopsutil into node ID process and attempts to use host ID, if availabile.
8 years ago
Kyle Havlovitz a55968f009
Merge branch 'master' into f-prepared-query-nodemeta
8 years ago
Kyle Havlovitz 3f3d7f9891
Add tests for node meta in prepared queries and update docs
8 years ago
James Phillips bd605e330c
Adds basic support for node IDs.
8 years ago
Kyle Havlovitz 7f91cd12f4
Add -node-meta to agent command line options
8 years ago
Kyle Havlovitz c9e430c396
Validate metadata config earlier and handle multiple filters
8 years ago
Kyle Havlovitz 03273e4ed2
Fix formatting
8 years ago
Kyle Havlovitz 84504a20fc
Add meta key validations and more tests
8 years ago
Kyle Havlovitz e44bcb9716
Add tests for node metadata functionality
8 years ago
Kyle Havlovitz 52d6fd831e
Add support for setting node metadata fields
8 years ago
James Phillips ca7a243b70
Adds ACL management support to the agent.
8 years ago
James Phillips bcf1ffad99
Adds complete ACL coverage for /v1/coordinate/nodes and Coordinate.Update RPC.
8 years ago
James Phillips 0139bbb963
Adds support for a new "acl_agent_token" which is used for internal
8 years ago
James Phillips 66b437ca33
Removes the exception for the "consul" service in the catalog.
8 years ago
Sean Chittenden 830125a8b3
Run all known addresses through go-sockaddr/template.
8 years ago
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516)
8 years ago
Seth Vargo 4179aacf11
Add an API method for determining the best status
8 years ago
Kyle Havlovitz 338e36cc5d Add logWriter to agent Create() method
8 years ago
Kyle Havlovitz 124f907063 Add monitor http endpoint
8 years ago
Kyle Havlovitz 92ce2c9e39 Use uuids in persist temp files to avoid race (#2494)
8 years ago
Kyle Havlovitz b1760b223e Improve logging when deregistering a nonexistent service (#2492)
8 years ago
Kyle Havlovitz 83d2f36b54 Merge pull request #2480 from hashicorp/b-atomic-writes
8 years ago
Kyle Havlovitz 7a3e0f8275
Add a note about not calling sync for persistCheckState
8 years ago
Kyle Havlovitz e30b289c6f
Call fsync() for saving check/service state
8 years ago
Kyle McCullough 73b281a27c Add setting to skip ssl certificate verification for HTTP checks (#1984)
8 years ago
James Phillips 233a3a101b Supports WAN and LAN Serf Bind Addresses. (#2468)
8 years ago
James Phillips c01a3871c9 Adds support for snapshots and restores. (#2396)
8 years ago
James Phillips 03ae813bc7 Merge pull request #2389 from hashicorp/jbs-2019
8 years ago