Commit graph

10173 commits

Author SHA1 Message Date
Michael Lange c15b54a299 Don't dot twice after an @each 2018-01-17 09:02:03 -08:00
Michael Lange 9cf71202ce Never fetch a job with null as the namespace 2018-01-17 09:02:03 -08:00
Chelsea Holland Komlo 35466a331a fixing up raft reload tests
close second goroutine in raft-net
2018-01-17 10:29:15 -05:00
Kyle Havlovitz bc385bcc93 Fix comments/text referring to consul 2018-01-17 00:20:13 -08:00
Michael Schurter 57eb128dcf
Merge pull request #3718 from hashicorp/b-3713-fix-check-restart
Fix service.check_restart stanza propagation
2018-01-16 16:39:42 -08:00
Alex Dadgar 622aeb581e
Merge pull request #3751 from portworx/master
Docs:  update volume-driver, reflecting a supported driver
2018-01-16 15:58:54 -08:00
Alex Dadgar 959a346eb1
Merge pull request #3761 from hashicorp/d-consul
Actually show Consul config defaults
2018-01-16 15:56:15 -08:00
Alex Dadgar 68f3db0956
Update consul.html.md 2018-01-16 15:56:02 -08:00
Kyle Havlovitz 7b980c42d8 Add raft remove by id endpoint/command 2018-01-16 13:35:32 -08:00
Alex Dadgar 6420ba61bc actually show defaults 2018-01-16 11:37:59 -08:00
Chelsea Holland Komlo 5f52e8e103 feedback from code review 2018-01-16 11:55:11 -05:00
Chelsea Holland Komlo 649f86f094 refactor creating a new tls configuration 2018-01-16 08:02:39 -05:00
Chelsea Holland Komlo 6c9f9c8ac3 adding additional test assertions; differentiate reloading agent and http server 2018-01-16 07:34:39 -05:00
Filip Ochnik 4eeb552a4f Add a sketch of capabilities whitelist logic for the Docker driver 2018-01-14 20:01:47 +01:00
Filip Ochnik 8ee3ce7a26 Add an option to add and drop capabilities in the Docker driver 2018-01-14 19:56:57 +01:00
Michael Schurter 1ca2f20cbf
Merge pull request #3747 from shantanugadgil/patch-2
'drain' node is a POST rather than a GET
2018-01-12 16:46:31 -08:00
Jeff Silberman 270f8dafcf Update volume-driver, reflecting a supported driver 2018-01-12 16:09:50 -08:00
Alex Dadgar 54124a8478 Test listener uses freeport instead of static ports 2018-01-12 15:10:26 -08:00
Alex Dadgar bec9a72eec Remove networking from basic resources 2018-01-12 14:33:42 -08:00
Michael Schurter e6ed72b69c
Merge pull request #3745 from hashicorp/cv-fix-typo-priviledge
Found more priviledge.
2018-01-12 10:16:34 -08:00
Shantanu Gadgil 318cec8ce6
'drain' node is a POST rather than a GET
'drain' node is a POST rather than a GET
2018-01-12 23:35:49 +05:30
Charlie Voiselle 867bb6f7f9 Found more priviledge.
priviledge -> privilege
2018-01-12 09:44:53 -05:00
Charlie Voiselle 792f6dcd33
Merge pull request #3744 from filipochnik/remove-docs-duplicate
Remove duplicate docs entry for docker privileged option
2018-01-12 09:37:16 -05:00
Filip Ochnik 881ab93dfc Remove duplicate docs entry for docker privileged option 2018-01-12 14:29:31 +01:00
Michael Schurter c71709d71a
Merge pull request #3742 from hashicorp/vagrant-updates
Update Consul/rkt/Vault in Vagrant
2018-01-11 14:47:55 -08:00
Alex Dadgar c4128fc44c Build all branches on travis 2018-01-11 13:39:04 -08:00
James Rasell 2e6af96eec
Use advertise addr not 'unique.network.ip' in verbose node-status 2018-01-11 07:17:58 +00:00
Michael Schurter 97bae65b7f
Merge pull request #3735 from hashicorp/docs-tls-demo
Add demo TLS certificates and configs
2018-01-10 15:29:45 -08:00
Alex Dadgar 021114f6ef changelog 2018-01-10 11:48:11 -08:00
Alex Dadgar 9e1e04c6f1
Merge pull request #3727 from filipochnik/fix-gh-2832
Recognize renewing non-renewable Vault lease as fatal
2018-01-10 11:47:10 -08:00
Alex Dadgar c1c975b59e
Merge pull request #3733 from hashicorp/d-merge-community-and-resources
Merge Community and Resources pages
2018-01-10 11:42:02 -08:00
Alex Dadgar 1bb7d47111
Merge pull request #3734 from hashicorp/f-update-terraform-to-0.7.1
Update Terraform configs to use latest versions of Consul, Vault and Nomad
2018-01-10 11:40:40 -08:00
Michael Schurter c6e317f705
Merge pull request #3736 from ronalexssen/master
remove duplicate typo
2018-01-09 16:00:15 -08:00
Michael Schurter 831c6b4e24 Update Consul/rkt/Vault in Vagrant
Needed to update Vault for #3334
2018-01-09 15:57:42 -08:00
Michael Schurter 23d4705f1c
Merge pull request #3722 from hashicorp/b-3697
Fix HTTP code for permission denied errors
2018-01-09 15:49:37 -08:00
Michael Schurter 9f179e9fab Fix HTTP code for permission denied errors
Fixes #3697

The existing code and test case only covered the leader behavior. When
querying against non-leaders the error has an "rpc error: " prefix.

To provide consistency in HTTP error response I also strip the "rpc
error: " prefix for 403 responses as they offer no beneficial additional
information (and in theory disclose a tiny bit of data to unauthorized
users, but it would be a pretty weird bit of data to use in a malicious
way).
2018-01-09 15:25:53 -08:00
Ron Alexssen 19430ba3ad remove duplicate typo 2018-01-09 15:21:30 -08:00
Michael Schurter 3ef1de4c63 Revert "Remove mention of check_restart on service"
This reverts commit 758b98685be4a2997bd0bc54f55b73ac3d0365cc.
2018-01-09 15:18:34 -08:00
Michael Schurter 6b6a14cf7e Revert "Missed header mention of server.check_restart"
This reverts commit 8295f81dddf8b53c0b78707be6fddc6e30f95640.
2018-01-09 15:18:22 -08:00
Michael Schurter 224046ece8 Invert and test CheckRestart merge logic 2018-01-09 15:17:07 -08:00
Michael Schurter 1f6b568322 Move changelog entry from bug fix to feature
It was never really implemented to begin with
2018-01-09 15:17:07 -08:00
Michael Schurter 7c282f174b Fix service.check_restart stanza propagation
There was a bug in jobspec parsing, a bug in CheckRestart merging, and a
bug in CheckRestart canonicalization. All are now tested.
2018-01-09 15:15:36 -08:00
Rob Genova 5d4327baeb Update AWS scripts and README to reflect latest, pre-built AMI 2018-01-09 22:35:58 +00:00
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