Commit Graph

7413 Commits

Author SHA1 Message Date
Paul Banks e833b535a6
Notes on ACL token storage and permissions 2018-03-02 16:20:11 +00:00
Paul Banks 4605d4ed0b
Update CHANGELOG.md 2018-02-28 13:26:08 +00:00
Jack Pearkes 732e0c3bb4
Merge pull request #3922 from hashicorp/docs-fix-two-dc-links
website: override automatic linking of list items for softlayer dc
2018-02-27 12:09:34 -08:00
Jack Pearkes 10f3eb623a website: override automatic linking of list items for softlayer dc
This avoids a conflict with #datacenter later on the page. We're mixing
histroic manually specified anchors with generated anchors (via
redcarpet / middleman-hashicorp) so we have to manually override the
automatic generation here.

I was tempted to rewrite the old manual anchors to use the automatic
generation, but there is no way to maintain backwards compatibility,
so will leave that for a time when it is appropriate for us to break
links (or redirect them, etc).

Fixes #3916
2018-02-27 10:53:12 -08:00
Preetha acfc60523f
Merge pull request #3914 from alvin-huang/fix_vendor
remove old pkgs and put deps of missing packages in vendor.json
2018-02-24 10:01:12 -06:00
Alvin Huang 85c9cfea05 remove old pkgs and put deps of missing packages in vendor.json 2018-02-23 17:08:24 -05:00
Paul Banks 9b97bebc95
Merge pull request #3903 from hashicorp/build-fixes
[WIP] Attempt to find some low-hanging fruit for CI failures
2018-02-23 13:12:45 +00:00
Paul Banks 64fa1ebb59
Merge pull request #3910 from hashicorp/fix-shell
Fix test running in non-bash shells
2018-02-23 13:12:18 +00:00
Kyle Havlovitz 5956e778db
Add a link to the leader election guide in the lock API docs 2018-02-22 15:57:46 -08:00
Kyle Havlovitz 1e11082709
Use GOTAGS in the vet make goal 2018-02-22 15:57:09 -08:00
Paul Banks dbaabb1dbc
Fix test running in non-bash shells 2018-02-22 14:06:06 +00:00
Paul Banks 6da6e086ef
Merge pull request #3900 from hashicorp/fix-monitor-sigint-3891
Fixes #3891: agent monitor no longer unresponsive before logs stream.
2018-02-21 21:28:33 +00:00
Preetha Appan c99e393b4f
Update CHANGELOG 2018-02-21 13:28:17 -06:00
Preetha 68dc2eee0a
Merge pull request #3909 from hashicorp/b-leaderloop-revokeonerror
Make sure revokeLeadership is called if establishLeadership errors
2018-02-21 13:23:31 -06:00
Preetha Appan 80791d5b21
Remove extra newline 2018-02-21 13:21:47 -06:00
Preetha Appan 907b97b7f2
Unit test that calls revokeLeadership twice to make sure its idempotent 2018-02-21 12:48:53 -06:00
Preetha Appan f59abcc394
Make sure revokeLeadership is called if establishLeadership errors 2018-02-21 12:33:22 -06:00
Alex Dadgar d1ede2c93d
Merge pull request #3908 from hashicorp/f-improved-autopilot-shutdown
Improve autopilot shutdown to be idempotent
2018-02-21 10:19:48 -08:00
Alex Dadgar 18bf9647d5 Test autopilots start/stop idempotency 2018-02-21 10:19:30 -08:00
Paul Banks 7b85f09d59
Travis evaluates ENV before cloning git repo and cding so we need to delay gathering packages until the makefile 2018-02-21 12:54:23 +00:00
Paul Banks 0166b34b5d
Use relative paths as Travis doesn't setup GOPATH right 2018-02-21 12:27:30 +00:00
Paul Banks 41ae19c677
Split the heavy test packages out to their own Jobs. 2018-02-21 12:20:33 +00:00
Paul Banks 6272148d1f
Try parallel packages but not tests 2018-02-21 11:58:51 +00:00
Alex Dadgar 33c5afdb31 Improve autopilot shutdown to be idempotent 2018-02-20 15:51:59 -08:00
Jack Pearkes 390487866f try enabling sudo in Travis to run builds in GCE
https://docs.travis-ci.com/user/reference/overview/#Virtualisation-Environment-vs-Operating-System
2018-02-20 10:52:51 -08:00
Paul Banks 29feb66fbd
Portability! 2018-02-20 15:48:18 +00:00
Paul Banks 6f266a0103
Only output sparse lines to keep Travis happy while logging verbosely to disk 2018-02-20 15:33:36 +00:00
Paul Banks e416f828dc
Output from test as we run to stop travis killing us and try no parallelism to avoid timing issues on their contended CPUs 2018-02-20 13:16:53 +00:00
Paul Banks de58eb1820
Fixes #3891: agent monitor no longer unresponsive before logs stream.
The root cause is actually that the agent's streaming HTTP API didn't flush until the first log line was found which commonly was pretty soon since the default level is INFO. In cases where there were no logs immediately due to level for instance, the client gets stuck in the HTTP code waiting on a response packet from the server before we enter the loop that checks the shutdown channel from the signal handler.

