Commit graph

9897 commits

Author SHA1 Message Date
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
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
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 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 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
Preetha Appan 32f19b563b
Add changelog formatting to make dev 2018-01-03 16:38:41 -06:00
Preetha e528190296
Merge pull request #3711 from hashicorp/0.8
Merges recent work from 0.8 branch
2018-01-03 16:26:42 -06:00
Preetha 1712b03705
Merge branch 'master' into 0.8 2018-01-03 16:06:38 -06:00
Michael Lange 38afa8f835
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 402ef925a5
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 727fcc6212
Update CHANGELOG.md 2018-01-03 11:53:21 -06:00
Preetha 6070da7c22
Update CHANGELOG.md
Mentions min CPU limit change in backward incompatibilities section.
2018-01-03 11:52:21 -06:00
Preetha 4a1309fe7e
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 e6a5de7443
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 aea3d1ac6d
Merge pull request #3705 from blixtra/patch-1
Change 'CoreOS rkt' to just 'rkt'
2018-01-03 09:17:13 -08:00
Fabian Holler f99aaa9134 revert change to increase min. CPU resource value from 20 to 100
In the commit 622d3ddb92ea7e656ef831641c02024cb5a5d6d1
"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 6da376a110
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 cdbce86918 small signal typo and argument consistency 2017-12-27 12:43:36 -05:00
Jaemin Sung 1cc4813d86
Add missing token option for nomad run command 2017-12-27 11:54:20 -05:00
Filip Ochnik fc99d3fc2d Prevent absolute URLs in checks paths 2017-12-21 10:32:12 +01:00
Michael Lange c46add3bde Makes macos/osx builds optional in Travis 2017-12-20 16:32:15 -08:00
Chelsea Komlo be33e0bb7e
Merge pull request #3680 from hashicorp/b-multi-region-search
Search endpoint forwarding
2017-12-20 19:04:51 -05:00
Chelsea Holland Komlo a105bb52e3 update changelog 2017-12-20 19:04:07 -05:00
Chelsea Holland Komlo 940bc59790 Fixes #3679
code review fixups; add changelog
2017-12-20 17:58:07 -05:00
Chelsea Holland Komlo 24c56e3976 search endpoint forwarding 2017-12-20 17:57:28 -05:00
Alex Dadgar 180062f68f bump website 2017-12-19 17:12:21 -08:00
Alex Dadgar bfc62ae41c bump version and remove generated structs 2017-12-19 17:10:52 -08:00
Alex Dadgar 1bd34d0df8 Release v0.7.1 2017-12-19 17:09:11 -08:00
Alex Dadgar f0127afd93 generated files 2017-12-19 16:57:34 -08:00
Alex Dadgar ae4dda88fd bump version 2017-12-19 16:53:59 -08:00
Michael Schurter 0bf86b8477
Merge pull request #3674 from hashicorp/b-3673-accept-empty-port
Services should not require a port
2017-12-19 16:51:05 -08:00