Commit graph

4060 commits

Author SHA1 Message Date
James Phillips 2187be8294 Merge pull request #2178 from hashicorp/f-rpc-test
Adds some supplemental tests for RPC "no leader" retries.
2016-07-11 17:34:48 -06:00
James Phillips a1266e4164 Adds some supplemental tests for RPC "no leader" retries.
This adds some extra tests for #2175.
2016-07-11 17:32:26 -06:00
James Phillips 842d81b694 Merge pull request #2175 from hashicorp/f-hold-rpc
Gracefully handle short lived outages by holding RPC calls
2016-07-11 16:43:11 -06:00
Armon Dadgar 2d8cf9ef4a consul: change tests to not expect ErrNoLeader 2016-07-10 13:24:18 -04:00
Armon Dadgar 5d0a977bdf consul: Refactor forward to hold RPC when no leader is known 2016-07-10 13:24:06 -04:00
Armon Dadgar 191876f87e consul: Add RPCHoldTimeout as tunable hold period 2016-07-10 13:23:43 -04:00
James Phillips 76afbf5c96 Merge pull request #2144 from janisz/add_marathon-consul
Added allegor/marathon-consul in community tools
2016-07-06 10:54:05 -07:00
James Phillips 920a638599 Merge pull request #2159 from myENA/website/consul-backinator
Add link to consul-backinator utility
2016-07-06 10:50:49 -07:00
Ryan Uber d8fd470f4f Merge pull request #1837 from cleung2010/obfuscate-acl-token
Obfuscate token for lookupACL error
2016-07-05 13:56:49 -07:00
Ryan Uber 05736df9e0 Merge pull request #1836 from shaneog/terraform-google
Add Terraform config for Google Cloud Platform
2016-07-05 13:55:16 -07:00
Shane O'Grady bc85603f0e Add Terraform config for Google Cloud Platform
Supports:
- Ubuntu 14.04 LTS
- RHEL 6
- RHEL 7
- CentOS 6
- CentOS 7
2016-07-05 17:11:52 -03:00
Shane O'Grady 3fe7162d12 Add RPC port to iptables config
From https://www.consul.io/docs/agent/options.html#ports
2016-07-05 17:11:52 -03:00
Shane O'Grady 297e4f02c5 Move scripts to a shared directory 2016-07-05 17:11:52 -03:00
Ryan Uber 62d0edbdd4 Merge pull request #1847 from mssola/dc-to-datacenter
[proposal] command: deprecated the -dc flag in the agent CLI
2016-07-05 13:01:51 -07:00
Ryan Uber ad46a724e0 Merge pull request #1971 from iadknet/feature/terraform-centos7
terraform: added support for centos7 to aws
2016-07-05 12:56:10 -07:00
Calvin Leung Huang 38134f1b8c Fix substring length on obfuscated token 2016-07-05 15:53:30 -04:00
Ryan Uber 855374077b Merge pull request #1863 from mssola/bash-completion
contrib: added bash completion
2016-07-05 12:52:58 -07:00
James Phillips 95d9a67b29 Merge pull request #2160 from hashicorp/f-api-pq-template
Adds query templates to the api package
2016-07-02 19:45:54 -07:00
Ryan Uber 6deb17d069 api: add query templates 2016-07-02 16:05:41 -07:00
Aaron Hurt 4c5686cdf7 Alter instructions for adding tools to the list 2016-07-02 15:37:43 -05:00
Aaron Hurt 89d26df41a Add link to consul-backinator utility 2016-07-02 15:33:47 -05:00
James Phillips 5302660c59 Merge pull request #2158 from sean9999/patch-1
small typo
2016-07-02 01:00:58 -07:00
Sean Macdonald c24fe9f8b5 small typo 2016-07-02 01:29:00 -04:00
James Phillips 1d84d10c65 Merge pull request #2157 from hashicorp/f-near-api
Adds near param to API client
2016-07-01 16:53:38 -07:00
Ryan Uber d768de2ed4 api: add Near parameter to PQ's 2016-07-01 16:41:46 -07:00
James Phillips 63253a22c2 Merge pull request #2156 from hashicorp/f-sort-local
Sort source node first if at position <= 10 in PQ's
2016-07-01 15:01:39 -07:00
Ryan Uber 577523fc73 consul: sort source node first if at position <= 10 in PQ's 2016-07-01 14:28:58 -07:00
Ryan Uber c3356f697e Update CHANGELOG.md 2016-07-01 12:42:20 -07:00
Ryan Uber e9960e6c85 Merge pull request #2137 from hashicorp/f-pq-near
Support "near" parameter in prepared query service block
2016-07-01 12:28:48 -07:00
Ryan Uber c5c0f225b5 website: add upgrading note for Near param in PQ's 2016-07-01 12:26:14 -07:00
Ryan Uber ccbe86d7a8 consul: mention magic _agent token in struct comments 2016-07-01 11:50:30 -07:00
Ryan Uber 53dc58ff27 website: document near parameter of prepared queries 2016-07-01 11:50:09 -07:00
Ryan Uber 134f66e3d4 agent: parseSource still subs for _agent 2016-07-01 10:04:58 -07:00
Ryan Uber 5089561b1b agent: test that DNS passes the agent data through 2016-07-01 09:46:26 -07:00
Ryan Uber ebacaa2d67 consul: send agent source data as separate query source 2016-06-30 16:51:18 -07:00
Ryan Uber ec8ade1800 agent: always pass local agent query source, allow override 2016-06-30 12:11:48 -07:00
Ryan Uber 782a081925 consul: use source parameter for near prepared queries 2016-06-30 12:11:20 -07:00
James Phillips ef43b8b2aa Merge pull request #2149 from hashicorp/slackpad-patch-1
Adds a note about prepared queries to the coordinates internals guide.
2016-06-28 23:02:11 -07:00
James Phillips 2dc98dee32 Adds a note about prepared queries to the coordinates internals guide. 2016-06-28 23:02:00 -07:00
James Phillips ba3845ad07 Update CHANGELOG.md 2016-06-28 09:13:36 -07:00
James Phillips 052f9d1c24 Update CHANGELOG.md 2016-06-28 09:08:31 -07:00
janisz 05539d91b5 Added allegor/marathon-consul in community tools
With @dankraw we authored https://github.com/allegro/marathon-consul/ this is fork of https://github.com/CiscoCloud/marathon-consul that is no longer developed (see this comment https://github.com/CiscoCloud/marathon-consul/issues/17#issuecomment-161678453).
2016-06-24 23:42:07 +02:00
Ryan Uber aae9c2eb30 agent: fix test 2016-06-21 16:28:26 -07:00
Ryan Uber 270270a33a consul: send origin node + dc when executing prepared queries 2016-06-21 15:34:26 -07:00
Ryan Uber 925915c6ac consul: test baked-in distance sort 2016-06-21 12:54:18 -07:00
Ryan Uber 114e57fff1 consul: use the Near field instead of PreferLocal 2016-06-21 12:39:40 -07:00
James Phillips 8358df599d Merge pull request #2127 from hashicorp/b-remote-consuls-locking
Ensure locking of `Server`'s `remoteConsuls`.
2016-06-21 10:00:04 -07:00
James Phillips f9e2900692 Merge pull request #2131 from hashicorp/b-misc-microoptimizations
Misc micro optimizations
2016-06-21 09:59:01 -07:00
James Phillips 88e3ee72ec Merge pull request #2130 from hashicorp/b-fix-rtt-deadlock
Fix deadlock in Consul RTT.
2016-06-21 09:55:04 -07:00
Sean Chittenden ebdb72ce0a
Ensure locking of Server's remoteConsuls. 2016-06-20 22:59:49 -07:00