Commit Graph

5289 Commits

Author SHA1 Message Date
Kyle Havlovitz be17779c42
Convert monitor command to use base.Command 2017-02-09 17:31:52 -05:00
Kyle Havlovitz 14415741a3
Convert members command to use base.Command 2017-02-09 17:12:47 -05:00
Kyle Havlovitz 6c4d4f9a32
Convert maint command to use base.Command 2017-02-09 17:06:19 -05:00
Kyle Havlovitz ccb193f77f
Convert leave command to use base.Command 2017-02-09 16:48:12 -05:00
Seth Vargo 997bd4aa94 Cache assets longer 2017-02-09 14:39:51 -05:00
Seth Vargo 854b0b021a Change cache to 4h 2017-02-09 14:36:28 -05:00
Kyle Havlovitz 746dbc1c51
Make join exit non-zero if no nodes were joined 2017-02-08 19:45:13 -05:00
Kyle Havlovitz 14a7ffc098
Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
Kyle Havlovitz abdf1fbab3
Convert keyring command to use base.Command 2017-02-08 18:25:47 -05:00
Kyle Havlovitz d67151908d
Convert keygen command to use base.Command 2017-02-08 17:19:17 -05:00
James Phillips d3f7a68b2f Update CHANGELOG.md 2017-02-08 14:14:36 -08:00
Kyle Havlovitz 8775b031d3
Convert join command to use base.Command 2017-02-08 17:14:02 -05:00
James Phillips 2ccfa63f9a Merge pull request #2722 from hashicorp/update-deps
Updates memberlist and Serf (and adds new dependencies).
2017-02-08 14:13:37 -08:00
James Phillips f611f071a4 Update CHANGELOG.md 2017-02-08 14:04:55 -08:00
Kyle Havlovitz a3d02a4cbc
Convert info command to use base.Command 2017-02-08 16:58:04 -05:00
Kyle Havlovitz aa1c464961
Convert exec command to use base.Command 2017-02-08 16:57:46 -05:00
Kyle Havlovitz 8985398c7e
Convert event command to use base.Command 2017-02-08 16:56:58 -05:00
James Phillips bc2a45a9de
Updates memberlist and Serf (and adds new dependencies).
This gets a number of improvements:

* Fixed a missing case where gossip would stop flowing to dead nodes for a short while.
* Uses the go-sockaddr library to look for private IP addresses, which prefers non-loopback
  private addresses over loopback ones when trying to automatically determine the advertise address.
