Commit Graph

1593 Commits (9f58504f1c4e0dce5e43c72da6ae6dafa09f2849)

Author SHA1 Message Date
hashicorp-ci 4d185baf55 Merge Consul OSS branch 'master' at commit 88b15d84f9
6 years ago
Matt Keeler 813e009a2d
Prepare for having different service kinds that are all generic… (#6013)
6 years ago
Matt Keeler 43c5ba0304
New Cache Types (#5995)
6 years ago
Matt Keeler 19e70c46bf
Ensure that looking for services by addreses works with Tagged Addresses (#5984)
6 years ago
Matt Keeler 6cc1451895
Update some tests to fix ContentHash broken by the tagged service addresses (#5996)
6 years ago
Hans Hasselberg f13fe4b304
agent: transfer leadership when establishLeadership fails (#5247)
6 years ago
Aestek b839f52195 kv: do not trigger watches when setting the same value (#5885)
6 years ago
Aestek 24a0f2bba2 ae: use stale requests when performing full sync (#5873)
6 years ago
Matt Keeler f3d9b999ee
Add tagged addresses for services (#5965)
6 years ago
Matt Keeler 2557d7a6cc
Fix CAS operations on Services (#5971)
6 years ago
Paul Banks acfcc7daf4
Add rate limiting to RPCs sent within a server instance too (#5927)
6 years ago
Paul Banks ffcfdf29fc
Upgrade xDS (go-control-plane) API to support Envoy 1.10. (#5872)
6 years ago
Pierre Souchay 4a4c63bda0 Ensure Consul is IPv6 compliant (#5468)
6 years ago
Matt Keeler 2ba6c3ac00
Update links to envoy docs on xDS protocol (#5871)
6 years ago
R.B. Boyer 40336fd353
agent: fix several data races and bugs related to node-local alias checks (#5876)
6 years ago
Freddy 6b31482333
Increase reliability of TestResetSessionTimerLocked_Renew
6 years ago
Pierre Souchay e892981418 agent: Improve startup message to avoid confusing users when no error occurs (#5896)
6 years ago
Freddy 17e74985b0
Run TestServer_Expect on its own (#5890)
6 years ago
Freddy 6c19cacd42
Flaky test: ACLReplication_Tokens (#5891)
6 years ago
Freddy d4ea163b0b
Add retries to StatsFetcherTest (#5892)
6 years ago
Jack Pearkes 40cec98468
Release v1.5.1
6 years ago
freddygv 40b809bce3 Wait for s2 global-management policy
6 years ago
Freddy e9259ca97a
Change log line used for verification
6 years ago
Freddy d1c315fad9
Stop running TestLeader_ChangeServerID in parallel
6 years ago
Sarah Christoff 32b5992d0f Add retries around `obj`
6 years ago
Sarah Christoff 73d73e0e20 Add retries to all `obj`
6 years ago
Sarah Christoff 2a018e5e0a
Update agent/coordinate_endpoint_test.go
6 years ago
Sarah Christoff b96d9b01bd Update type assertion logic
6 years ago
Kyle Havlovitz 31bb9d67df
Set the dead node reclaim timer at 30s
6 years ago
Kyle Havlovitz 29eb83c9c2
Merge branch 'master' into change-node-id
6 years ago
Jack Pearkes 34eff659dc
Release v1.5.0
6 years ago
Matt Keeler dbc48ea3f7 Fixes race condition in Agent Cache (#5796)
6 years ago
Matt Keeler dbf0a0f6c0
Copy the proxy config instead of direct assignment (#5786)
6 years ago
R.B. Boyer 20eefeea11
acl: a role binding rule for a role that does not exist should be ignored (#5778)
6 years ago
R.B. Boyer b4371bcccd
acl: enforce that you cannot persist tokens and roles with missing links except during replication (#5779)
6 years ago
Matt Keeler 42d32db817
Fix ConfigEntryResponse binary marshaller and ensure we watch the chan in ConfigEntry.Get even when no entry exists. (#5773)
6 years ago
Paul Banks 6a58527cd8
Fix previous accidental master push 🤦 (#5771)
6 years ago
Paul Banks 6c81f9da0d
Fix panic in Resolving service config when proxy-defaults isn't defined yet (#5769)
6 years ago
Paul Banks 8f5b16ebaf
Fix uint8 conversion issues for service config response maps.
6 years ago
Paul Banks 0cfb6051ea Add integration test for central config; fix central config WIP (#5752)
6 years ago
Matt Keeler 69f902608c
Update to use a consulent build tag instead of just ent (#5759)
6 years ago
Matt Keeler 3145bf5230 Centralized Config CLI (#5731)
6 years ago
Matt Keeler f665695b6b
Ensure ServiceName is populated correctly for agent service checks
6 years ago
Matt Keeler d0f410cd84
Make a few config entry endpoints return 404s and allow for snake_case and lowercase key names. (#5748)
6 years ago
Freddy 44e3dd79ff
go fmt runtime_test.go
6 years ago
Freddy d19eb36085
Restrict config file extensions read
6 years ago
Matt Keeler 4daa1585b0
ACL Token ID Initialization (#5307)
6 years ago
Paul Banks a12810664f
Modify ConfigEntry bootstrapping syntax more generic (#5744)
6 years ago
Kyle Havlovitz aba54cec55 Add HTTP endpoints for config entry management (#5718)
6 years ago
Paul Banks 421ecd32fc
Connect: allow configuring Envoy for L7 Observability (#5558)
6 years ago
R.B. Boyer c6722fc43d
Merge pull request #5617 from hashicorp/f-acl-ux
6 years ago
Aestek 21a776e202 Fix: fail messages after a node rename replace the new node definition (#5520)
6 years ago
R.B. Boyer e47d7eeddb acl: adding support for kubernetes auth provider login (#5600)
6 years ago
R.B. Boyer cc1aa3f973 acl: adding Roles to Tokens (#5514)
6 years ago
R.B. Boyer 7928305279 making ACLToken.ExpirationTime a *time.Time value instead of time.Time (#5663)
6 years ago
R.B. Boyer db43fc3a20 acl: ACL Tokens can now be assigned an optional set of service identities (#5390)
6 years ago
R.B. Boyer 2144bd7fbd acl: tokens can be created with an optional expiration time (#5353)
6 years ago
Matt Keeler 15e80e4e76
Implement bootstrapping proxy defaults from the config file (#5714)
6 years ago
Matt Keeler 5befe0f5d5
Implement config entry replication (#5706)
6 years ago
Matt Keeler 222afeae4c
Move the watch package into the api module (#5664)
6 years ago
Alvin Huang 8ceca2ace3
Add fmt and vet (#5671)
6 years ago
Kyle Havlovitz d8f8400fe1
Merge pull request #5700 from hashicorp/service-reg-manager
6 years ago
Kyle Havlovitz 43bfc20dc8 Test an index=0 value in cache.Notify
6 years ago
Freddy f2213f60e0
Update alias checks on local add and remove
6 years ago
Aestek f669bb7b0f Add support for DNS config hot-reload (#4875)
6 years ago
Kyle Havlovitz cba47aa0ca Fix a race in the ready logic
6 years ago
Kyle Havlovitz c269369760 Make central service config opt-in and rework the initial registration
6 years ago
Kyle Havlovitz b58572afbd Fix a race in the service updates
6 years ago
Kyle Havlovitz 88e1d8ce03 Fill out the service manager functionality and fix tests
6 years ago
Kyle Havlovitz 7c25869e67 Add the service registration manager to the agent
6 years ago
Kyle Havlovitz b186c3020c
Merge pull request #5615 from hashicorp/config-entry-rpc
6 years ago
Kyle Havlovitz fed7595d45 Rename config entry ACL methods
6 years ago
R.B. Boyer 6269d1f130
tests: actually have TestSessionTTLRenew sleep during execution (#5669)
6 years ago
kaitlincarter-hc 7dcc727b4d
[docs] Server Performance (#5627)
6 years ago
Freddy eebc788959
Filter non-passing nodes without modifying cache
6 years ago
Matt Keeler afa1cc98d1
Implement data filtering of some endpoints (#5579)
6 years ago
Freddy b2c12550d7
Remove old UI, option to use it, and its build processes
6 years ago
Kyle Havlovitz 690e9dd2c0 Move the ACL logic into the ConfigEntry interface
6 years ago
Kyle Havlovitz f2ed482680 Add RPC endpoints for config entry operations
6 years ago
Alvin Huang f45e495e38
Merge pull request #5376 from hashicorp/fix-tests
6 years ago
Kyle Havlovitz 5f569fb2ac
Merge pull request #5539 from hashicorp/service-config
6 years ago
Kyle Havlovitz a2fa9a0019 Cleaned up some error handling/comments around config entries
6 years ago
Kyle Havlovitz c2da314eeb
Merge pull request #5553 from hashicorp/txn-check-serialization
6 years ago
Hans Hasselberg ac45b17482
fix remaining CI failures after Go 1.12.1 Upgrade (#5576)
6 years ago
Kyle Havlovitz d16be2e269 Encode config entry FSM messages in a generic type
6 years ago
Kyle Havlovitz f6df5c9b3b Clean up service config state store methods
6 years ago
R.B. Boyer 0d1b496a52
acl: memdb filter of tokens-by-policy was inverted (#5575)
6 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568)
6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517)
6 years ago
Kyle Havlovitz 716a20d8a6
Re-add logic to handle the undocumented duration fields
6 years ago
Kyle Havlovitz 3f5e20452e http: use the correct check duration fields when converting txn ops
6 years ago
Paul Banks 89fa5ec3ba
Connect: Fix Envoy getting stuck during load (#5499)
6 years ago
Kyle Havlovitz e199c37ee4
Add some basic normalize/validation logic for config entries
6 years ago
Paul Banks d2e68a900a
Connect: Make Connect health queries unblock correctly (#5508)
6 years ago
Kyle Havlovitz d92577c16b Fix fsm serialization and add snapshot/restore
6 years ago
Hans Hasselberg ea5210a30e
Release v1.4.4
6 years ago
Kyle Havlovitz 17aa6a5a34 Fill out state store/FSM functions and add tests
6 years ago
R.B. Boyer 02b2cb1d15 agent: ensure the TLS hostname verification knows about the currently configured domain (#5513)
6 years ago
Kyle Havlovitz 9d07add047 Add config types and state store table
6 years ago
Kyle Havlovitz aa4e26d102 Condense some test logic and add a comment about renaming
6 years ago
Hans Hasselberg e7134a0dab
agent: only use TestAgent when appropriate (#5502)
6 years ago
Paul Banks 0b5a078b95
Optimize health watching to single chan/goroutine. (#5449)
6 years ago
Pierre Souchay 88d4383410 Ensure we remove Connect proxy before deregistering the service itself (#5482)
6 years ago
Valentin Fritz 21f149de8b Fix checks removal when removing service (#5457)
6 years ago
R.B. Boyer cd96af4fc0
acl: reduce complexity of token resolution process with alternative singleflighting (#5480)
6 years ago
Kyle Havlovitz 8ae6547934 Update state store test for changing node ID
6 years ago
Kyle Havlovitz 6932b06f97 Add a test for changing a failed node's ID
6 years ago
Hans Hasselberg 7e11dd82aa
agent: enable reloading of tls config (#5419)
6 years ago
R.B. Boyer 2e175be41b
acl: correctly extend the cache for acl identities during resolution (#5475)
6 years ago
Aestek 4bea29f15a [catalog] Update the node's services indexes on update (#5458)
6 years ago
Kyle Havlovitz 1e4523f55e Add logic to allow changing a failed node's ID
6 years ago
Alvin Huang 8cb8108b1b fix typos
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
R.B. Boyer 2ffbea41c8 improve flaky LANReap tests by expliciting configuring the tombstone timeout
6 years ago
R.B. Boyer 5bea49ecb0 tests: avoid leaking child processes from agent/proxyprocess package
6 years ago
Matt Keeler 567e41ff6b
Release v1.4.3
6 years ago
Matt Keeler 90040f8bff Fixes for CVE-2019-8336
6 years ago
Hans Hasselberg d35824b1fa default to tls 1.2 as promised. (#5340)
6 years ago
Aestek 2aac4d5168 Register and deregisters services and their checks atomically in the local state (#5012)
6 years ago
Matt Keeler 6e6910ea11
Dont modify memdb owned token data for get/list requests of tokens (#5412)
6 years ago
Aestek 02f991843f Fix race condition in DNS when using cache (#5398)
6 years ago
Matt Keeler 200c0fb3e9
Call RemoveServer for reap events (#5317)
6 years ago
R.B. Boyer 409c901f8e test: fix concurrent map access when setting up test vault
6 years ago
R.B. Boyer 6955186239 fix ignored errors in state store internals as reported by errcheck
6 years ago
R.B. Boyer c7067645dd fix a few leap-year related clock math inaccuracies and failing tests
6 years ago
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Kyle Havlovitz f07e928afc
Merge pull request #5325 from hashicorp/consul-ca-panic
6 years ago
Hans Hasselberg 80e7d63fc2
Centralise tls configuration part 2 (#5374)
6 years ago
Hans Hasselberg 786b3b1095
Centralise tls configuration part 1 (#5366)
6 years ago
Aestek f1cdfbe40e Allow DNS interface to use agent cache (#5300)
6 years ago
Alvin Huang 77eecf1046 add wait to TestClient_JoinLAN
6 years ago
Alvin Huang 136df63e2c add retry to TestResetSessionTimerLocked
6 years ago
Alvin Huang a7180f715a add serf check to testDNSServiceLookupResponseLimits, checkDNSService
6 years ago
Alvin Huang d10b5a396b add wait to TestOperator_AutopilotCASConfiguration
6 years ago
Alvin Huang dc200daf21 add wait to TestSnapshot
6 years ago
Alvin Huang c2a19e5090 add wait to TestAgent_RPCPing
6 years ago
Alvin Huang c23eb91262 fix TestAgent_CheckCriticalTime and better error output
6 years ago
Alvin Huang 6c9b516a29 skip TestCheckTCPPassing on CircleCI
6 years ago
R.B. Boyer c2a30c5fdd fix incorrect body of TestACLEndpoint_PolicyBatchRead
6 years ago
R.B. Boyer b569f222f9 update agent/agent_endpoint_test.go to use V2 tokens with attached policies
6 years ago
Nicholas Jackson 99fe9dabce Envoy config cluster (#5308)
6 years ago
Kainoa Seto b2af8862c7 Deferred updating response meta with consul headers (#5355)
6 years ago
R.B. Boyer ef8258cd4e test: switch test file from assert -> require for consistency
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
R.B. Boyer adbe8ed370 correct some typos
6 years ago
R.B. Boyer 88bb53d001 ensure that we plumb our configured logger into all parts of the raft library
6 years ago
R.B. Boyer 2c983902be reduce the local scope of variable
6 years ago
R.B. Boyer de0f585583
agent: only enable TLS on gRPC if the HTTPS API port is enabled (#5287)
6 years ago
R.B. Boyer f2ed3a3777
clarify the ACL.PolicyDelete endpoint (#5337)
6 years ago
R.B. Boyer 324ba5df17
update TestStateStore_ACLBootstrap to not rely upon request mutation (#5335)
6 years ago