Commit Graph

1344 Commits (85d6502ab3769c7d2de43bf1803fa4a0c06bc447)

Author SHA1 Message Date
James Phillips babb0a1235
Adds remaining unit tests for agent ACL vet and filter functions.
8 years ago
James Phillips 171ec6e487
Fixes a race in the monitor endpoint test that would cause panics.
8 years ago
Kyle Havlovitz cb96aa8eb3 Merge pull request #2529 from mckennajones/bug/1838
8 years ago
Kyle Havlovitz daa5ba87d4 Handle error from stat on data-dir and shorten error message
8 years ago
James Phillips 4ffd824547
Adds a leader wait when testing with ACLs.
8 years ago
James Phillips 03f40116f4
Adds complete ACL coverage for non-utility agent endpoints.
8 years ago
Kyle Havlovitz 7fbac3ffad Merge pull request #2553 from mckennajones/bug/ignoresigpipe
8 years ago
Kyle Havlovitz 7f5f1fed81
Add a notice about deprecation of atlas features
8 years ago
James Phillips 01b6766099
Adds complete ACL support for agent utility endpoints.
8 years ago
James Phillips ca7a243b70
Adds ACL management support to the agent.
8 years ago
James Phillips 34da7ccd64
Adds a unit test to make sure the status endpoint doesn't ever show anything
8 years ago
James Phillips 8b67991ef7
Adds complete ACL coverage for /v1/session endpoints.
8 years ago
James Phillips bcf1ffad99
Adds complete ACL coverage for /v1/coordinate/nodes and Coordinate.Update RPC.
8 years ago
James Phillips 0139bbb963
Adds support for a new "acl_agent_token" which is used for internal
8 years ago
James Phillips 0ed6b1bb18
Bans anonymous queries that aren't tied to a session.
8 years ago
James Phillips 66b437ca33
Removes the exception for the "consul" service in the catalog.
8 years ago
Yakau Bubnou e52fd6e0af Concurrent-safe notification mock
8 years ago
Chris Marchesi 6500d1afaa command/agent: Google Compute Engine host discovery
8 years ago
James Phillips 8ae9e17dff
Adds an opt-in for new ACL policies and features coming in Consul 0.8.
8 years ago
Sean Chittenden 830125a8b3
Run all known addresses through go-sockaddr/template.
8 years ago
Kyle Havlovitz ead30ca62b Fix race issue in monitor endpoint test
8 years ago
James Phillips c07bdb173b Merge pull request #2555 from hashicorp/pr-2497-slackpad
8 years ago
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516)
8 years ago
mckennajones 8b3ab100ef ignore sigpipe signals to fix journalctl issue #2404
8 years ago
Seth Vargo 4179aacf11
Add an API method for determining the best status
8 years ago
Kyle Havlovitz 338e36cc5d Add logWriter to agent Create() method
8 years ago
Kyle Havlovitz 124f907063 Add monitor http endpoint
8 years ago
James Phillips dd31e47eef
Updates static assets to pick up #2340 and and #2525.
8 years ago
Kyle Havlovitz 6bd65c668b Combine keyring endpoints into one
8 years ago
Kyle Havlovitz dd3368c19e Add keyring http endpoints
8 years ago
mckennajones 8daa45c5b4 check if data-dir is actually a directory
8 years ago
James Phillips fa680bded7
Defaults to pretty JSON in dev mode.
8 years ago
James Phillips c744792fc4 Merge pull request #2238 from hasyimibhar/master
8 years ago
James Phillips 16f8e04bfe
Revert "Updates Circonus metrics library and adds support for display name and tags."
8 years ago
Kyle Havlovitz 92ce2c9e39 Use uuids in persist temp files to avoid race (#2494)
8 years ago
Kyle Havlovitz b1760b223e Improve logging when deregistering a nonexistent service (#2492)
8 years ago
matt maier bd490ec937 Updates Circonus metrics library and adds support for display name and tags.
8 years ago
matt maier 91a8b43d5a Update Circonus integration expose Check Display Name and Check Tags configuration options.
8 years ago
James Phillips 2f341738a1 Removes stale reference to reap lock which causes a panic. (#2490)
8 years ago
James Phillips bc47511d26
Runs the static asset packaging inside the container; updates assets.
8 years ago
James Phillips 8af20ff1a5
Updates embedded static assets.
8 years ago
Kyle Havlovitz 8e621eb9c8 Set MaxStale default to 10 years and add a stale counter (#2481)
8 years ago
Brian Hays 1c01b10c87 Lowercase ACL Datacenter (#2478)
8 years ago
Kyle Havlovitz 83d2f36b54 Merge pull request #2480 from hashicorp/b-atomic-writes
8 years ago
Kyle Havlovitz 7a3e0f8275
Add a note about not calling sync for persistCheckState
8 years ago
Kyle Havlovitz e30b289c6f
Call fsync() for saving check/service state
8 years ago
Kyle Havlovitz e665ec87aa Add WaitForResult to some flaky tests (#2477)
8 years ago
James Phillips 925c46f725 Moves logger setup into its own package. (#2471)
8 years ago
Kyle McCullough 73b281a27c Add setting to skip ssl certificate verification for HTTP checks (#1984)
8 years ago
James Phillips 233a3a101b Supports WAN and LAN Serf Bind Addresses. (#2468)
8 years ago
James Phillips c06a107638
Removes unnecessary clause in unit test check.
8 years ago
James Phillips 7b98ae921e Adds support for DNS recurse truncation. (#2467)
8 years ago
Kyle Havlovitz 073798594d Merge pull request #2459 from hashicorp/f-aws-autodiscovery
8 years ago
Kyle Havlovitz 1de39d23d1
Small tweaks to docs and syntax
8 years ago
Kyle Havlovitz 1b204eb88d Disallow -bootstrap-expect flag in dev mode (#2464)
8 years ago
James Phillips e8caf76339
Builds static assets to pick up #2456 (redux).
8 years ago
Kyle Havlovitz f3efab5f84
Add support for ECS task roles as an auth mechanism
8 years ago
Kyle Havlovitz d4d6e2b482
Move EC2 discovery logic into retryJoin for robustness
8 years ago
Kyle Havlovitz 468bf736b4
Support more forms of EC2 authentication
8 years ago
Kyle Havlovitz 9c75e69f65
Add testing around EC2 discovery config
8 years ago
Kyle Havlovitz 043e6891d6
Fixed up config structure for EC2 discovery
8 years ago
Kyle Havlovitz c908121c72 Merge branch 'master' of github.com:hashicorp/consul into aws_autodiscovery
8 years ago
James Phillips 723f70ed31
Builds static assets to pick up #2456.
8 years ago
Kyle Havlovitz e1f8a41a35 Retry periodically for 60s if syslog setup fails (#2455)
8 years ago
Kyle Havlovitz dce6702268 More flaky unit test fixes (#2449)
8 years ago
Kyle Havlovitz 63534aca7e Added tests for lookups on the 'addr.consul' domain
8 years ago
Kyle Havlovitz 84c87325ae Add a service address SRV lookup test for IPv6
8 years ago
Kyle Havlovitz f7ef84812d Fix test cases
8 years ago
Kyle Havlovitz 2a26597769 Give the service address in SRV lookup when it differs from the node's
8 years ago
Kyle Havlovitz 554440ab1d Resolve Consul CNAME records on external services (#2444)
8 years ago
James Phillips c01a3871c9 Adds support for snapshots and restores. (#2396)
8 years ago
Kyle Havlovitz e2d9114b34 Agent anti-entropy test fixes
8 years ago
Kyle Havlovitz 3add830b3a Test fixes (#2434)
8 years ago
James Phillips 03ae813bc7 Merge pull request #2389 from hashicorp/jbs-2019
8 years ago
James Phillips 95d418d7da
Removes reap config option.
8 years ago
Brian Shumate 74a8fbef06
Lower Service tag DNS warning to DEBUG for #2019
8 years ago
Adam Wolfe Gordon 5ac5a8ccfc agent: Stop reaping child processes (resolves #1988)
8 years ago
James Phillips 5f0835fae7
Runs go-fmt (incidental to this PR).
8 years ago
James Phillips 1f5ae4827e
Makes string search for Windows case-insensitive.
8 years ago
James Phillips 216c5c7786 Merge pull request #2353 from hashicorp/b-local-panic
8 years ago
James Phillips c780149b5d
Calls remove on checks and services in the local test.
8 years ago
James Phillips c8ce41f459
Cleans up state management for remote deletes from local state.
8 years ago
James Phillips b0b05f48f3 Merge pull request #2262 from WIZARD-CXY/master
8 years ago
Felix f0eb0ba549 return an error if no logOutput is provided
8 years ago
James Phillips f686d34483 Merge pull request #2263 from sweeneyb/dnsPort
8 years ago
James Phillips 4b2eaeda17
Does some go fmt cleanup.
8 years ago
James Phillips d19995c067 Merge pull request #2322 from hashicorp/pr-2321-slackpad
8 years ago
James Phillips fce0052a70
Adds a recursor timeout line to the merge test.
8 years ago
James Phillips da34496645
Fixes a typo in a test error message.
8 years ago
Pivotal DX129 fe61650ef0 Merge remote-tracking branch 'upstream/master'
8 years ago
James Phillips 55ef6c54a6
Changes default for `leave_on_terminate` based on server or client mode.
8 years ago
James Phillips ed7356dd5c
Changes default DNS allow_stale to true.
8 years ago
James Phillips 3c9188c38b
Makes the Raft configuration API easier to consume.
8 years ago
James Phillips e5850d8a26
Adds new consul operator endpoint, CLI, and ACL and some basic Raft commands.
8 years ago
Pivotal DX129 f9b6cd636e Fixed code formatting
8 years ago
Pierre Delagrave db8ff0a582 Made the dns recursor timeout test more reliable
8 years ago
Pierre Delagrave d9bd41fc4d Renamed dns config parameter internal_client_timeout for recursor_timeout
8 years ago
Pierre Delagrave 3fe117c24d Merge remote-tracking branch 'pierre/master'
8 years ago
James Phillips d64d53a0de Merge pull request #2303 from hashicorp/f-tunes
8 years ago
James Phillips 17b70c7efd
Adds a max raft multiplier and tweaks documentation.
8 years ago
James Phillips 2822334bce
Stops scaling the commit timeout.
8 years ago
James Phillips 53c73f0ee5
Redacts the Circonus API token from stats JSON.
8 years ago
James Phillips 57db4bcce6
Adds performance tuning capability for Raft, detuned defaults, and supplemental docs.
8 years ago
Pierre Delagrave c8c4b9d344 Added a configurable timeout to the client making DNS queries to downstream name servers
8 years ago
James Phillips a48463f100
Removed bad error message for health check status.
8 years ago
James Phillips defa2a6180 Merge pull request #2226 from abhinavdahiya/rm-health-unknown
8 years ago
James Phillips 4c7a0ed3b0
Merge branch 'master' into f-deregister-critical
8 years ago
James Phillips ba60afd5d8
Cleans up based on code review feedback.
8 years ago
James Phillips 9f7a973ace
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled.
8 years ago
James Phillips fbdd021ab9
Adds an "lan" tagged address so we have a way to get them all.
8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout.
8 years ago
James Phillips 55e83c9e1c
Tweaks the WAN address translation unit tests.
8 years ago
James Phillips c0ff412650
Factors translate out into a separate file and makes safe for in-memory RPCs.
8 years ago
Xingyu Chen a570bf6fc2 Update gated_writer.go
8 years ago
David van Geest cdeff022dd
Translate Address to tagged WAN address in HTTP API when appropriate.
8 years ago
James Phillips 3f50b9599a
Updates built-in UI static assets to latest.
8 years ago
James Phillips 456a4934f0
Runs `go fmt`.
8 years ago
James Phillips a53c6a38e2
Tweaks DNS prepared query failover unit test.
8 years ago
Max Timchenko 3b08db47dc
Corrects two issues with DNS prepared query failover
8 years ago
James Phillips b6c1543da8 Merge pull request #2267 from hashicorp/b-srv-trim
8 years ago
James Phillips 17c10d78bc
Passes the index by reference so we can control the allocation.
8 years ago
James Phillips f7fcb03004
Makes name compares case-insensitive.
8 years ago
R.B. Boyer 1c4b4ac54f
Validate gossip encryption key before made persistent in local.keyring
8 years ago
James Phillips 6332e2b367
Avoids allocations and function calls if no extra data is present.
8 years ago
James Phillips e30b99cef5
Renames "seen" to "resolved".
8 years ago
James Phillips 34d6c2d5e1
Fixes the DNS SRV trim bug.
8 years ago
James Phillips bcb0f71759
Finishes up DNS compression by adding opt-out, tests, and documentation. Fixes trim routine.
8 years ago
epipho 41db005d0b
Fix panic where r.Compress would be set before checking for errors.
8 years ago
epipho d965e90306
Compress all DNS responses to prevent them from going over the 512 byte
8 years ago
sweeneyb 14ec3290fa Add support for dns port as a command line option
8 years ago
chenxingyu 0d5eca9683 fix go race bug
8 years ago
James Phillips 282a4b8a3f
Updates bindata after vendor update.
8 years ago
James Phillips f73166ced9
Installs a wrapper around HTTP endpoints that generate metrics.
8 years ago
James Phillips 95930e3cb7 Merge pull request #2237 from hashicorp/f-acl-replication
8 years ago
James Phillips f23786cd5a
Fixes JS exception when there are no coordinates present.
8 years ago
James Phillips d29af2ddc7
Adds an ACL replication status endpoint.
8 years ago
James Phillips 18b817b575
Hides the acl_replication_token from JSON output, like in /v1/agent/self.
8 years ago
James Phillips d336bdd7b0
Adds basic ACL replication plumbing.
8 years ago
Cameron Davison d138752249
atomic write service state and checks files, fixes #1221
8 years ago
Hasyimi Bahrudin bb6bb19aad Remove redundant hardcoded environment variables
8 years ago
Abhinav Dahiya 7c6c3b38bc Fixes #1775; Removes 'unknown' state
8 years ago
James Phillips bd5e5bf19c Adds consul info data into /v1/agent/self endpoint.
8 years ago
James Phillips 2087772297 Fixes startup version print to show the human version.
8 years ago
James Phillips e137f4dafd Adds version info back into the config.
8 years ago
James Phillips cfbe8f430e Merge pull request #2193 from hashicorp/pr-2188-slackpad
8 years ago
James Phillips 129db848c7 Tweaks the docs a bit.
8 years ago
James Phillips 500ea080d2 Removes top-level key support for Circonus configs.
8 years ago
James Phillips b32731d09f Makes sure version is always displayed consistently.
8 years ago
richard.hulm e2f7e825a1 RH: Add revision (if it exists)
8 years ago
matt maier f4525d2582 fix: typo coupled, default token app to "consul", switch submit_interval/SubmitInterval to submission_interval/SubmissionInterval
8 years ago
matt maier fb76256c26 Add Circonus support for Telemetry metrics
8 years ago
richard.hulm 25eeab5e49 Add the version (from config) to the Starting Consul Agent printout
8 years ago
Ryan Uber 5023c4add1 Merge pull request #1847 from mssola/dc-to-datacenter
9 years ago
Ryan Uber ab1654758f Merge pull request #2137 from hashicorp/f-pq-near
9 years ago
Ryan Uber 7fd0c3ce70 agent: parseSource still subs for _agent
9 years ago
Ryan Uber 00819e89de agent: test that DNS passes the agent data through
9 years ago
Ryan Uber 62884a22d4 consul: send agent source data as separate query source
9 years ago
Ryan Uber 104b234dde agent: always pass local agent query source, allow override
9 years ago
Ryan Uber c457ee0075 agent: fix test
9 years ago
Ryan Uber d567d6a6d8 consul: send origin node + dc when executing prepared queries
9 years ago
Ryan Uber 4c1afb1bc6 consul: use the Near field instead of PreferLocal
9 years ago
James Phillips aa1bb5a012 Merge pull request #2131 from hashicorp/b-misc-microoptimizations
9 years ago
Sean Chittenden 32f393b611
Pack Port to be slightly more optimal in terms of struct memory usage.
9 years ago
Sean Chittenden 112f3fd468
Give log reviewers a hint as to which check is failing
9 years ago
Sean Chittenden 56f480a633
Use stable, monotonically increasing port numbers for tests
9 years ago
Ryan Uber 865c264b9c agent: set origin during PQ execution
9 years ago
Sean Chittenden e9a2f5b40c
Chase casting types.CheckID to a string into the state_store.
9 years ago
Sean Chittenden 63adcbd5ef
Revert "Move `structs.CheckID` to a new top-level package, `types`."
9 years ago
Sean Chittenden cbb945e76a
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden f5ab25163e
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden ddbe64a8c8
Float a type balloon. Some strings are square pegs in round holes.
9 years ago
James Phillips 518e122053 Updates web assets to pull in RTT viz.
9 years ago
James Phillips a78b969984 Removes stale scada client and test sections that use (now) unexported fields.
9 years ago
Jeff Mitchell ebf7ea1d75 Use upstream high-level SCADA provider
9 years ago
Nathan Zadoks c4b362d5d2 Parse ACL tokens for the catalog register/deregister endpoints
9 years ago
James Phillips 0f5aabcbbd Merge pull request #2028 from hashicorp/f-atomic-kv
9 years ago
Sean Chittenden 0e34cc3486
Remove completely unused structs
9 years ago
Sean Chittenden 92298e3d02
Speling police
9 years ago
James Phillips 653387637a Reduces the number of operations in a transaction to 64.
9 years ago
James Phillips 778b975e7a Adds a get-tree verb to KV transaction operations.
9 years ago
James Phillips 570d46aa5f Adds some size limiting features to transactions to help prevent abuse.
9 years ago
James Phillips a37bf9de56 Adds a read-only optimized path for transactions.
9 years ago
James Phillips 8a7428e508 Hoists KV processing helper functions up as static functions.
9 years ago
Justin Lambert 9ece75fc78 allow automatically discovering aws ec2 consul servers
9 years ago
James Phillips 4882a9fe43 De-nests the KV output structure (removes DirEnt member).
9 years ago
James Phillips 960b9d6fb6 Switches to "KV" instead of "KV" for the KV operations.
9 years ago
James Phillips 38d0f6676f Refactors TxnRequest/TxnResponse into a form that will allow non-KV ops.
9 years ago
James Phillips 69f58ad04a Moves txn code into a new endpoint, not specific to KV.
9 years ago
James Phillips 1fefdcb962 Terminates pretty responses with a newline.
9 years ago
James Phillips 7a797da3e5 Adds unit tests for HTTP endpoint.
9 years ago
James Phillips e491245062 Performs basic plumbing of KVS transactions through all the layers.
9 years ago
Sean Chittenden 01b8311c94 Include the current version along side the available version.
9 years ago
James Phillips 7bf684ece1 Fixes some bad error returns in the persist service and check paths.
9 years ago
James Phillips ceac68c5eb Merge pull request #1762 from mshean/script-timeout
9 years ago
Sean Chittenden e63d3a1275 Update Check API to use constants
9 years ago
James Phillips c11e1506c5 Merge pull request #1935 from hashicorp/f-reap-time
9 years ago
James Phillips cf00c11221 Sets an anti-footgun floor for the configurable reap time.
9 years ago
Matt Shean fe4107019e add Timeout field to CheckMonitor
9 years ago
Ryan Uber 8cc16b8238 agent: limit HTTP check output to 4k
9 years ago
James Phillips 8c8b146f77 Merge pull request #1884 from mtchavez/1541-data-dir-perms
9 years ago
James Phillips f541acb0ec Makes a detached copy of the tags when doing the override.
9 years ago
James Phillips a885f1bdff Tweaks comment about side effects.
9 years ago
James Phillips eedeba682b Makes reap time configurable for LAN and WAN.
9 years ago
James Phillips 529b24adbf Merge pull request #1934 from hashicorp/b-check-output
9 years ago
James Phillips 244174d2c0 Uses the HealthCheck Clone() method in local_test.go.
9 years ago
James Phillips ed86e5cc72 Adds a clone method to HealthCheck and uses that in local.go.
9 years ago
James Phillips cfe0651208 Syncs a check's output with the catalog when output rate limiting isn't in effect.
9 years ago
Alex Myasoedov 49cc50b0d3 #1878 Set default bind address to 127.0.0.1 in development mode
9 years ago
James Phillips d386019be1 Removes a bogus warning for Windows.
9 years ago
James Phillips 6a3b2b0618 Updates static assets to pull in #1702.
9 years ago
Sean Chittenden 829478793b Clean up verifyUniqueListners
9 years ago
Chavez 416c578f7a Retry http server connecting in agent/http_test
9 years ago
Chavez 31c9829751 Test agent RPC client connection retries
9 years ago
Chavez f201b4b565 command: Data directory permission error message
9 years ago
Sean Chittenden 45bd128f12 Rely exclusively on error to signal failure
9 years ago
Sean Chittenden 7a814fce63 Print a helpful message re: duplicate addresses
9 years ago
Sean Chittenden 5994c9efbf skip_leave_on_int's default changes based on agent mode
9 years ago
Sean Chittenden ec9b9be736 Guard against a node name containing pure whitespace for real
9 years ago
Sean Chittenden ff529ffa40 Guard against a node name containing pure whitespace
9 years ago
Sean Chittenden 583abab552 Node names are not allowed to be empty
9 years ago
Sean Chittenden 53380f8e92 Change tests to accept an "at least this many" answers semantic
9 years ago
Sean Chittenden 7a7063c072 Fix tests
9 years ago
Sean Chittenden 19721f5c3d Editorialize the comment re: UDPAnswerLimit
9 years ago
Sean Chittenden 5ba7e74bb8 Use table-driven test for response limits
9 years ago
Sean Chittenden 0cb965f901 Remove duplicate paste-o
9 years ago
Sean Chittenden ce88cde7b0 Test services and PQT limits
9 years ago
Sean Chittenden e1e441fdee Improve the use of constants across DNS tests
9 years ago
Sean Chittenden c2d4354563 Use a non-default config value
9 years ago
Sean Chittenden 1dd4234683 Test missing config inputs
9 years ago
Sean Chittenden 69696a9c1b Correctly detect that an answer has been truncated
9 years ago
Sean Chittenden efe940e7c4 Remove dead and incorrect code
9 years ago
Sean Chittenden c5c8daf07a Trim UDP responses per configuration
9 years ago
Sean Chittenden 9fb64ab114 Allow adjusting the number of DNS records in a response...
9 years ago
Patrick Feliciano 74623c372a Adding singleton option to DNS for getaddrinfo bug.
9 years ago
Sean Chittenden a92cda7bcd Fix whitespace alignment in a comment
9 years ago
James Phillips 77eb95ddd8 Merge pull request #1861 from hashicorp/b-flaky-test
9 years ago
James Phillips cd7b3d4b49 Widens coordinate update sleeps in unit tests.
9 years ago
Hrishikesh Barua 9f9aa5084b Added help text for -dev option #1804
9 years ago
Wim b5d45322b4 Allow [::] as a bind address (binds to first public IPv6 address)
9 years ago
Miquel Sabaté Solà 4567963d8e command: deprecated the -dc flag in the agent CLI
9 years ago
James Phillips 6e2c106006 Merge pull request #1819 from hashicorp/f-check-accept
9 years ago
James Phillips 4cb16808f4 Adds default set of accept headers for HTTP checks.
9 years ago
James Phillips 5c80647e34 Tweaks algorithm so it's safe with an empty list and adds a PQ test.
9 years ago
Igor Dubinskiy 3a25860270 Make sure UDP DNS responses aren't larger than allowed
9 years ago
James Phillips 98784c6416 Updates to latest compiled ui assets.
9 years ago
James Phillips eb7004f2b8 Renames "debug" endpoint and structures to "explain".
9 years ago
James Phillips d7288e3a5e Adds a prepared query debug endpoint.
9 years ago
James Phillips f46fa33278 Tweaks formatting of inline output messages.
9 years ago
James Phillips 70575002d9 Retains the last output when a TTL check times out.
9 years ago
James Phillips 7ebad899da Adds a new PUT-based TTL check update endpoint.
9 years ago
Stefan Engstrom 525cb0abc1 add accept header */* for agent check
9 years ago
James Phillips 052140f8a7 Merge pull request #1703 from alistanis/fix-issue-#1661
9 years ago
James Phillips e79dd7c8de Fixes redirect from / to /ui when internal UI is enabled.
9 years ago
Chris Cooper 2c6f873ecd add missing test
9 years ago
Chris Cooper fe0e3aaaa0 fixes issue #1661 and adds supporting test
9 years ago
James Phillips 56cbabff63 Adds a sanity check to the local node info compare.
9 years ago
James Phillips d2cc2801fa Merge pull request #1698 from hashicorp/pr-1547-slackpad
9 years ago
James Phillips 607728ddca Adds a test to make sure we get the local address within the DC.
9 years ago
James Phillips 524aaae9b7 Increases wait to account for random stagger.
9 years ago
James Phillips 6790930c4e Factors address translation into a single function.
9 years ago
James Phillips 4be2ab1a75 Moves tagged wan address to be managed by anti-entropy, not serf.
9 years ago
James Phillips b59599742d Adds a test to make sure the local sync doesn't clobber tagged addresses.
9 years ago
James Phillips c60a526fde Sets up config for more address tags down the road, renames struct members.
9 years ago
Evan Gilman de8fd561d0 Use a map for additional node addresses
9 years ago
Evan Gilman 2f26771bb1 Add tests for consul WAN translation
9 years ago
Evan Gilman 146f719a66 Explicitly set advertise address in agent tests
9 years ago
Evan Gilman a3240d28ba Consider WAN addresses during Node and SRV record lookup
9 years ago
Evan Gilman 496cf5ae73 Implement `translate_wan_addrs` config option
9 years ago
Evan Gilman 8fa2a60208 Rectify value of `AdvertiseAddrWan` when set elsewhere
9 years ago
James Phillips ed8a71efd7 Store WanAddress during Service/Check sync
9 years ago
James Phillips 507c83bdbd Merge pull request #1690 from alistanis/use-http-package-statuses
9 years ago
James Phillips d60be51f01 Merge pull request #1284 from nbrownus/telemetry
9 years ago
James Phillips 7bc2ba4c18 Merge pull request #1654 from ryanslade/invalid-check-message
9 years ago
Chris Cooper 5a07e89bb9 Merge branch 'master' of https://github.com/alistanis/consul into use-http-package-statuses
9 years ago
Chris Cooper e2065e10c0 add comment codes
9 years ago
Chris Cooper 00dd9d6b78 refactors http server error codes to use the http statuses defined in the http package instead of literals
9 years ago
Sean Chittenden 8deec17f73 Use panic instead of returning a sentinel UUID values in unit tests
9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package
9 years ago
Nate Brown 43a4f3fe02 Option to disable hostnames from telemetry
9 years ago
Ryan Slade dd98602bd7 Updated invalid check error message.
9 years ago
James Phillips f24a044755 Fixes the static asset generator for new pkg path, updates assets.
9 years ago
Seth Vargo cae0ff354a Use HTTPS + www. where appropriate
9 years ago
James Phillips 71e3901a65 Merge pull request #1592 from hashicorp/b-reap
9 years ago
James Phillips 343838f12b Adds support for the reap lock.
9 years ago
Matt McCoy 9cbed7f89e Add consul agent help for advertise-wan
9 years ago
James Phillips c1fe9092ed Merge pull request #1550 from hashicorp/f-devmode
9 years ago
Philippe M. Chiasson a2eddcab38 remove address splitting
9 years ago
Philippe M. Chiasson 21345a8a7f Move logged client IP to the end of the log message
9 years ago
Philippe M. Chiasson 34c36d9205 Merge branch 'master' of http://github.com/hashicorp/consul into issue/1447/http-access-logs
9 years ago
Ryan Uber 9002bfa37d agent: enable ui for dev mode
9 years ago
Ryan Uber afafae53fd consul: dev mode works
9 years ago
Ryan Uber 87c1283b73 agent: update assetfs output
9 years ago
Ryan Uber 3cf6a173a5 agent: static UI is configurable
9 years ago
Ryan Uber 2d7ced22b3 agent: initial web assets
9 years ago
Ryan Uber c3e7c98da2 agent: compile web assets into consul binary
9 years ago
Philippe M. Chiasson 9553ac0ca8 Merge branch 'master' of http://github.com/hashicorp/consul into issue/1447/http-access-logs
9 years ago
James Phillips d61661a98f Adds a Bool helper function.
9 years ago
James Phillips e80d1a58fb Moves logger down where it's used for reaping.
9 years ago
James Phillips 0b1c346990 Changes sense of option to "reap" and uses nil for "not set".
9 years ago
James Phillips 2b257c922e Adds child process reaping when Consul is running as PID 1.
9 years ago