Commit Graph

10076 Commits

Author SHA1 Message Date
Michael Schurter d316ac70af
Merge pull request #3715 from hashicorp/docs-3685-changelog
Add #3685 to changelog
2018-01-09 14:02:37 -08:00
Michael Schurter 1cc4759025 Add demo TLS certificates and configs
As well as a brief readme and makefile for generating the certificates.
2018-01-09 10:14:42 -08:00
Michael Schurter 189ce7f991
Merge pull request #3723 from hashicorp/b-3702-chown-dirs
chown dirs when migrating ephemeral_disk data
2018-01-09 09:27:26 -08:00
Chelsea Holland Komlo 21ceb0a46b add documentation 2018-01-09 06:34:46 -05:00
Michael Schurter ab56b07101
Merge pull request #3730 from hashicorp/cv-typo-privilege
Fix typo
2018-01-08 17:32:02 -08:00
Michael Schurter e6c27256b7 Test streamed directory ownership 2018-01-08 16:00:07 -08:00
Michael Schurter 2c79ffb213 chown dirs when migrating ephemeral_disk data
Fixes #3702

Added missing chown call and made it conditional on running as root and
not on Windows as we do with files.
2018-01-08 15:31:12 -08:00
Rob Genova 70a0e81af5 Use latest versions of Consul, Vault and Nomad 2018-01-08 22:44:02 +00:00
Michael Schurter 4a8a893f56
Merge pull request #3728 from hashicorp/b-3701-fetch-tls
Include credentials in fetch requests
2018-01-08 14:00:53 -08:00
Rob Genova 9c2ec21daf Add new blog post 2018-01-08 21:42:47 +00:00
Alex Dadgar 332b407d28
Merge pull request #3729 from hashicorp/f-test-log-2
Logger backed by *testing.T
2018-01-08 13:41:58 -08:00
Michael Schurter 0baf168ed0 Improve naming and docs 2018-01-08 13:36:07 -08:00
Rob Genova e5656e6b3c Add redirect from Community page to Resources page 2018-01-08 21:34:26 +00:00
Rob Genova 45d5799830 Remove Community links from header and footer 2018-01-08 21:33:55 +00:00
Rob Genova 149d175996 Merge Community page content into Resources page 2018-01-08 21:33:26 +00:00
Charlie Voiselle 1bb1ab5069 fix typo
Priviledge -> privilege
2018-01-08 15:56:07 -05:00
Michael Schurter bc10061aa2 Logger backed by *testing.T
For capturing log output in tests and only displaying them on failure.

Pulled out of #3241
2018-01-08 12:53:58 -08:00
Michael Schurter 7a77fc69ce Include credentials in fetch requests
Fixes #3701

Relevant spec section:
https://fetch.spec.whatwg.org/#concept-request-credentials-mode
2018-01-08 12:18:03 -08:00
Chelsea Holland Komlo 214d128eb9 reload raft transport layer
fix up linting
2018-01-08 14:52:28 -05:00
Filip Ochnik d265e11c36 Recognize renewing non-renewable Vault lease as fatal 2018-01-08 20:32:31 +01:00
Michael Schurter de62c3e933
Merge pull request #3716 from hashicorp/docs-3713-remove
Remove mention of check_restart on service
2018-01-08 10:53:27 -08:00
Preetha c0166489ab
Merge pull request #3725 from Wintermute1/master
fix(minor typo)
2018-01-08 09:39:17 -06:00
Chelsea Holland Komlo 0708d34135 call reload on agent, client, and server separately 2018-01-08 09:56:31 -05:00
Chelsea Holland Komlo 3f34b59ee6 remove unnecessary nil checks; default case
add tests for TLSConfig object
2018-01-08 09:24:28 -05:00
Chelsea Holland Komlo d9ec538d6a don't ignore error in http reloading
code review feedback
2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo 909bb0af07 refactor rpc listener methods, wait for proper shutdown 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo 6a2432659a code review fixups 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo 9741097406 reloading tls config should be atomic for clients/servers 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo e7bd156ef2 check error on generating tls context 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo 9b0a7a7f7c remove code duplication 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo 4e0dbd23cf prevent races when reloading, fully shut down raft 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo ae7fc4695e fixups from code review
Revert "close raft long-lived connections"

This reverts commit 3ffda28206fcb3d63ad117fd1d27ae6f832b6625.

reload raft connections on changing tls
2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo dfb6a3d9a8 close raft long-lived connections 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo acd3d1b162 fix up downgrading client to plaintext
add locks around changing server configuration
2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo c0ad9a4627 add ability to upgrade/downgrade nomad agents tls configurations via sighup 2018-01-08 09:21:06 -05:00
Conchubhar Gannon 5847b3eb79
fix(minor typo) 2018-01-08 11:30:00 +00:00
Preetha Appan fcded9ba61
Add a TODO comment around handling peer address for remove peer correctly for raft protocol 3 2018-01-05 14:22:45 -06:00
Alex Dadgar 6b748fef9e Remove consul log line 2018-01-04 15:08:12 -08:00
Michael Schurter 79d44050f3 Missed header mention of server.check_restart 2018-01-04 15:05:27 -08:00
Alex Dadgar 1595685d20
Merge pull request #3717 from hashicorp/b-lost-batch
Fix detection of successful batch allocations
2018-01-04 15:01:43 -08:00
Alex Dadgar 6dda0ebaed gofmt 2018-01-04 14:45:15 -08:00
Alex Dadgar 40f614699d add require 2018-01-04 14:40:11 -08:00
Alex Dadgar 58d1c52684 changelog 2018-01-04 14:27:19 -08:00
Alex Dadgar 2f561609b7 Fix detection of successful batch allocations
This PR restores older behavior of detecting successful batch
allocations (04d86ffd1006fde9dfb2ca8c1237fe60b995b0e3). This has the
side effect that we correctly filter desired status stop but not
successful batch allocations and create their replacements.
2018-01-04 14:20:32 -08:00
Michael Schurter 337578effd Remove mention of check_restart on service
This is currently broken and should be removed from docs until a fix is
released.

See #3713
2018-01-04 11:30:03 -08:00
Michael Schurter eb104393c8
Merge pull request #3712 from hashicorp/docs-promote-group
Add missing -group=cache to docs
2018-01-04 11:08:59 -08:00
Michael Schurter 4055fdfdf9 Add #3685 to changelog 2018-01-04 11:02:03 -08:00
Michael Schurter 8496cc8192
Merge pull request #3685 from filipochnik/abs-path
Prevent absolute URLs in checks paths
2018-01-04 10:55:36 -08:00
Michael Schurter 22bcbe3dbc Add missing -group=cache to docs
Fixes #3699
2018-01-03 16:50:47 -08:00
Preetha Appan 4101ab86e0
Linkify CHANGELOG in one missing place. 2018-01-03 16:39:12 -06:00