Commit Graph

1338 Commits (a44b9e84b167ffb0d8aab92f38c2e980ce38f374)

Author SHA1 Message Date
Frank Schroeder 8f381d62f6
agent: drop logOutput parameter
8 years ago
Frank Schroeder c47db2c922
agent: drop config argument
8 years ago
Kyle Havlovitz 62f72f104c Add settings for upshifting to encrypted gossip (#3079)
8 years ago
James Phillips 385c9522b3 Removes obsolete agent API documentation.
8 years ago
Frank Schroeder 91c5c9a2d0
doc: update comments and run goimports
8 years ago
Michael Leow deb206b7d7
agent: add RetryJoin support for Azure
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 65b5c51ec7 test: add helper for ioutil.TempDir/TempFile
8 years ago
Frank Schroeder 98f6e3b7c5 test: suppress osx firewall warning
8 years ago
Frank Schroeder 3522a41bad test: include test name in temp file/dir
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 6eba69fbfe agent: drop atlas/scada code
8 years ago
Frank Schroeder 5328609d59 test: refactor TestAgent_Leave_ACLDeny to use only one server
8 years ago
Frank Schroeder a60f508880 test: use isPermissionDenied
8 years ago
Frank Schroeder 66bc2cbabc test: replace blocks and comments with sub-tests
8 years ago
Frank Schroeder d711b9bba0 test: inline request body encoding
8 years ago
Frank Schroeder 82cb9c50ad test: add helper for permission denied check
8 years ago
Frank Schroeder 1e89692cc1 test: drop error check on http.NewRequest
8 years ago
Frank Schroeder 6fa76fd90f
agent: Disallow :: or [::] as advertise or advertise-wan address
8 years ago
Frank Schroeder 8ad52ee9b5
agent: Disallow :: and [::] as service address
8 years ago
Frank Schroeder e365ef12cf
agent: Disallow 0.0.0.0 as advertise or advertise-wan address
8 years ago
Frank Schroeder 73a31b9bfe
agent: Disallow 0.0.0.0 as service address
8 years ago
James Phillips 33a7b8e401
Tweaks some tests that were having a hard time in Travis CI and
8 years ago
James Phillips efff41a8b2
Updates built-in static assets for web UI.
8 years ago
Frank Schroeder 2794db5aac
test: Fix badly formatted retry.Run tests
8 years ago
James Phillips ddfa57765c
retry: Removes the description parameter.
8 years ago
James Phillips 2de1cd5a4a
test: Turns off ACLs for catalog and health WAN translation tests.
8 years ago
James Phillips 888fa5cad6
test: Moves a variable closer to where it's used.
8 years ago
James Phillips 0daacfe5e5
test: Turns down server health interval for faster convergence.
8 years ago
Frank Schroeder 21a82a0a16
test: Refactor WaitForResult tests with retry
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 a226edd4a9 Move GCE discovery code to command/agent/config_gce.go
8 years ago
Frank Schroeder 7f73f14260 Move AWS discovery code to command/agent/config_aws.go
8 years ago
Frank Schroeder 78fc19c48c Move verifyUniqueListeners to command/agent/config.go
8 years ago
Frank Schroeder d34ba3e823 Cleanup agent config
8 years ago
James Phillips 6382f95898
Updates static assets to pick up #2712.
8 years ago
Kyle Havlovitz cd56a5ebdd Add separate option for verifying incoming HTTPS traffic (#2974)
8 years ago
Frank Schroeder 84d6ac2d51 api: Return empty list instead of nil
8 years ago
Frank Schroeder 9685bdcd0b api: Add ServiceTags to Health state endpoint (#153)
8 years ago
Frank Schroeder 7075695627 Faster dev server startup
8 years ago
Frank Schroeder 48fa2962eb Revert "test: Run command/agent tests in parallel"
8 years ago
Frank Schroeder 0cb4295182 test: Do not run RetryJoin tests in parallel
8 years ago
Frank Schroeder 7281b4291a test: Speedup session renew tests
8 years ago
Frank Schroeder 37c180a920 test: Speedup Retry*Join tests
8 years ago
Frank Schroeder 17be40a733 test: Run command/agent tests in parallel
8 years ago
Kyle Havlovitz b70e419aeb Add TLS cipher suite options and CA path support (#2963)
8 years ago
James Phillips 59c4128deb
Updates compiled static assets.
8 years ago
Frank Schroeder 3403cd4372 golint: Fix existing comments
8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else
8 years ago
Frank Schroeder d7e23857ad golint: No stutter
8 years ago
Frank Schroeder cf3ec1cf5c golint: Rename fields and structs
8 years ago
Frank Schroeder 5a3961f31f golint: Replace a += 1 with a++
8 years ago
Frank Schroeder 6688a510e1 golint: Consistent receiver name
8 years ago
Frank Schroeder 8bb7792799 golint: Drop the unused value from range
8 years ago
Frank Schroeder eddb1af603 Remove duplicate constants
8 years ago
Frank Schroeder ee5b06a231 Use fmt.Fprint/Fprintf/Fprintln
8 years ago
mckennajones a489f2b734
Added check to see if ui and ui-dir flags are both specified
8 years ago
James Phillips fb089e2bbb Merge pull request #2842 from vaLski/supress_sigpipe_logging
8 years ago
James Phillips 4de270326e
Updates static assets to pick up #2899.
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 86870ae51d Merge pull request #2854 from hashicorp/remote-exec
8 years ago
Kyle Havlovitz da9c825592
Add CLI/API endpoints for removing peer by ID
8 years ago
James Phillips 7e2dcb61bf
Changes `disable_remote_exec` default to true so remote exec is opt-in.
8 years ago
James Phillips 11ee9a9e72
Disables agent-level enforcement on Consul agents unless acl_datacenter is set.
8 years ago
vaLentin chernoZemski 1e5163d241 Supress signal logging on SIGPIPE. Should address #2768
8 years ago
James Phillips 59a599a14b
Cleans up a stray mark and fixes unit tests.
8 years ago
James Phillips 7ce7d157da
Fixes up some broken unit tests.
8 years ago
James Phillips 8940d1c3fe
Keeps the service and check tokens around for deregistration.
8 years ago
James Phillips 4d3f3ea8d2
Changes verson 8 ACLs to opt-out.
8 years ago
Seth Vargo 0170a28ec9
Use new APIs
8 years ago
Seth Vargo 4622ac634b
Re-add RPC parsing
8 years ago
James Phillips 00a5fc2947
Renames some operator unit tests.
8 years ago
Kyle Havlovitz 390f41d8d5
Add advanced autopilot features
8 years ago
James Phillips 3b3cb0d07b Merge pull request #2801 from hashicorp/spoken-hub-oss
8 years ago
James Phillips 2696dd52b8
Updates to latest built-in static assets.
8 years ago
James Phillips 1091c7314e
Removes remoteConsuls in favor of the new router.
8 years ago
Kyle Havlovitz 09e2663d10 Merge pull request #2802 from hashicorp/f-autopilot-improvements
8 years ago
Kyle Havlovitz 5353221666
Reorganized cluster health check loop and logic
8 years ago
Kyle Havlovitz 51b11cd344
Fix an issue with changing server IDs and add a few UX enhancements around autopilot features
8 years ago
James Phillips 26dddb428c
Forces user-supplied node IDs to lower case for consistency.
8 years ago
Kyle Havlovitz 9b4497de09
Cleaned up and reorganized some autopilot-related code
8 years ago
Kyle Havlovitz c3d638e2c5
Move RaftStats to Status endpoint
8 years ago
Kyle Havlovitz fb259e3d04
Merge branch 'master' into f-autopilot-2
8 years ago
Kyle Havlovitz 2eefe3ca5b
Add autopilot server health tracking
8 years ago
Sean Chittenden a791de3ecf Revert "Change `ClientAddr` to default to `BindAddr` when not present."
8 years ago
Sean Chittenden beae5c6bba
Change `ClientAddr` to default to `BindAddr` when not present.
8 years ago
James Phillips 3103f7f673 Merge pull request #2690 from zeroae/f-simple-rfc2782
8 years ago
Kyle Havlovitz ab6c49ab4c Merge pull request #2771 from hashicorp/f-autopilot
8 years ago
Kyle Havlovitz 5f125324db Merge pull request #2774 from hashicorp/f-cli-deprecation-docs
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
Sean Chittenden cbbbf5ee39
Follow the lead in 6fc901a8f3 and set the default `DisplayName` to `Consul`
8 years ago
Kyle Havlovitz 211995bc3c
Convert agent command to use base.Command
8 years ago
Kyle Havlovitz c2e7f45002
Add CAS capability to autopilot config endpoint
8 years ago
Kyle Havlovitz 81c7a0299e
Add state store table and endpoints for autopilot
8 years ago
Kyle Havlovitz 950a9d2212
Move raft_protocol out of autopilot config
8 years ago
Kyle Havlovitz b20fd222f6
Add raft version 2/3 compatibility
8 years ago
Jeff Mitchell 73035f9ef8 Update TestHTTPServer_UnixSocket with DialContext
8 years ago
Kyle Havlovitz c9abafab92
Update docs and give better error for unknown client scheme
8 years ago
Kyle Havlovitz 9e23dabbfa
Allow internal watches to use https and unix sockets
8 years ago
Kyle Havlovitz abdf1fbab3
Convert keyring command to use base.Command
8 years ago
Kyle Havlovitz 5d888f5303
Added -relay-factor param to keyring operations
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 e9cc66ab51
Fixes issue with missing CNAME for services with non-IP addresses set in SRV responses.
8 years ago
Patrick Sodré c135c08fb2 Simple RFC 2782 support with optional .service tag
8 years ago
James Phillips f0f52bd5f6
Redacts AWS join credientials from /v1/agent/self output.
8 years ago
James Phillips eaa8fde298
Updates a comment to point to new blockingQuery function.
8 years ago
James Phillips 4c1a156417
Pulls in latest static asset updates.
8 years ago
Kyle Havlovitz bbfd25b530
Fix test import
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 6ca0173907
Adds catalog support for node IDs.
8 years ago
James Phillips e719ff8ef1
Adds a test to make sure we get the same ID on the second run.
8 years ago
James Phillips bd605e330c
Adds basic support for node IDs.
8 years ago
James Phillips 8d57727ff0 Merge pull request #2639 from tanuck/master
8 years ago
James Phillips 25fb498b20 Merge pull request #2578 from ybubnov/concurrent-safe-notification-mock
8 years ago
Kyle Havlovitz 5acd69b4fc
Add node metadata filtering to remaining health/catalog endpoints
8 years ago
Kyle Havlovitz fb68a6bab0
Style tweaks and vendor.json cleanup
8 years ago
Kyle Havlovitz 5ddea8a5df
Merge branch 'master' into f-gce-discovery
8 years ago
Kyle Havlovitz dbc72eaac0
Condense gce discovery logging a bit
8 years ago
Kyle Havlovitz 23ce10f889 Merge pull request #2643 from hashicorp/f-node-metadata
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
Andrew Glen-Young 01de3b3cb9 Pedantic typo fix
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 Tancock 5151c64f54 Standardize the case of all check log messages
8 years ago
Kyle Havlovitz 8494b06ce0
Don't error if the given data-dir doesn't exist
8 years ago
James Phillips d6dc6a1fcc
Adds exception for data-dir check in -dev mode.
8 years ago
James Phillips 2f9c05a75b
Updates web assets to match latest.
8 years ago
James Phillips a67d308175 Merge pull request #2594 from hashicorp/acl-complete
8 years ago
James Phillips ededf330ba
Adds complete ACL support for listing events.
8 years ago
James Phillips babb0a1235
Adds remaining unit tests for agent ACL vet and filter functions.
8 years ago
James Phillips 171ec6e487
Fixes a race in the monitor endpoint test that would cause panics.
8 years ago
Kyle Havlovitz cb96aa8eb3 Merge pull request #2529 from mckennajones/bug/1838
8 years ago
Kyle Havlovitz daa5ba87d4 Handle error from stat on data-dir and shorten error message
8 years ago
James Phillips 4ffd824547
Adds a leader wait when testing with ACLs.
8 years ago
James Phillips 03f40116f4
Adds complete ACL coverage for non-utility agent endpoints.
8 years ago