Commit Graph

282 Commits (82e741f36fb1e968400b2420fba7b12c936d1323)

Author SHA1 Message Date
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
Brian Shumate 74a8fbef06
Lower Service tag DNS warning to DEBUG for #2019
8 years ago
Adam Wolfe Gordon 5ac5a8ccfc agent: Stop reaping child processes (resolves #1988)
8 years ago
James Phillips 57db4bcce6
Adds performance tuning capability for Raft, detuned defaults, and supplemental docs.
8 years ago
James Phillips 4c7a0ed3b0
Merge branch 'master' into f-deregister-critical
8 years ago
James Phillips ba60afd5d8
Cleans up based on code review feedback.
8 years ago
James Phillips fbdd021ab9
Adds an "lan" tagged address so we have a way to get them all.
8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout.
8 years ago
James Phillips d336bdd7b0
Adds basic ACL replication plumbing.
8 years ago
Cameron Davison d138752249
atomic write service state and checks files, fixes #1221
8 years ago
Sean Chittenden 112f3fd468
Give log reviewers a hint as to which check is failing
9 years ago
Sean Chittenden 63adcbd5ef
Revert "Move `structs.CheckID` to a new top-level package, `types`."
9 years ago
Sean Chittenden cbb945e76a
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden f5ab25163e
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden ddbe64a8c8
Float a type balloon. Some strings are square pegs in round holes.
9 years ago
James Phillips 7bf684ece1 Fixes some bad error returns in the persist service and check paths.
9 years ago
James Phillips ceac68c5eb Merge pull request #1762 from mshean/script-timeout
9 years ago
Matt Shean fe4107019e add Timeout field to CheckMonitor
9 years ago
James Phillips eedeba682b Makes reap time configurable for LAN and WAN.
9 years ago
Wim b5d45322b4 Allow [::] as a bind address (binds to first public IPv6 address)
9 years ago
James Phillips c60a526fde Sets up config for more address tags down the road, renames struct members.
9 years ago
Evan Gilman 8fa2a60208 Rectify value of `AdvertiseAddrWan` when set elsewhere
9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package
9 years ago
James Phillips 343838f12b Adds support for the reap lock.
9 years ago
Ryan Uber afafae53fd consul: dev mode works
9 years ago
James Phillips 95c708f65e Adds Docker checks support to client API.
9 years ago
James Phillips 5e7523ea4b Adds a slightly more flexible mock system so we can test DNS.
9 years ago
James Phillips c0bd639662 Makes the version upshift code look at the correct version field.
9 years ago
Diptanu Choudhury 471442e9a4 Making an explicit check to test whether a check is of type Monitor
9 years ago
Diptanu Choudhury 423f7fbcac Not adding the docker check if we couldn't create the client
9 years ago
Diptanu Choudhury 5f8f531d2a Defaulting to Monitor check
9 years ago
Diptanu Choudhury 71ede8addb Implemented Docker health checks
9 years ago
James Phillips 660da92152 Makes the default protocol 2 and lets 3 interoperate with 2.
9 years ago
James Phillips ad65d953f6 Scales coordinate sends to hit a fixed aggregate rate across the cluster.
9 years ago
James Phillips 66a3d29743 Simplifies the batching function and adds some comments.
9 years ago
James Phillips 5f754c4a87 Does some small cleanups based on PR feedback.
9 years ago
James Phillips d12aa2ffab Moves batching down into the state store and changes it to fail-fast.
9 years ago
James Phillips b9d5fb0f90 Flips the sense of the coordinate enable option.
9 years ago
James Phillips 86b112fe31 Does a clean up pass on the Consul side.
9 years ago
Derek Chiang f144d17b1c Address comments
9 years ago
Derek Chiang ab9262c656 Add a test case
9 years ago
Derek Chiang bf5cb7522f Use IndexedCoordinate instead
9 years ago
Derek Chiang a1854a7614 Some fixes
9 years ago
Derek Chiang 98d87b5dd5 Complete logic for sending coordinates
9 years ago
Derek Chiang 9113b26286 Some fixes
9 years ago
Derek Chiang a9ea503c69 Adding tests and stuff
9 years ago
James Phillips 4ee43e90b7 Deletes the old state store and all its accoutrements.
9 years ago
Dale Wijnand 5a28ebcaa3 Fix a bunch of typos.
9 years ago
Ryan Uber 125d7fd4ee agent: thread tokens through for maintenance mode
9 years ago