This fix flushes the initial status immediately on the streaming endpoint which lets the client code get into it's expected state where it's listening for shutdown or log lines.
2018-02-19 21:53:10 +00:00
Paul Banks 4c90fbfd90
Merge pull request #3894 from hashicorp/anubhavmishra-patch-1
fix typo
2018-02-19 14:14:45 +00:00
Anubhav Mishra 0813175340
fix typo 2018-02-18 23:13:57 -08:00
Kyle Havlovitz 1ce90e2a19
Update CHANGELOG.md 2018-02-15 13:48:58 -08:00
Kyle Havlovitz 12da56849a
Merge pull request #3892 from hashicorp/coordinate-acl-fix
Fix the coordinate update endpoint not passing the ACL token
2018-02-15 13:47:40 -08:00
Kyle Havlovitz 139b98a427
Fix the coordinate update endpoint not passing the ACL token 2018-02-15 11:58:02 -08:00
Kyle Havlovitz 264b4c0e04
Merge pull request #3889 from arthurlogilab/patch-1
[demo/vagrant-cluster] upgrade from jessie to stretch
2018-02-14 11:06:25 -08:00
Kyle Havlovitz 93b422fcae
Merge pull request #3888 from hashicorp/fix-doc-typos
Fix a couple of minor typos found in docs.
2018-02-13 14:21:40 -08:00
Arthur Lutz f1d957c6ae
[demo/vagrant-cluster] upgrade from jessie to stretch 2018-02-13 20:01:36 +01:00
Paul Banks a216d136fe
Fix a couple of minor typos found in docs. 2018-02-13 16:21:12 +00:00
Andrei Burd b608091014 adding human readability for dns requests debug log (#3751) 2018-02-11 09:02:28 -06:00
Tomáš Bedřich e4792dbbee Update check script exit code explanation (#3882)
Change misleading formulation which might imply, that any non-zero code is enough to mark check as failing.
(https://www.consul.io/docs/agent/checks.html#check-scripts)
2018-02-11 08:30:40 -06:00
Kyle Havlovitz c3e94970a0
Add gRPC fields to client api and agent check endpoint docs 2018-02-09 16:02:27 -08:00
Kyle Havlovitz 7acc1d6dbc
Puts the tree back into dev mode 2018-02-09 10:25:58 -08:00
Preetha Appan 707c5c7204
Updates download version to 1.0.6 2018-02-09 12:21:18 -06:00
Preetha Appan 9a494b5fb9
Release v1.0.6 2018-02-09 12:00:27 -06:00
Preetha Appan f9a418108e
Puts tree in release mode for 1.0.6 2018-02-09 11:45:56 -06:00
Preetha e0bed0fe8b
Update CHANGELOG.md 2018-02-09 11:41:35 -06:00
James Phillips 0960112cad
Bumps Go version back down to 1.9.3.
See #3879.
2018-02-08 19:42:53 -08:00
James Phillips 9ae9ab0fe9
Updates the change log. 2018-02-08 18:47:30 -08:00
James Phillips 4f664595e2
Merge pull request #3878 from hashicorp/issue-3877
Fixes a panic on TCP-based DNS lookups.
2018-02-08 18:45:54 -08:00
James Phillips 3724e49ddf
Fixes a panic on TCP-based DNS lookups.
This came in via the monkey patch in #3861.

Fixes #3877
2018-02-08 17:57:41 -08:00