Commit Graph

621 Commits (2df780f0403875cb3ff8cdbfd7f783b0a1bffa90)

Author SHA1 Message Date
Pierre Souchay b259b1609c Merge remote-tracking branch 'origin/master' into service_metadata
7 years ago
Pierre Souchay 9a57dfd68a Fixed TestSanitize unit test
7 years ago
James Phillips 3724e49ddf
Fixes a panic on TCP-based DNS lookups.
7 years ago
Pierre Souchay 66fdf445e8 Added unit tests for structs and fixed PartialClone()
7 years ago
James Phillips c2a59f1e6c
Addresses additional state mutations.
7 years ago
James Phillips 1c6de1d623
Fixes all the racy output-side updates to tags.
7 years ago
James Phillips 11f6961e47
Adds a more robust unit test for index churn.
7 years ago
Pierre Souchay 80dde5465b Added support for Service Metadata
7 years ago
James Phillips d9a6e2a901
Makes server manager shift away from failed servers from Serf events.
7 years ago
James Phillips fc155dac19
Adds a before/after test for #3845.
7 years ago
James Phillips 533f65b7a6
Merge pull request #3845 from 42wim/tagfix
7 years ago
Kyle Havlovitz f6ecaa4a1c
Add enterprise default config section
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 8e16bd7d77 fix refactoring
7 years ago
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