Commit Graph

604 Commits (c862148ea2b0edc51cc8938768bad410659faa94)

Author SHA1 Message Date
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
James Phillips 9cd602de06
Improves user lookup error message.
7 years ago
Kyle Havlovitz 144e6e7d31
Remove nonvoter from metadata.Server
7 years ago
James Phillips 64acd0ade0
Gets rid of named return parameters.
7 years ago
James Phillips b443bd1438
Moves non-stdlib includes into their own section.
7 years ago
Kyle Havlovitz bfeb09983b
Reset clusterHealth when autopilot starts
7 years ago
Kyle Havlovitz 17805e4634
Move autopilot health loop into leader operations
7 years ago
James Phillips c190b35b0e
Updates web assets to latest.
7 years ago
Kyle Havlovitz cde1e7ceb6
Merge pull request #3821 from hashicorp/persist-file-handling
7 years ago
Kyle Havlovitz f156b12b22
Merge pull request #3820 from hashicorp/serfwan-port-fix
7 years ago
James Phillips 93fd6bfeb4
Moves the coordinate fetch after the ACL check.
7 years ago
Kyle Havlovitz 68ae92cb8c
Don't remove the files, just log an error
7 years ago
Kyle Havlovitz 8c5be2dd97
Enforce a valid port for the Serf WAN since it can't be disabled.
7 years ago
Kyle Havlovitz 4e325a6b8f
Add graceful handling of malformed persisted service/check files.
7 years ago
James Hartig aedab91a66 Resolve symlinks in config directory
7 years ago
James Phillips 9509aa6c4b
Adds the NodeID field back to the /v1/agent/self Config block.
7 years ago
James Phillips ebcd1787db
Adds more info about how to fix the private IP error.
7 years ago
James Phillips 48cfe6ff5f
Fixes crash where body was optional for PQ endpoint (it is not).
7 years ago
Dmytro Kostiuchenko 1a10b08e82 Add gRPC health-check #3073
7 years ago
Diptanu Choudhury 294151c1ad Using labels
7 years ago
Diptanu Choudhury 006eab2394 Added telemetry around Catalog APIs
7 years ago
James Phillips 5b88b8df38
Updates the checked in web assets.
7 years ago
James Phillips 6412d8d9aa
Updates the built-in web assets.
7 years ago
James Phillips 7a46d9c1e3
Wraps HTTP mux to ban all non-printable characters from paths.
7 years ago
James Phillips 2edc11b44c
Updates the built-in web UI assets.
7 years ago
James Phillips da6a4635b0
Fixes a `go fmt` cleanup.
7 years ago
Kyle Havlovitz 11a0c9cc58
Fix vet error
7 years ago
Kyle Havlovitz 77dc52f430
Move autopilot initializing to oss file
7 years ago
Kyle Havlovitz 039e7f1880
Move autopilot setup to a separate file
7 years ago
Kyle Havlovitz d08ab9fd19
Make some final tweaks to autopilot package
7 years ago
Kyle Havlovitz a86d11ec0a
Merge pull request #3737 from hashicorp/autopilot-refactor
7 years ago
James Phillips 06f980061e
Merge pull request #3728 from weiwei04/fix_globalRPC_goroutine_leak
7 years ago
James Phillips f491a55e47
Merge pull request #3642 from yfouquet/master
7 years ago
James Phillips ca3f9024ac
Works around mapstructure behavior to enable sessions with no checks.
7 years ago
Kyle Havlovitz 324c2ecb53
Expose IsPotentialVoter for advanced autopilot logic
7 years ago
James Phillips 98e837167e
Changes maps to merge vs. overwrite when processing configs.
7 years ago
Kyle Havlovitz 12bf61c851
Merge branch 'master' into autopilot-refactor
7 years ago
Kyle Havlovitz d6b266c045
A few last autopilot adjustments
7 years ago
Kyle Havlovitz 2310687c1d
More autopilot reorganizing
7 years ago
James Phillips 46742a5041
Adds TODOs referencing #3744.
7 years ago
James Phillips 2892f91d0b
Copies the autopilot settings from the runtime config.
7 years ago
Kyle Havlovitz b92f895c23
More refactoring to make autopilot consul-agnostic
7 years ago
Yoann Fouquet 986148cfe5 [Fix] Service tags not added to health checks
7 years ago
Kyle Havlovitz de28555671
Move autopilot to a standalone package
7 years ago
James Phillips d12e81860f
Moves Serf helper into lib to fix import cycle in consul-enterprise.
7 years ago
James Phillips 5065f3d82e
Turns of intent queue warnings and enables dynamic queue sizing.
7 years ago
Wei Wei cc9648c957 fix globalRPC goroutine leak
7 years ago
James Phillips 3e46544085
Creates a registration mechanism for snapshot and restore.
7 years ago
James Phillips f53f521072
Begins split out of snapshots from the main FSM class.
7 years ago
James Phillips c8e763667f
Creates a registration mechanism for FSM commands.
7 years ago
James Phillips 78292662d7
Moves the FSM into its own package.
7 years ago
James Phillips e810697e06
Resolves an FSM snapshot TODO.
7 years ago
James Phillips aa61159b74
Creates a registration mechanism for schemas.
7 years ago
James Phillips 93ff33b1be
Creates a registration mechanism for RPC endpoints.
7 years ago
James Phillips 68f100c8df
Creates HTTP endpoint registry.
7 years ago
James Phillips 679775418f
Moves coordinate disabled logic down into endpoints.
7 years ago
James Phillips 29367cd5ae
Moves ACL disabled response logic down into endpoints.
7 years ago
James Phillips 44d824a58f
Renames "segments" to "segment" to be consistent with other files.
7 years ago
James Phillips 8bf1f57737
Renames stubs to be more consistent.
7 years ago
James Phillips 8abd2050fa
Sheds monotonic time info so tombstone GC bins work properly.
7 years ago
James Phillips de57a9ef51
Gives back the lock before writing to the expire channel.
7 years ago
James Phillips 34c13925d4
Skips files with unknown extensions when not forcing a format.
7 years ago
James Phillips 1e49c157c5
Adds a snapshot agent stub to the config structure.
7 years ago
James Phillips 990fbbb86b
Cleans up check logging.
7 years ago
James Phillips f19ba41144
Moves the LAN event handler after the router is created.
7 years ago
James Phillips 17737ee030
Revert "Adds a small sleep to make sure we are in the next GC bucket."
7 years ago
James Phillips 24475048e2
Adds a sleep to make sure we are in the next GC bucket, ups time.
7 years ago
James Phillips c57884fffe
Skips the tombstone GC test in Travis for now.
7 years ago
James Phillips cd935ebe6c
Adds missing os import.
7 years ago
James Phillips f6b7dcbcf6
Removes bogus getPort() in favor of freeport.
7 years ago
James Phillips 8579225c27
Skips IPv6 test in Travis.
7 years ago
James Phillips 2937656f8e
Adds a longer retry period for the AE deferred output test.
7 years ago
James Phillips 7b966e2d26
Tightens timing up and reorders GC test to be less flaky.
7 years ago
James Phillips 7c6ab5e783
Doubles the GC timing.
7 years ago
James Phillips 8de7c77482
Opens up test timing a little more.
7 years ago
James Phillips c46612f691
Shifts off a gran boundary to help make test less flaky.
7 years ago
James Phillips f31856c1b7
Opens up the tombstone GC test timing.
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
James Phillips 85e678fbdd
Saves the cycled server list after a failed ping when rebalancing. (#3662)
7 years ago
James Phillips 099b143838
Double-books the HTTP metrics w/ and w/o the "consul" prefix.
7 years ago
James Phillips 4a2cafe525
Adds HTTP/2 support to Consul's HTTPS server. (#3657)
7 years ago
James Phillips aa199ab6ba
Makes the metrics ACL test call the right endpoint.
7 years ago
Preetha Appan b15d8db851 Sets tty in docker client back to true, as a potential fix for docker exec weirdness
7 years ago
Kyle Havlovitz d3dd2b1402
Move check definition to a sub-struct
7 years ago
Kyle Havlovitz dbab3cd5f6
Merge branch 'master' into esm-changes
7 years ago
Kyle Havlovitz c4375d5a47
Merge pull request #3622 from hashicorp/coordinate-node-endpoint
7 years ago
Kyle Havlovitz 021b2849c5
Remove redundant lines from coordinate test
7 years ago
Kyle Havlovitz b0536a96cc
Fill out the tests around coordinate/node functionality
7 years ago
Frank Schröder 874e350b2f config: add -config-format option (#3626)
7 years ago
Frank Schröder a052255f86 vendor: update go-discover (#3634)
7 years ago
Kyle Havlovitz 1e3b0d441b
Factor out registerNodes function
7 years ago
James Phillips 6bf55d16a2
Relaxes Autopilot promotion logic. (#3623)
7 years ago
Frank Schroeder c72e6bdb37
docker: fix failing test
7 years ago
Frank Schroeder 7c0e5036a8
docker: render errors with %v since they can be nil
7 years ago
Kyle Havlovitz a1d14019dd
Add tests around coordinate update endpoint
7 years ago
Kyle Havlovitz 2392545adc
Merge branch 'coordinate-node-endpoint' of github.com:hashicorp/consul into esm-changes
7 years ago
Kyle Havlovitz 5589eadcf5
Added Coordinate.Node rpc endpoint and client api method
7 years ago
Frank Schroeder ca9aac746f
agent: add /v1/coordianate/node/:node endpoint
7 years ago
Frank Schroeder b4d8c26194
docker: add comment about "connection reset by peer" error
7 years ago
Frank Schroeder 164ec3ec39
docker: stop previous check on replace
7 years ago