* Properly seeds Go's random number generator using the seed library.
* Serf snapshots no longer have the executable bit set on thie file.
2017-02-08 13:56:07 -08:00
James Phillips fba86f911e Merge pull request #2721 from hashicorp/d-remove-atlas-auto-join
Remove Atlas references from getting-started pages
2017-02-08 13:11:51 -08:00
Rob Genova a8d8683b46 remove `https://consul.io` from join links; remove UI link to `downloads.html` 2017-02-08 21:05:07 +00:00
Rob Genova fcaf2f52ee remove Atlas references from getting-started pages 2017-02-08 19:01:53 +00:00
Sean Chittenden e4d6687fa2
Update `vendor/vendor.json` to reflect `shiriou/gopsutil#313` being merged. 2017-02-07 22:39:05 -08:00
James Phillips eb99212b83 Merge pull request #2669 from legendtkl/master
Fix consul kv example with flag separator
2017-02-07 20:17:42 -08:00
James Phillips 242cef5ac8 Removes broken WriteRequest ACL reference for catalog endpoints.
Fixes #1034.
2017-02-07 19:02:18 -08:00
Kyle Havlovitz a4cb414e58 Merge pull request #2717 from hashicorp/f-cli-rework
Begin centralizing command-line parsing
2017-02-07 21:15:06 -05:00
Kyle Havlovitz 0b85bbfed1
Small tweaks to base command 2017-02-07 20:56:49 -05:00
Kyle Havlovitz 197dc10a7f
Add utility types to enable checking for unset flags 2017-02-07 20:14:41 -05:00
Kyle Havlovitz 49d2ce1c3d
Move command Meta to base.Command and split http options 2017-02-07 19:16:41 -05:00
James Phillips 48d7b069ad Merge pull request #2718 from jonathanwcrane/patch-1
fix grammatical error in 2nd paragraph
2017-02-07 07:38:46 -08:00
Jonathan Crane 64bc86b87a fix grammatical error in 2nd paragraph 2017-02-07 10:20:40 -05:00
Kyle Havlovitz edc353914d
Fix the check for displaying the command options 2017-02-06 23:45:58 -05:00
Kyle Havlovitz 8009432b1b
Convert configtest and force-leave commands to use Meta 2017-02-06 20:50:51 -05:00
James Phillips c990e683f2 Merge pull request #2716 from hashicorp/b-lower-hostid
Update `shirou/gopsutil/313` to pull in lowercased `HostID`s.
2017-02-06 16:32:52 -08:00
Sean Chittenden 7d9c9881fc
Update `shirou/gopsutil/313` to pull in lowercased `HostID`s. 2017-02-06 16:27:56 -08:00
James Phillips 3c26515607 Merge pull request #2715 from hashicorp/slackpad-patch-1
Drop testutil wait to 2 seconds.
2017-02-06 12:06:14 -08:00
James Phillips 14c6d009cc Drop testutil wait to 2 seconds.
There's likely a race (related to https://github.com/hashicorp/consul/issues/2644) where the catalog update might be in but the leader tracking doesn't report a leader, so this blocks forever and then times out. As a workaround we can lower the query wait time to always allow for a few retries.
2017-02-06 11:52:00 -08:00
James Phillips 97dbfb8b32
Points at new release and puts tree in 0.8.0 dev mode. 2017-02-06 11:08:30 -08:00
Kyle Havlovitz e86ec5b54c
vendor: Add golang-text dependency 2017-02-06 13:52:43 -05:00
James Phillips 1c442cb570
Release v0.7.4 2017-02-06 10:50:21 -08:00
Kyle Havlovitz 3d09fb880f
Merge branch 'master' into f-cli-rework 2017-02-06 13:46:44 -05:00
James Phillips 5c0a89ccf5
Puts the tree in 0.7.4 release mode. 2017-02-06 10:14:21 -08:00
James Phillips 0797d4f92b
Updates Serf library to get relay fixes.
https://github.com/hashicorp/serf/pull/447
2017-02-06 08:57:36 -08:00
Sean Chittenden f228812746
Update github.com/shiriou/gopsutil's `vendor.json` entries.
Direct to `master` commit now that
https://github.com/shirou/gopsutil/pull/312 has been merged.
2017-02-03 22:31:51 -08:00
Sean Chittenden abceea206d
Chase an upstream `go fmt` that has been long overdue. 2017-02-03 22:31:11 -08:00
Sean Chittenden 95a8ee35d6
Remove _test.go files from shirou/gopsutil 2017-02-03 22:29:02 -08:00
Sean Chittenden ee8705f549
Add durable HostID generation for Windows.
https://github.com/shirou/gopsutil/pull/312
2017-02-02 16:11:54 -08:00
James Phillips 04d4bc9ea2 Merge pull request #2708 from oliora/master
Fix `acquire` parameter nesting
2017-02-02 15:25:25 -08:00
Andrey Upadyshev 1ec69ba1d2 Fix `acquire` parameter nesting 2017-02-03 00:20:35 +01:00
James Phillips 9423bf948b Merge pull request #2707 from hashicorp/e-reduce-len-constraint
E reduce len constraint
2017-02-02 14:38:22 -08:00
Sean Chittenden b94aac3a2c
Round the node lookup prefix down to the nearest modulo two size before
performing the lookup.

Hat tip: @dadgar
2017-02-02 12:13:58 -08:00