Commit Graph

9902 Commits

Author SHA1 Message Date
Chelsea Holland Komlo
d97c91c733 feedback from code review 2018-01-16 11:55:11 -05:00
Chelsea Holland Komlo
8de260f19b refactor creating a new tls configuration 2018-01-16 08:02:39 -05:00
Chelsea Holland Komlo
bbc56860ac adding additional test assertions; differentiate reloading agent and http server 2018-01-16 07:34:39 -05:00
Chelsea Holland Komlo
21c1c1defc add documentation 2018-01-09 06:34:46 -05:00
Chelsea Holland Komlo
11089b23ce reload raft transport layer
fix up linting
2018-01-08 14:52:28 -05:00
Chelsea Holland Komlo
c70702e802 call reload on agent, client, and server separately 2018-01-08 09:56:31 -05:00
Chelsea Holland Komlo
e3cc0982b2 remove unnecessary nil checks; default case
add tests for TLSConfig object
2018-01-08 09:24:28 -05:00
Chelsea Holland Komlo
a4af400fd1 don't ignore error in http reloading
code review feedback
2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
9ba0e6a6e3 refactor rpc listener methods, wait for proper shutdown 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
359358d240 code review fixups 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
18fdd31570 reloading tls config should be atomic for clients/servers 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
bee883c4e0 check error on generating tls context 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
c65857c431 remove code duplication 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
184fbfe5bd prevent races when reloading, fully shut down raft 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
d4754d541b 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
156297c5ee close raft long-lived connections 2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
b1f87727dd fix up downgrading client to plaintext
add locks around changing server configuration
2018-01-08 09:21:06 -05:00
Chelsea Holland Komlo
7b749579a2 add ability to upgrade/downgrade nomad agents tls configurations via sighup 2018-01-08 09:21:06 -05:00
Preetha Appan
3c57705cd1 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
357213d8ea Remove consul log line 2018-01-04 15:08:12 -08:00
Alex Dadgar
b5425a7019 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
73303b4b44 gofmt 2018-01-04 14:45:15 -08:00
Alex Dadgar
4b185af6c9 add require 2018-01-04 14:40:11 -08:00
Alex Dadgar
8445a6beda changelog 2018-01-04 14:27:19 -08:00
Alex Dadgar
28aa6e1acd Fix detection of successful batch allocations
This PR restores older behavior of detecting successful batch
allocations (04d86ffd10). 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
9d93baa9b5 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
39e08ebd11 Merge pull request #3685 from filipochnik/abs-path
Prevent absolute URLs in checks paths
2018-01-04 10:55:36 -08:00
Michael Schurter
b6d850513a Add missing -group=cache to docs
Fixes #3699
2018-01-03 16:50:47 -08:00
Preetha Appan
12ce2c93e6 Linkify CHANGELOG in one missing place. 2018-01-03 16:39:12 -06:00
Preetha Appan
ebbbf432e4 Add changelog formatting to make dev 2018-01-03 16:38:41 -06:00
Preetha
5cebc80bb3 Merge pull request #3711 from hashicorp/0.8
Merges recent work from 0.8 branch
2018-01-03 16:26:42 -06:00
Preetha
781408bbf4 Merge branch 'master' into 0.8 2018-01-03 16:06:38 -06:00
Michael Lange
bf6596d6f7 Merge pull request #3683 from hashicorp/f-make-macos-builds-optional
Make macos/osx builds optional in Travis
2018-01-03 10:34:08 -08:00
Michael Schurter
49f3e15c36 Merge pull request #3693 from rwaweber/guides_securing_typos
securing guide: small signal typo and argument consistency
2018-01-03 09:54:01 -08:00
Preetha
9d52bd5e07 Update CHANGELOG.md 2018-01-03 11:53:21 -06:00
Preetha
334ebb0823 Update CHANGELOG.md
Mentions min CPU limit change in backward incompatibilities section.
2018-01-03 11:52:21 -06:00
Preetha
e0f84fc7e3 Merge pull request #3706 from simplesurance/revert_min_cpu_limit_change
revert change to increase min. CPU resource value from 20 to 100
2018-01-03 11:43:58 -06:00
Michael Schurter
d29f877b12 Merge pull request #3692 from jaeminsung/master
Add missing token option for nomad run command
2018-01-03 09:42:17 -08:00
Michael Schurter
8c34e8a451 Merge pull request #3705 from blixtra/patch-1
Change 'CoreOS rkt' to just 'rkt'
2018-01-03 09:17:13 -08:00
Fabian Holler
957712c587 revert change to increase min. CPU resource value from 20 to 100
In the commit 622d3ddb92
"Fixed test and moved constants into standalone func" the minimum CPU
resource value for a job was increased from 100 to 20.

This can break the nomad setup for people that used lower CPU
values and are at the maximum MHz value of the available CPU on a
machine.
Change the minimum back to 20 MHz to ensure downwards compatibility.
2018-01-02 16:09:44 +01:00
Chris Kühl
3a6aba08f3 Change 'CoreOS rkt' to just 'rkt'
CoreOS initiated the project but it is now under the CNCF banner and includes many contributors and core maintainers that are not at CoreOS.
2018-01-02 10:42:29 +01:00
rwaweber
2f681cd666 small signal typo and argument consistency 2017-12-27 12:43:36 -05:00
Jaemin Sung
76635f285c Add missing token option for nomad run command 2017-12-27 11:54:20 -05:00
Filip Ochnik
d234641d1c Prevent absolute URLs in checks paths 2017-12-21 10:32:12 +01:00
Michael Lange
edbcea0696 Makes macos/osx builds optional in Travis 2017-12-20 16:32:15 -08:00
Chelsea Komlo
da9a1d7bb0 Merge pull request #3680 from hashicorp/b-multi-region-search
Search endpoint forwarding
2017-12-20 19:04:51 -05:00
Chelsea Holland Komlo
4668c1f48f update changelog 2017-12-20 19:04:07 -05:00
Chelsea Holland Komlo
47ca383666 Fixes #3679
code review fixups; add changelog
2017-12-20 17:58:07 -05:00
Chelsea Holland Komlo
2b1d7f3cc6 search endpoint forwarding 2017-12-20 17:57:28 -05:00
Alex Dadgar
b612f7a337 bump website 2017-12-19 17:12:21 -08:00