Commit Graph

128 Commits (2feef5f7a3c6f36a8b2ca9d77b69aec2ebbfd8ed)

Author SHA1 Message Date
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
8 years ago
Frank Schroeder 7f7c0ad65e agent: clone partial consul config
8 years ago
Frank Schroeder 0763788b82 agent: fix data race between consul server and local state
8 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