Commit Graph

4864 Commits (b4151780d6615330da98c94ad6671043cf4116ef)

Author SHA1 Message Date
Venu Yanamandra efc813e92d
Update error message when restoring ENT snapshot in OSS (#15066)
2 years ago
freddygv d65e60de86 Return forbidden on permission denied
2 years ago
Chris S. Kim a7ea26192b Update expected encoding in test
2 years ago
freddygv 6d9be5fb15 Use plain TaggedAddressWAN
2 years ago
freddygv 8d211cc9cc Add unit test
2 years ago
cskh 058ee4fb84 fix: wan address isn't used by peering token
2 years ago
Nitya Dhanushkodi 5e156772f6
Remove ability to specify external addresses in GenerateToken endpoint (#14930)
2 years ago
Kyle Havlovitz 5c3427608b
Merge pull request #15035 from hashicorp/vault-ttl-update-warn
2 years ago
cskh d562d363fc
peering: skip registering duplicate node and check from the peer (#14994)
2 years ago
Chris S. Kim 29a297d3e9
Refactor client RPC timeouts (#14965)
2 years ago
Kyle Havlovitz d122108992 Warn instead of returning an error when intermediate mount tune permission is missing
2 years ago
R.B. Boyer 0cca4c088d
test: possibly fix flake in TestIntentionGetExact (#15021)
2 years ago
R.B. Boyer fe2d41ddad
cache: prevent goroutine leak in agent cache (#14908)
2 years ago
R.B. Boyer 02a858efa0
ca: fix a masked bug in leaf cert generation that would not be notified of root cert rotation after the first one (#15005)
2 years ago
Chris S. Kim 3d2dffff16
Merge pull request #13388 from deblasis/feature/health-checks_windows_service
2 years ago
Dan Upton f8b4b41205
proxycfg: fix goroutine leak when service is re-registered (#14988)
2 years ago
Kyle Havlovitz aaf892a383 Extend tcp keepalive settings to work for terminating gateways as well
2 years ago
Kyle Havlovitz 2c569f6b9c Update docs and add tcp_keepalive_probes setting
2 years ago
Kyle Havlovitz 2242d1ec4a Add TCP keepalive settings to proxy config for mesh gateways
2 years ago
Derek Menteer 2a33d0ff96 Fix issue with incorrect method signature on test.
2 years ago
Freddy 24d0c8801a
Merge pull request #14981 from hashicorp/peering/dial-through-gateways
2 years ago
Dan Upton 328e3ff563
proxycfg: rate-limit delivery of config snapshots (#14960)
2 years ago
Derek Menteer 29ebcf5ff0 Add tests for peering state snapshots / restores.
2 years ago
Derek Menteer e3ff9912d0 Add test for ExportedServicesForAllPeersByName
2 years ago
Dan Upton e6b55d1d81
perf: remove expensive reflection from xDS hot path (#14934)
2 years ago
freddygv c77123a2aa Use split var in tests
2 years ago
freddygv bf51021c07 Use split wildcard partition name
2 years ago
Freddy ee4cdc4985
Merge pull request #14935 from hashicorp/fix/alias-leak
2 years ago
freddygv 573aa408a1 Lint
2 years ago
Derek Menteer 0f424e3cdf Reset wait on ensureServerAddrSubscription
2 years ago
freddygv 96fdd3728a Fix CA init error code
2 years ago
freddygv 2c99a21596 Update leader routine to maybe use gateways
2 years ago
freddygv e69bc727ec Update peering establishment to maybe use gateways
2 years ago
malizz b0b0cbb8ee
increase protobuf size limit for cluster peering (#14976)
2 years ago
Derek Menteer 4e140c98bc Address PR comments.
2 years ago
Derek Menteer 1e394da400 Disallow peering to the same cluster.
2 years ago
Derek Menteer 8742fbe14f Prevent consul peer-exports by discovery chain.
2 years ago
Derek Menteer f366edcb8d Prevent the "consul" service from being exported.
2 years ago
Derek Menteer caa1396255 Add remote peer partition and datacenter info.
2 years ago
Dan Upton cbb4a030c4
xds: properly merge central config for "agentless" services (#14962)
2 years ago
Dan Upton 0af9f16343
bug: fix goroutine leaks caused by incorrect usage of `WatchCh` (#14916)
2 years ago
Hans Hasselberg 0d5935ab83
adding configuration option cloud.scada_address (#14936)
2 years ago
Paul Glass bcda205f88
Add consul.xds.server.streamStart metric (#14957)
2 years ago
Riddhi Shah 345191a0df
Service http checks data source for agentless proxies (#14924)
2 years ago
Freddy 9ca8bb8ec4
Merge pull request #14958 from hashicorp/peering/nonce
2 years ago
freddygv 1b46b35041 Actually track nonce in test
2 years ago
Derek Menteer f330438a45 Fix incorrect backoff-wait logic.
2 years ago
freddygv 7f9a5d0f58 Add basic nonce management
2 years ago
Paul Glass d17af23641
gRPC server metrics (#14922)
2 years ago
cskh e0356e1502
fix(peering): add missing grpc_tls_port for server address reconciliation (#14944)
2 years ago
freddygv f4cc4577ca Fix alias check leak
2 years ago
James Oulman b8bd7a3058
Configure Envoy alpn_protocols based on service protocol (#14356)
2 years ago
freddygv bf72df7b0e Fixup test
2 years ago
Chris S. Kim 4f4112662e Fix nil pointer
2 years ago
Chris S. Kim b0a4c5c563 Include stream-related information in peering endpoints
2 years ago
Paul Glass c0c187f1c5
Merge central config for GetEnvoyBootstrapParams (#14869)
2 years ago
Freddy 4abad02abd
Merge pull request #14796 from hashicorp/peering/use-connect-ca
2 years ago
freddygv 7d4da6eb22 Fixup test
2 years ago
freddygv 3034df6a5c Require Connect and TLS to generate peering tokens
2 years ago
freddygv fac3ddc857 Use internal server certificate for peering TLS
2 years ago
freddygv 5f97223822 Simplify mgw watch mgmt
2 years ago
freddygv d54db25421 Use existing query options to build ctx
2 years ago
DanStough 77ab28c5c7 feat: xDS updates for peerings control plane through mesh gw
2 years ago
Eric Haberkorn 1633cf20ea
Make the mesh gateway changes to allow `local` mode for cluster peering data plane traffic (#14817)
2 years ago
cskh c1b5f34fb7
fix: missing UDP field in checkType (#14885)
2 years ago
Derek Menteer a279d2d329
Fix explicit tproxy listeners with discovery chains. (#14751)
2 years ago
Alex Oskotsky 13da2c5fad
Add the ability to retry on reset connection to service-routers (#12890)
2 years ago
John Murret 79a541fd7d
Upgrade serf to v0.10.1 and memberlist to v0.5.0 to get memberlist size metrics and broadcast queue depth metric (#14873)
2 years ago
Evan Culver a3be5a5a82
connect: Bump Envoy 1.20 to 1.20.7, 1.21 to 1.21.5 and 1.22 to 1.22.5 (#14831)
2 years ago
Eric Haberkorn 1b565444be
Rename `PeerName` to `Peer` on prepared queries and exported services (#14854)
2 years ago
Freddy d9fe3578ac
Merge pull request #14734 from hashicorp/NET-643-update-mesh-gateway-envoy-config-for-inbound-peering-control-plane-traffic
2 years ago
freddygv b15d41534f Update xds generation for peering over mesh gws
2 years ago
freddygv a8c4d6bc55 Share mgw addrs in peering stream if needed
2 years ago
freddygv 4ff9d475b0 Return mesh gateway addrs if peering through mgw
2 years ago
chappie ad7295e5d9
Merge pull request #14811 from hashicorp/chappie/dns
2 years ago
Chris Chapman d7b5351b66
Making suggested comments
2 years ago
Chris Chapman 46bea72212
Making suggested changes
2 years ago
Chris Chapman a05563b788
Update comment
2 years ago
DanStough 7f8971d77f chore: fix flakey scada provider test
2 years ago
Chris Chapman 81e267171b
Bind a dns mux handler to gRPC proxy
2 years ago
Chris Chapman 7bc9cad180
Adding grpc handler for dns proxy
2 years ago
Eric Haberkorn 80e51ff907
Add exported services event to cluster peering replication. (#14797)
2 years ago
Ashwin Venkatesh 4ba260958c
bug: watch local mesh gateways in non-default partitions with agentless (#14799)
2 years ago
cskh 69f40df548
feat(ingress gateway: support configuring limits in ingress-gateway c… (#14749)
2 years ago
malizz 84b0f408fa
Support Stale Queries for Trust Bundle Lookups (#14724)
2 years ago
Eric Haberkorn 6570d5f004
Enable outbound peered requests to go through local mesh gateway (#14763)
2 years ago
Nick Ethier 1c1b0994b8
add HCP integration component (#14723)
2 years ago
Derek Menteer aa4709ab74
Add envoy connection balancing. (#14616)
2 years ago
Chris S. Kim 2203cdc4db Add new internal endpoint to list exported services to a peer
2 years ago
freddygv d818d7b096 Manage local server watches depending on mesh cfg
2 years ago
Alessandro De Blasis 461b42ed48 fix(check): added missing OSService props
2 years ago
Alessandro De Blasis 5719fd6560 fix(checks): os_service OK message in output
2 years ago
Alessandro De Blasis f440966a38 fix(checks): os_service lifecycle bugfix
2 years ago
Alessandro De Blasis fc0dd92dcf fix(agent): uninitialized map panic error
2 years ago
malizz 1a0aa38a82
increase the size of txn to support vault (#14599)
2 years ago
freddygv 5fbb26525b Add awareness of server mode to TLS configurator
2 years ago
freddygv f30bc96239 Test fixes
2 years ago
freddygv 02d3ce1039 Add server certificate manager
2 years ago
freddygv 0e5131bd33 Generate ACL token for server management
2 years ago
freddygv 0ea3353537 Add handling in agent cache for server leaf certs
2 years ago
Kyle Havlovitz 0d9ae52643
Merge pull request #14598 from hashicorp/root-removal-fix
2 years ago
Kyle Havlovitz 6105a7fd9f connect/ca: don't discard old roots on primaryInitialize
2 years ago
Gabriel Santos e53af28bd7
Middleware: `RequestRecorder` reports calls below 1ms as decimal value (#12905)
2 years ago
Daniel Graña 8c98172f53
[BUGFIX] Do not use interval as timeout (#14619)
2 years ago
Evan Culver d0416f593c
connect: Bump latest Envoy to 1.23.1 in test matrix (#14573)
2 years ago
DanStough 485e1b5d4e fix(peering): generate token metrics only for leader
2 years ago
DanStough 2a2debee64 feat(peering): validate server name conflicts on establish
2 years ago
Kyle Havlovitz 60cee76746
Merge pull request #14516 from hashicorp/ca-ttl-fixes
2 years ago
Kyle Havlovitz d67bccd210 Update intermediate pki mount/role when reconfiguring Vault provider
2 years ago
Kyle Havlovitz f46955101a connect/ca: Clarify behavior around IntermediateCertTTL in CA config
2 years ago
DanStough 0150e88200 feat: add PeerThroughMeshGateways to mesh config
2 years ago
Derek Menteer 0aa13733a0
Add CSR check for number of URIs. (#14579)
2 years ago
Derek Menteer db83ff4fa6 Add input validation for auto-config JWT authorization checks.
2 years ago
cskh f22685b969
Config-entry: Support proxy config in service-defaults (#14395)
2 years ago
Eric Haberkorn aa8268e50c
Implement Cluster Peering Redirects (#14445)
2 years ago
skpratt b761589340
add non-double-prefixed metrics (#14193)
2 years ago
skpratt 19f79aa9a6
PR #14057 follow up fix: service id parsing from sidecar id (#14541)
2 years ago
Dan Upton 1c2c975b0b
xDS Load Balancing (#14397)
2 years ago
Derek Menteer f7c884f0af Merge branch 'main' of github.com:hashicorp/consul into derekm/split-grpc-ports
2 years ago
Derek Menteer bfe7c5e8af Remove rebuilding grpc server.
2 years ago
Derek Menteer 80d31458e5 Various cleanups.
2 years ago
Chris S. Kim 03df6c3ac6
Reuse http.DefaultTransport in UIMetricsProxy (#14521)
2 years ago
Chris S. Kim 1c4a6eef4f
Merge pull request #14285 from hashicorp/NET-638-push-server-address-updates-to-the-peer
2 years ago
skpratt 3bf1edfb3f
move port and default check logic to locked step (#14057)
2 years ago
Freddy f4dfd42e0a
Add SpiffeID for Consul server agents (#14485)
2 years ago
Daniel Upton 8c46e48e0d proxycfg-glue: server-local implementation of IntentionUpstreamsDestination
2 years ago
Daniel Upton f8dba7e9ac proxycfg-glue: server-local implementation of InternalServiceDump
2 years ago
Daniel Upton a31738f76f proxycfg-glue: server-local implementation of ResolvedServiceConfig
2 years ago
Derek Menteer bf769daae4 Merge branch 'main' of github.com:hashicorp/consul into derekm/split-grpc-ports
2 years ago
Derek Menteer 02ae66bda8 Add kv txn get-not-exists operation.
2 years ago
Chris S. Kim 953808e899 PR feedback on terminated state checking
2 years ago
Chris S. Kim ddb9375cb6 Add testcase for parsing grpc_port
2 years ago
Kyle Havlovitz d97ccccdd5
Merge pull request #14429 from hashicorp/ca-prune-intermediates
2 years ago
cskh 0f7d4efac3
fix(txn api): missing proxy config in registering proxy service (#14471)
2 years ago
Chris S. Kim ec36755cc0 Properly assert for ServerAddresses replication request
2 years ago
Chris S. Kim d1d9dbff8e Fix terminate not returning early
2 years ago
Derek Menteer f64771c707 Address PR comments.
2 years ago
Kyle Havlovitz 0c2fb7252d Prune intermediates before appending new one
2 years ago
Luke Kysow 81d7cc41dc
Use proxy address for default check (#14433)
2 years ago
malizz f1054dada9
fix TestProxyConfigEntry (#14435)
2 years ago
malizz b3ac8f48ca
Add additional parameters to envoy passive health check config (#14238)
2 years ago
Chris S. Kim f2b147e575 Add Internal.ServiceDump support for querying by PeerName
2 years ago
Chris S. Kim e62f830fa8
Merge pull request #13998 from jorgemarey/f-new-tracing-envoy
2 years ago
Derek Menteer cf7f24a6ec Change serf-tag references to field references.
2 years ago
malizz a80e0bcd00
validate args before deleting proxy defaults (#14290)
2 years ago
Kyle Havlovitz 113454645d Prune old expired intermediate certs when appending a new one
2 years ago
Alessandro De Blasis 60c7c831c6 Merge remote-tracking branch 'hashicorp/main' into feature/health-checks_windows_service
2 years ago
Eric Haberkorn 3726a0ab7a
Finish up cluster peering failover (#14396)
2 years ago
Chris S. Kim 560d410c6d Merge branch 'main' into NET-638-push-server-address-updates-to-the-peer
2 years ago
Jorge Marey 3f3bb8831e Fix typos. Add test. Add documentation
2 years ago
Jorge Marey ed7b34128f Add new tracing configuration
2 years ago
Freddy 97d1db759f
Merge pull request #13496 from maxb/fix-kv_entries-metric
2 years ago
Freddy 829a2a8722
Merge pull request #14364 from hashicorp/peering/term-delete
2 years ago
Max Bowsher decc9231ee Merge branch 'main' into fix-kv_entries-metric
2 years ago
Chris S. Kim 5010fa5c03
Merge pull request #14371 from hashicorp/kisunji/peering-metrics-update
2 years ago
Chris S. Kim 74ddf040dd Add heartbeat timeout grace period when accounting for peering health
2 years ago
Derek Menteer 0ceec9017b Expose `grpc_tls` via serf for cluster peering.
2 years ago
Derek Menteer 1255a8a20d Add separate grpc_tls port.
2 years ago
freddygv 310608fb19 Add validation to prevent switching dialing mode
2 years ago
Eric Haberkorn 72f90754ae
Update max_ejection_percent on outlier detection for peered clusters to 100% (#14373)
2 years ago
Alessandro De Blasis 26cc56bc68 fix(agent): removed redundant code in docker check as well
2 years ago
Alessandro De Blasis c0d647d11e fix(agent): removed redundant check on prev. running check
2 years ago
Chris S. Kim def529edd3 Rename test
2 years ago
Chris S. Kim 93271f649c Fix test
2 years ago
Eric Haberkorn 1099665473
Update the structs and discovery chain for service resolver redirects to cluster peers. (#14366)
2 years ago
Alessandro De Blasis f3437eaf05 Merge remote-tracking branch 'hashicorp/main' into feature/health-checks_windows_service
2 years ago
Alessandro De Blasis f634e36811 fix(OSServiceCheck): fixes following code-review
2 years ago
Chris S. Kim 4d97e2f936 Adjust metrics reporting for peering tracker
2 years ago
freddygv 650e48624d Allow terminated peerings to be deleted
2 years ago
Chris S. Kim 937a8ec742 Fix casing
2 years ago
Chris S. Kim 87962b9713 Merge branch 'main' into catalog-service-list-filter
2 years ago
Chris S. Kim e2fe8b8d65 Fix tests for enterprise
2 years ago
Chris S. Kim 1c43a1a7b4 Merge branch 'main' into NET-638-push-server-address-updates-to-the-peer
2 years ago
Chris S. Kim 6ddcc04613
Replace ring buffer with async version (#14314)
2 years ago
alex 30ff2e9a35
peering: add peer health metric (#14004)
2 years ago
Chris S. Kim 181063cd23 Exit loop when context is cancelled
2 years ago
cskh 41aea65214
Fix: the inboundconnection limit filter should be placed in front of http co… (#14325)
2 years ago
Chris S. Kim 8c94d1a80c Update test comment
2 years ago
Chris S. Kim 5f2959329f Add check for zero-length server addresses
2 years ago
skpratt 919da33331
no-op: refactor usagemetrics tests for clarity and DRY cases (#14313)
2 years ago
Pablo Ruiz García 1f293e5244
Added new auto_encrypt.grpc_server_tls config option to control AutoTLS enabling of GRPC Server's TLS usage
2 years ago
Dan Upton 3b993f2da7
dataplane: update envoy bootstrap params for consul-dataplane (#14017)
2 years ago
Daniel Upton 13c04a13af proxycfg: terminate stream on irrecoverable errors
2 years ago
Chris S. Kim 81e965479b PR feedback to specify Node name in test mock
2 years ago
Eric Haberkorn 58901ad7df
Cluster peering failover disco chain changes (#14296)
2 years ago
Chris S. Kim cdc8b0634d Fix flakes
2 years ago
Chris S. Kim 03e92826aa Increase heartbeat rate to reduce test flakes
2 years ago
Chris S. Kim 06ba9775ee Remove check for ResponseNonce
2 years ago
Chris S. Kim 547fb9570e Add missing mock assertions
2 years ago
Chris S. Kim adff2eef16 Fix data race
2 years ago
cskh 060531a29a
Fix: add missing ent meta for test (#14289)
2 years ago
Chris S. Kim 4e40e1d222 Handle server addresses update as client
2 years ago
Chris S. Kim 584d3409c4 Send server addresses on update from server
2 years ago
Chris S. Kim c9d8ad3939 Add new subscription for server addresses
2 years ago
Chris S. Kim 028b87d51f Cleanup unused logger
2 years ago
Chris S. Kim df951bd601 Expose external gRPC port in autopilot
2 years ago
cskh 527ebd068a
fix: missing MaxInboundConnections field in service-defaults config entry (#14072)
2 years ago
cskh e84e4b8868
Fix: upgrade pkg imdario/merg to prevent merge config panic (#14237)
2 years ago
James Hartig f92883bbce Use the maximum jitter when calculating the timeout
2 years ago
Eric Haberkorn 1a73b0ca20
Add `Targets` field to service resolver failovers. (#14162)
2 years ago