Commit Graph

6160 Commits

Author SHA1 Message Date
Preetha Appan 4b8958b35b Removed unit test, added clarifying comment and returned a friendlier error message similar to the one in agent's AddService method
Fixes #3297
2017-07-18 16:15:47 -05:00
Preetha Appan 530e87eab0 Fix race condition between removing a service and adding a check for the same service, which was causing orphaned checks 2017-07-18 16:15:47 -05:00
Frank Schroeder bdc21a3986
Update CHANGELOG.md 2017-07-18 21:02:14 +02:00
Frank Schroeder 8bcbb7b827 agent: stop docker checks on shutdown 2017-07-18 20:59:24 +02:00
Frank Schroeder c8ae94b688 agent: stop and remove docker checks
Note that there is no test since the correct way to solve (and test)
this is to replace the different maps with a single one or to hide
that functionality behind a separate data structure. This will be
addressed in #3294.

Fixes #3265
2017-07-18 20:59:24 +02:00
Frank Schroeder 1bc0acf437
Update CHANGELOG.md 2017-07-18 20:26:49 +02:00
Frank Schroeder b4e5c0647b
agent: replace docker check
This patch replaces the Docker client which is used
for health checks with a simplified version tailored
for that purpose.

See #3254
See #3257
Fixes #3270
2017-07-18 20:24:38 +02:00
Frank Schroeder 25aaf35522
vendor: drop unused dependencies 2017-07-18 20:24:21 +02:00
James Phillips 30316a9a54 Update acl.html.md 2017-07-18 07:44:35 -07:00
James Phillips 8058f1b234 Improves structure of ACL guide. 2017-07-18 07:41:59 -07:00
James Phillips 52c69bbf17 Removes a merge conflict marker from the ACL guide. 2017-07-18 07:35:17 -07:00
James Phillips 3984530d63 Update upgrade-specific.html.md 2017-07-18 07:14:16 -07:00
James Phillips 0c57f90fd7 Update upgrade-specific.html.md 2017-07-18 07:11:59 -07:00
Frank Schroeder 828068810d
build: fix travis build 2017-07-18 09:24:40 +02:00
Frank Schroeder 94a09b4434 build: use vendorfmt to make vendor.json more merge friendly 2017-07-18 09:15:25 +02:00
Frank Schroeder 525362d614
Update CHANGELOG.md 2017-07-18 09:12:47 +02:00
James Phillips d28b13c120 Removes the web UI as a separately released package.
Since we have this built-in via the `-ui` configuration, the only reason
to use `-ui-dir` is if you are tweaking the web UI, so there's no need
to release the web UI as a .zip archive separately.
2017-07-18 09:10:22 +02:00
James Phillips fe7a24c846 Adds a missing newline to the snapshot agent page. 2017-07-17 22:22:50 -07:00
James Phillips 16570bf189 Update CHANGELOG.md 2017-07-17 22:15:19 -07:00
Charlie Voiselle 1d8c78645d Removed localhost from links (#3289)
Two links were still referring to localhost. Made them relative and tested.
2017-07-17 19:59:58 -07:00
James Phillips acc5a7531a
Release v0.9.0-rc1 2017-07-17 15:55:41 -07:00
James Phillips bae863717c
Bumps tree into 0.9.0-rc1 release mode. 2017-07-17 15:39:25 -07:00
James Phillips 203ff04e67 Performs surgery on Docker deps so we can build on Solaris and Windows. (#3288) 2017-07-17 15:34:26 -07:00
James Phillips adc991fa5a Update upgrade-specific.html.md 2017-07-17 14:11:08 -07:00
James Phillips 1a8f4296df Update CHANGELOG.md 2017-07-17 12:55:52 -07:00
James Phillips c82d84a1dd Updates memberlist to pick up Lifeguard research findings. (#3287)
See https://www.hashicorp.com/blog/making-gossip-more-robust-with-lifeguard/.
2017-07-17 12:54:17 -07:00
James Phillips 861063d3a4 Update CHANGELOG.md 2017-07-17 12:50:53 -07:00
James Phillips a449af9eb8 Update CHANGELOG.md 2017-07-17 12:50:33 -07:00
James Phillips 42472e8bb5 Prevents disabling gossip keyring file from disabling gossip encryption. (#3278) 2017-07-17 12:48:45 -07:00
James Phillips 9eb17dc37f Update CHANGELOG.md 2017-07-17 12:05:22 -07:00
James Phillips 788dd255a1 Adds new config to make script checks opt-in, updates documentation. (#3284) 2017-07-17 11:20:35 -07:00
James Phillips f7629a4f66 Fixes a broken link. 2017-07-17 00:07:34 -07:00
James Phillips 096003df5a Update CHANGELOG.md 2017-07-17 00:02:27 -07:00
James Phillips 08b490df9c Update CHANGELOG.md 2017-07-16 21:14:31 -07:00
James Phillips 838591c916 Changes remote exec KV read to call GetTokenForAgent(). (#3283)
* Changes remote exec KV read to call GetTokenForAgent(), which can use
the acl_agent_token instead of the acl_token.

Fixes #3160.

* Fixes remote exec unit test with ACLs.

* Adds unhappy ACL path to unit tests for remote exec.
2017-07-16 21:12:16 -07:00
James Phillips 1035029b0a Update CHANGELOG.md 2017-07-16 20:09:49 -07:00
James Phillips 5876b81896 Adds node read privileges to the acl_agent_master_token. (#3277)
Fixes #3113.
2017-07-16 20:08:26 -07:00
James Phillips e1861c581e Update CHANGELOG.md 2017-07-16 14:30:22 -07:00
Frank Schröder de97fb0670 azure: tag map can return nil (#3280)
Fixes #3193
2017-07-16 14:29:43 -07:00
James Phillips 6cba31df99 Update CHANGELOG.md 2017-07-16 14:28:16 -07:00
Frank Schroeder 3562048572 vendor: drop unused dependencies 2017-07-15 14:35:20 -07:00
James Phillips 510c3ab6dc Update CHANGELOG.md 2017-07-15 00:09:04 -07:00
James Phillips ac7c48c3ea Obfuscates ACL tokens appearing in /v1/acl/<verb>/<token> APIs. (#3276)
* Obfuscates ACL tokens appearing in /v1/acl APIs.

* Makes test positively identify the desired strings.

* Adds an example and explanation of the regular expression.
2017-07-15 00:07:08 -07:00
James Phillips 8b0e14ade4 Update CHANGELOG.md 2017-07-14 20:45:07 -07:00
James Phillips 759be97635 Changes ACL clone response to 403 if not authorized, or if token doesn't exist. (#3275)
Fixes #1113
2017-07-14 20:43:30 -07:00
Kyle Havlovitz 2dc0231374 Update CHANGELOG.md 2017-07-14 17:53:44 -07:00
Kyle Havlovitz 8b7b612dfc Merge pull request #3274 from hashicorp/tls-area-docs
Add network area TLS setting to docs
2017-07-14 17:45:53 -07:00
Kyle Havlovitz d985dbc36b
Add TLS setting to router areas 2017-07-14 17:38:08 -07:00
James Phillips 9e93ef94f1 Update CHANGELOG.md 2017-07-14 17:32:09 -07:00
James Phillips f5188dfe8c Expands and rework context support in the API client. (#3273) 2017-07-14 17:30:08 -07:00