Kyle Havlovitz
fbcd43e95c
Merge pull request #2704 from hashicorp/f-relay-query-responses
...
Add relay-factor arg to keyring operations
2017-02-02 12:15:19 -05:00
James Phillips
a973ed9570
Merge pull request #2572 from hashicorp/jbs-2535
...
Notes about memory usage (helps with #2535 )
2017-02-02 09:08:58 -08:00
Kyle Havlovitz
4fc3bd3abf
Added -relay-factor param to keyring operations
2017-02-01 21:53:29 -05:00
Kyle Havlovitz
21ce56e6f3
Update serf deps
2017-02-01 20:57:37 -05:00
James Phillips
0fa3094494
Removes an obsolete environment variable from the example upstart script.
2017-02-01 16:56:53 -08:00
James Phillips
40454c999a
Adds a test for node UUID or name lookups.
2017-02-01 16:41:44 -08:00
Sean Chittenden
5030aa5459
Revert 97904cec95f1a1fafd18405f0dd143eb63d595a9
2017-02-01 16:32:30 -08:00
Sean Chittenden
91021a9d93
Add a note about looking up nodes by their node id.
2017-02-01 16:26:36 -08:00
Sean Chittenden
1c5d6eff76
Merge pull request #2702 from hashicorp/f-dns-nodeid
...
DNS lookup by Consul node ID
2017-02-01 16:23:18 -08:00
Sean Chittenden
f8b64ec5f8
Treat a uuid prefix lookup error as a soft error, as if a node name
...
lookup returned nil.
Add a TODO to note where a future point of logging should occur once a
logger is present and a few additional comments to explain the program
flow.
2017-02-01 16:09:25 -08:00
Sean Chittenden
6844ebb43b
Treat a uuid prefix lookup error as a soft error, as if a node name lookup returned nil.
...
Add a TODO to note where a future point of logging should occur once a
logger is present.
2017-02-01 15:51:25 -08:00
Sean Chittenden
1d9c5a3efb
Run a test of NodeServices()
with a NodeID as an argument.
2017-02-01 15:41:10 -08:00
Sean Chittenden
b241cfc7fd
Whoops. Return an empty set in the event that there are multiple matches.
2017-02-01 15:18:00 -08:00
Sean Chittenden
324215c842
Rename nodeName
to nodeNameOrID
.
2017-02-01 14:59:24 -08:00
Sean Chittenden
19c2cd106a
Toggle AllowMissing
to false to accommodate old clients without Node IDs.
2017-02-01 14:58:34 -08:00
Sean Chittenden
c9eea45b1c
Enable looking up consul nodes by their node ID.
...
Assuming the following output from a consul agent:
```
==> Consul agent running!
Version: 'v0.7.3-43-gc5e140c-dev (c5e140c+CHANGES)'
Node ID: '40e4a748-2192-161a-0510-9bf59fe950b5'
Node name: 'myhost'
```
it is now possible to lookup nodes by their Node Name or Node ID, or a
prefix match of the Node ID, with the following caveats re: the prefix
match:
1) first eight digits of the Node ID are a required minimum (eight was
chosen as an arbitrary number)
2) the length of the Node ID must be an even number or no result will be
returned.
```
% dig @127.0.0.1 -p 8600 myhost.node.dc1.consul.
myhost.node.dc1.consul. 0 IN A 127.0.0.1
% dig @127.0.0.1 -p 8600 40e4a748-2192-161a-0510-9bf59fe950b5.node.dc1.consul.
40e4a748-2192-161a-0510-9bf59fe950b5.node.dc1.consul. 0 IN A 127.0.0.1
% dig @127.0.0.1 -p 8600 40e4a748.node.dc1.consul.
40e4a748.node.dc1.consul. 0 IN A 127.0.0.1
% dig @127.0.0.1 -p 8600 40e4a74821.node.dc1.consul.
40e4a74821.node.dc1.consul. 0 IN A 127.0.0.1
% dig @127.0.0.1 -p 8600 40e4a748-21.node.dc1.consul.
40e4a748-21.node.dc1.consul. 0 IN A 127.0.0.1
```
2017-02-01 14:46:25 -08:00
Kyle Havlovitz
ee4b14a0ad
Update CHANGELOG.md
2017-02-01 16:40:26 -05:00
Kyle Havlovitz
a12289ced1
Update CHANGELOG.md
2017-02-01 16:39:32 -05:00
Kyle Havlovitz
f48cd78bc5
Merge pull request #2699 from hashicorp/f-tls-min-version
...
Add TLSMinVersion to config options
2017-02-01 16:31:53 -05:00
Kyle Havlovitz
086975ac0a
Add TLSMinVersion to config options
2017-02-01 16:20:33 -05:00
James Phillips
cb88167729
Merge pull request #2698 from Cbeck527/master
...
Docs: add consul kv import/export links to sidebar
2017-02-01 12:26:39 -08:00
Chris Becker
2328edbcb5
Add consul kv import/export links to sidebar
2017-02-01 15:11:39 -05:00
Sean Chittenden
e39dd09bfa
Small premature optimization in isUUID()
.
...
If the length isn't `36`, return `false` immediately before firing up
the regexp engine.
2017-02-01 11:00:06 -08:00
James Phillips
df52e83720
Update CHANGELOG.md
2017-02-01 10:31:20 -08:00
James Phillips
10859f33c9
Merge pull request #2697 from hashicorp/f-gopsutil
...
Reintroduce the necessary vendor bits for per-node IDs
2017-02-01 10:30:26 -08:00
Sean Chittenden
9e2557c53c
Re-cherry-pick 71d807f607589f2eb4fea4e83e3876d122c8afc0 and e2320d69b6b155d8223758415aabafc60a0e9d3b.
2017-02-01 10:27:04 -08:00
Sean Chittenden
48037c516d
Add missing shirou/gopsutils vendor dependencies and files that were reverted
2017-02-01 10:26:00 -08:00
Sean Chittenden
2b460466ed
Catch cross-compiliation build failures at Travis.
2017-02-01 10:22:27 -08:00
Sean Chittenden
b9ea658cce
Merge branch 'master' into f-gopsutil
2017-02-01 08:44:30 -08:00
Sean Chittenden
968a8e8257
Reintroduce the necessary vendor bits for per-node IDs
...
* `shirou/gopsutil`
* `shirou/w32`
2017-02-01 08:36:24 -08:00
James Phillips
d85873fd21
Update CHANGELOG.md
2017-02-01 07:00:32 -08:00
James Phillips
2785d2009c
Merge pull request #2695 from hashicorp/b-srv-cname
...
Fixes issue with missing CNAME for services with non-IP addresses set in SRV responses.
2017-02-01 06:58:38 -08:00
James Phillips
d593771d3c
Merge pull request #2692 from Toady00/patch-1
...
Specify PUT for agent maintenance endpoint
2017-02-01 06:58:20 -08:00
James Phillips
cbaf7ee81e
Merge pull request #2666 from hashicorp/sethvargo-patch-1
...
Say which ec2 perms to use
2017-02-01 06:57:07 -08:00
James Phillips
691aec917e
Fixes issue with missing CNAME for services with non-IP addresses set in SRV responses.
2017-01-31 20:57:50 -08:00
James Phillips
8989ed67a9
Update CHANGELOG.md
2017-01-31 19:14:29 -08:00
James Phillips
e729347980
Merge pull request #2694 from hashicorp/revert-2691-f-gopsutil
...
Revert "Adds gopsutil in the loop when trying to make the node ID."
2017-01-31 19:14:17 -08:00
James Phillips
d1824ce361
Revert "Adds gopsutil in the loop when trying to make the node ID."
2017-01-31 19:13:49 -08:00
James Phillips
f94875f070
Update CHANGELOG.md
2017-01-31 19:04:48 -08:00
James Phillips
d89aca86e6
Merge pull request #2691 from hashicorp/f-gopsutil
...
Adds gopsutil in the loop when trying to make the node ID.
2017-01-31 19:02:51 -08:00
James Phillips
e7b683dad8
Gets rid of a goto.
2017-01-31 19:02:25 -08:00
Brandon Dennis
fe8e7238e5
Specify PUT for agent maintenance endpoint
...
Through most of the documentation if the method isn't specified it should be a `GET` request, but here it should be a `PUT`.
2017-01-31 16:00:27 -05:00
James Phillips
d9b999109a
Adds gopsutil into node ID process and attempts to use host ID, if availabile.
2017-01-31 08:51:33 -08:00
James Phillips
ee8d373d6a
Adds gopsutil to vendored deps.
2017-01-31 08:51:25 -08:00
Patrick Sodré
5b68178dc1
Simple RFC 2782 support with optional .service tag
...
Add support for SRV queries of names matching:
_<service>._<protocol>.[.service][.datacenter]<.domain>
2017-01-30 19:46:02 -05:00
James Phillips
3455a4d40e
Merge pull request #2688 from ryon/master
...
Add Google Tag Manager #GTM-NR2SD7C
2017-01-27 13:33:27 -08:00
Ryon Coleman
c68106dcc6
Add Google Tag Manager #GTM-NR2SD7C
2017-01-27 15:41:42 -05:00
James Phillips
090398c824
Merge pull request #2687 from hashicorp/add-vault-to-ecosystem
...
docs: Added 'vault' to ecosystem page
2017-01-27 10:25:54 -08:00
vishalnayak
e8d43bfee2
docs: Added 'vault' to ecosystem page
2017-01-27 13:19:19 -05:00
James Phillips
bcaf68914c
Merge pull request #2685 from jdanekrh/patch-1
...
Update README.org
2017-01-27 09:34:11 -08:00