Commit Graph

615 Commits (6662e48363905f32cc3e1bc7dddda31307038de2)

Author SHA1 Message Date
Preetha Appan d77ab91123
Allows disabling WAN federation by setting serf WAN port to -1
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
James Phillips 533f65b7a6
Merge pull request #3845 from 42wim/tagfix
7 years ago
James Phillips e748c63fff
Merge pull request #3855 from hashicorp/pr-3782-slackpad
7 years ago
James Phillips 5f31c8d8d3
Changes "TLS" to "GRPCUseTLS" since it only applies to GRPC checks.
7 years ago
Wim ce771f1fb3 Fix service tags not added to health check. Part two
7 years ago
Veselkov Konstantin 5f38e1148a fix refactoring
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
Kyle Havlovitz 68ae92cb8c
Don't remove the files, just log an error
7 years ago
Kyle Havlovitz 4e325a6b8f
Add graceful handling of malformed persisted service/check files.
7 years ago
Dmytro Kostiuchenko 1a10b08e82 Add gRPC health-check #3073
7 years ago
James Phillips f491a55e47
Merge pull request #3642 from yfouquet/master
7 years ago
James Phillips 2892f91d0b
Copies the autopilot settings from the runtime config.
7 years ago
Yoann Fouquet 986148cfe5 [Fix] Service tags not added to health checks
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
James Phillips 4a2cafe525
Adds HTTP/2 support to Consul's HTTPS server. (#3657)
7 years ago
Kyle Havlovitz dbab3cd5f6
Merge branch 'master' into esm-changes
7 years ago
Frank Schroeder 164ec3ec39
docker: stop previous check on replace
7 years ago
Kyle Havlovitz ce4e8c46fa
Add deregister critical service field and refactor duration parsing
7 years ago
Frank Schroeder 8f145559d8
Decouple the code that executes checks from the agent
7 years ago
Frank Schroeder 3231385089
ae: fix typo in constructor name
7 years ago
Frank Schroeder de57b16d99
local state: address review comments
7 years ago
Frank Schroeder b803bf3091
local state: tests compile
7 years ago
Frank Schroeder 0a9ac9749e
local state: replace multi-map state with structs
7 years ago
Frank Schroeder 6027a9e2a5
local state: move to separate package
7 years ago
Frank Schroeder c00bbdb5e4
agent: simplify some loops
7 years ago
Frank Schroeder 94ef1041a1
agent: cleanup StateSyncer
7 years ago
Frank Schroeder 29e18c7494
agent: decouple anti-entropy from local state
7 years ago
Frank Schroeder 58b0e153f9
Revert "agent: decouple anti-entropy from local state"
7 years ago
Frank Schroeder b4e7d0b974
Revert "agent: cleanup StateSyncer"
7 years ago
Frank Schroeder 91569a7ceb
Revert "agent: simplify some loops"
7 years ago
Frank Schroeder 67a0689f71
Revert "local state: move to separate package"
7 years ago
Frank Schroeder 623e07760a
Revert "local state: replace multi-map state with structs"
7 years ago
Frank Schroeder 9ed4b2d631
Revert "local state: tests compile"
7 years ago
Frank Schroeder 46641e44d9
Revert "local state: address review comments"
7 years ago
Frank Schroeder cab3b17292
Revert "ae: fix typo in constructor name"
7 years ago
Frank Schroeder e88f49e2cc ae: fix typo in constructor name
7 years ago
Frank Schroeder 1d315075b1 local state: address review comments
7 years ago
Frank Schroeder 1af52bf7be local state: tests compile
7 years ago
Frank Schroeder ccbae7da5b local state: replace multi-map state with structs
7 years ago
Frank Schroeder d447e823c6 local state: move to separate package
7 years ago
Frank Schroeder b5dbad910c agent: simplify some loops
7 years ago
Frank Schroeder b7136e100b agent: cleanup StateSyncer
7 years ago
Frank Schroeder a842dc9c2b agent: decouple anti-entropy from local state
7 years ago
Hadar Greinsmark 7e1a860978 Implement HTTP Watch handler (#3413)
7 years ago
Frank Schröder 94f58199b1 agent: add option to discard health output (#3562)
7 years ago
preetapan 77c972f594 Fixes agent error handling when check definition is invalid. Distingu… (#3560)
7 years ago
James Phillips bb12368eac Makes RPC handling more robust when rolling servers. (#3561)
7 years ago
James Phillips 3bc6df5f0e
Adds script warning and fixes Docker args recognition.
7 years ago
Kyle Havlovitz 198ed6076d Clean up subprocess handling and make shell use optional (#3509)
7 years ago
Preetha Appan 51a04ec87d Introduces new 'list' permission that applies to KV store recursive reads, and enforced only when opted in.
7 years ago
Frank Schroeder 1944218492 use ports from derived addresses
7 years ago
Kyle Havlovitz bfa70a10ca Fix watch error when http & https are disabled (#3493)
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
James Phillips 828be5771a
Revert "Manages segments list via a pointer."
7 years ago
James Phillips c277a42504
Manages segments list via a pointer.
7 years ago
James Phillips aa5ef4a098
Populates the segment keyrings based on the LAN keyring.
7 years ago
James Phillips 1a117ba0a8
Makes the all segments query explict, and the default for `consul members`.
7 years ago
James Phillips 9258506dab Adds simple rate limiting for client agent RPC calls to Consul servers. (#3440)
7 years ago
Kyle Havlovitz 7e565d7338
Fix some inconsistencies with segment logic and comments
7 years ago
Kyle Havlovitz 16aaf27208
Default bind/advertise for segments to BindAddr/AdvertiseAddr
7 years ago
Kyle Havlovitz 2ada0439d4
Add rpc_listener option to segment config
7 years ago
James Phillips b1a15e0c3d
Adds open source side of network segments (feature is Enterprise-only).
7 years ago
Frank Schroeder 14ab5c7641 agent: support go-discover retry-join for wan
7 years ago
Frank Schröder a3934c263c acl: consolidate error handling (#3401)
7 years ago
Frank Schroeder 16c58da27d agent: drop unused code
7 years ago
James Phillips f51d56c80c
Switches to using a read lock for the agent's RPC dispatcher.
7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs
7 years ago
Kyle Havlovitz cf02e3bc22 Merge pull request #3369 from hashicorp/metrics-enhancements
7 years ago
Kyle Havlovitz 0428e9fe9e
Update docs for metrics endpoint
7 years ago
Kyle Havlovitz d5634fe2a8
Add support for labels/filters from go-metrics
7 years ago
Preetha Appan 824fc4ee20
Unify regex used to identify invalid dns characters
7 years ago
Preetha Appan 37f75a393e
Use sanitized version of node name of server in NS record, and start with "server" rather than "ns"
7 years ago
Preetha Appan f9db387097
Add NS records and A records for each server. Constructs ns host names using the advertise address of the server.
7 years ago
James Phillips 4bee2e49f5 Adds secure introduction for the ACL replication token. (#3357)
7 years ago
James Phillips c0a5ad7903 Adds a new /v1/acl/bootstrap API (#3349)
7 years ago
Preetha Appan aa98aeb4b1 Moved handling advertise address to readConfig and out of the agent's constructor, plus unit test fixes
7 years ago
Preetha Appan 25acd1534a Move go-socketaddr template parsing into config package to make it happen before creating a new agent. Also removed redundant parsetemplate calls from agent.go.
7 years ago
James Phillips 496b0bcf07 Adds support for agent-side ACL token management via API instead of config files. (#3324)
7 years ago
James Phillips c413a9161e Removes an unnecessary close.
7 years ago
Preetha Appan f8b633c69e Removed redundant logging
7 years ago
Preetha Appan c26fd66edd Clean up temporary files on write errors, and ignore any temporary service files on load with a warning. This fixes #3207
7 years ago
James Phillips 1774fdc237
Tweaks the error when scripts are disabled.
7 years ago
Frank Schroeder 83577e0daa agent: make docker client work on windows
7 years ago
preetapan fb43953894 Merge pull request #3296 from hashicorp/ensure_registration_race
7 years ago
Preetha Appan e50f0e6722 Clean up any watch monitors associated with a failed AddCheck
7 years ago
Preetha Appan 6a257f242e Removed unit test, added clarifying comment and returned a friendlier error message similar to the one in agent's AddService method
7 years ago
Kyle Havlovitz 19eae3d14b
Add UpgradeVersionTag to autopilot config
7 years ago
Frank Schroeder 0d9b53730f agent: stop docker checks on shutdown
7 years ago
Frank Schroeder 60540c2417 agent: stop and remove docker checks
7 years ago
Frank Schroeder 2123700056
agent: replace docker check
7 years ago
James Phillips fff0f9698f Prevents disabling gossip keyring file from disabling gossip encryption. (#3278)
7 years ago
James Phillips 1791d99a10 Adds new config to make script checks opt-in, updates documentation. (#3284)
7 years ago
James Phillips 0881e46111 Cleans up version 8 ACLs in the agent and the docs. (#3248)
7 years ago
Frank Schroeder 7381a05d8d agent: do not modify agent config after NewAgent
7 years ago
Frank Schroeder 7f7c0ad65e agent: clone partial consul config
7 years ago
Frank Schroeder 0763788b82 agent: fix data race between consul server and local state
7 years ago
Preetha Appan 07db760d53 Fix missing formatting directive causing go vet to fail
8 years ago
James Phillips 4a3604a3ee
Removes some useless comments.
8 years ago
James Phillips 6977e40077 Fixes watch tracking during reloads and fixes address issue. (#3189)
8 years ago
James Phillips 380c8b957d Changes host-based node IDs from opt-out to opt-in. (#3187)
8 years ago
Frank Schröder 31a310f551 agent: notify systemd after JoinLAN (#2121)
8 years ago
Frank Schroeder ea5b0f2c7c agent: fix 'consul leave' shutdown race (#2880)
8 years ago
Frank Schroeder c4fc581e07 agent: make registerEndpoint private
8 years ago
Frank Schroeder 2b41f2e3a3 agent: make the RPC endpoint overwrite mechanism more transparent
8 years ago
Frank Schroeder c49a15d0f3 agent: move structs into consul/structs pkg
8 years ago
Frank Schroeder 4273fb8444 agent: move NotifyGroup into the agent pkg
8 years ago
Frank Schroeder 80971c8a85 agent: move the SnapshotReplyFn out of the way
8 years ago
Frank Schroeder 04b9392b00 agent: use the delegate interface for local state
8 years ago
Frank Schroeder d77d2be13e agent: rename clientServer interface to delegate
8 years ago
Frank Schroeder b083ce17c7
Revert "agent: fix 'consul leave' shutdown race (#2880)"
8 years ago
Frank Schroeder 90c83a32b5 agent: fix 'consul leave' shutdown race (#2880)
8 years ago
Kyle Havlovitz 5d99ee80ca Add an option to disable keyring file (#3145)
8 years ago
Frank Schroeder 1c75cf1af5 pkg refactor
8 years ago