Chelsea Holland Komlo
5d866366a7
make check fix
2018-03-28 19:11:51 -04:00
Chelsea Holland Komlo
e8af281dd3
return error when setting checksum; don't reload
2018-03-28 18:15:50 -04:00
Chelsea Holland Komlo
074683c616
output warning for error in creating TLS checksum
2018-03-28 17:44:23 -04:00
Chelsea Holland Komlo
065133d716
check for nil, remove unnecessary set checksum call
2018-03-28 13:29:53 -04:00
Chelsea Holland Komlo
2fc02c1832
fix up test for file content changes
2018-03-28 13:18:13 -04:00
Chelsea Holland Komlo
6e317fa6c6
set TLS checksum when parsing config
...
Refactor checksum comparison, always set checksum if it is empty
2018-03-28 09:56:11 -04:00
Chelsea Holland Komlo
f8df2071ef
check file contents when determining if agent should reload TLS configuration
2018-03-27 15:42:20 -04:00
Chelsea Komlo
24a1f60e7b
Merge pull request #4025 from hashicorp/reload-http-tls
...
Allow TLS configurations for HTTP and RPC connections to be reloaded …
2018-03-26 18:00:30 -04:00
Preetha Appan
e2226ca2b7
s/linear/constant/g
2018-03-26 14:45:09 -05:00
Chelsea Holland Komlo
490e70e9ce
code review feedback
2018-03-26 10:55:22 -04:00
Alex Dadgar
01716489ba
sort driver output
2018-03-23 10:59:18 -07:00
Alex Dadgar
95a7e1a90a
Driver Info output
2018-03-22 17:18:32 -07:00
Alex Dadgar
e4abff7d77
Fix spelling error
2018-03-22 15:18:09 -07:00
Alex Dadgar
22cdbe70ce
remove comment
2018-03-22 14:49:08 -07:00
Alex Dadgar
b1a3e534bd
Merge pull request #4027 from hashicorp/f-common
...
New Command Line Groupings
2018-03-22 13:57:37 -07:00
Alex Dadgar
1ac3798ae0
Allow separate enterprise config overlay
2018-03-22 13:53:08 -07:00
Alex Dadgar
f5ebe7da8e
Fix old references
2018-03-22 13:39:18 -07:00
Alex Dadgar
6f0dbbb72b
Grouped commands help description
2018-03-21 20:27:32 -07:00
Alex Dadgar
148a9504e7
color
2018-03-21 20:27:32 -07:00
Alex Dadgar
d39b13ed58
Deprecated commands
2018-03-21 20:27:32 -07:00
Alex Dadgar
25dbc77aa8
aliases
2018-03-21 20:27:32 -07:00
Alex Dadgar
295008dd90
rename files
2018-03-21 20:27:32 -07:00
Alex Dadgar
683e271069
common commands
2018-03-21 20:27:32 -07:00
Alex Dadgar
c7fc6571d8
use subcommands
2018-03-21 20:27:32 -07:00
Michael Schurter
b8b1922b9b
test: fix by using mock.BatchJob
2018-03-21 16:51:45 -07:00
Michael Schurter
80885623c1
test: don't call t.Fatal from within a goroutine
2018-03-21 16:51:45 -07:00
Michael Schurter
aab1fb7672
Fix linting errors
2018-03-21 16:51:45 -07:00
Michael Schurter
e669e8213a
Improve drain log messages
...
Also delay "node complete" after the node has been marked complete to
capture a few more alloc events. There are other ways to implement this
that could trade off correctness for responsiveness as technically a
node is considered drained when all of its allocs have been marked to
stop and not when they've actually stopped (which may not happen for a
long time).
2018-03-21 16:51:45 -07:00
Michael Schurter
11d0eae5ed
Monitor node drains until completion in CLI
...
allow -detach like other commands
2018-03-21 16:51:45 -07:00
Michael Schurter
fb6c821526
Fix node eligibility test
2018-03-21 16:51:45 -07:00
Alex Dadgar
d15371405f
Toggle Drain allows resetting eligibility
...
This PR allows marking a node as eligible for scheduling while toggling
drain. By default the `nomad node drain -disable` commmand will mark it
as eligible but the drainer will maintain in-eligibility.
2018-03-21 16:51:44 -07:00
Alex Dadgar
7f989499ff
Correct defaulting
2018-03-21 16:51:44 -07:00
Alex Dadgar
7d58209927
code review
2018-03-21 16:51:44 -07:00
Alex Dadgar
d65ae92dfa
Small refactor and cleanups
2018-03-21 16:51:44 -07:00
Alex Dadgar
d6399cb733
Add eligibility to node view
2018-03-21 16:51:44 -07:00
Alex Dadgar
378c566294
node eligibility command
2018-03-21 16:51:44 -07:00
Alex Dadgar
0fb9ba7732
HTTP and API
2018-03-21 16:51:44 -07:00
Alex Dadgar
5c101de725
flag comment
2018-03-21 16:51:44 -07:00
Alex Dadgar
a7833bc609
Upgrade path
2018-03-21 16:51:43 -07:00
Alex Dadgar
2bdeacebff
Drain cli, api, http
2018-03-21 16:51:43 -07:00
Chelsea Holland Komlo
8e83cf8d8a
Allow TLS configurations for HTTP and RPC connections to be reloaded separately
2018-03-21 17:51:08 -04:00
Preetha
90581c15be
Merge pull request #4007 from hashicorp/f-show-rescheduling-cli-job-status
...
Show a section on upcoming delayed evaluations when applicable
2018-03-21 14:37:38 -05:00
Preetha Appan
6cf5a1b326
More code review feedback
2018-03-21 14:28:14 -05:00
Preetha Appan
9c7750e7c6
Fix test
2018-03-21 09:24:28 -05:00
Preetha Appan
a896b2edf2
Addressed code review feedback
2018-03-21 09:15:29 -05:00
Michael Schurter
09511dbf7d
Merge pull request #4003 from jrasell/f_gh_3988
...
Allow Nomads Consul health check names to be configurable.
2018-03-20 16:44:08 -07:00
Preetha Appan
5e038e4106
Show reschedule policy in addition to when the eval will get rescheduled
2018-03-20 13:34:29 -05:00
James Rasell
dda9207b06
Update Consul check params from using health-check to check.
2018-03-20 16:03:58 +01:00
Preetha Appan
c40803a63f
Unit test and linting fix
2018-03-19 22:11:07 -05:00
Preetha Appan
20a9613adf
Show a section on upcoming delayed evaluations when applicable
2018-03-19 21:42:37 -05:00