Michael Schurter
|
b7c993f0e5
|
drainer: convert fsm errors to go errors
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
ab0de41884
|
drainer: factor job & node watchers out of drainer.go
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
5922aef623
|
Restart every time SetEnabled(true) is called
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
959d447d38
|
Remove unused context
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
8b41e9b2e1
|
drainer: drainer should shutdown with server
|
2018-03-21 16:51:44 -07:00 |
|
Michael Schurter
|
0a17076ad2
|
refactor drainer into a subpkg
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
78c7c36e65
|
code review
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
ac4975cef4
|
Small refactor and cleanups
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
93871c18f8
|
Fix retaining the drain
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
010a6b8ca5
|
Unblock evals once eligible
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
d47c68f764
|
Add eligibility to node view
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
c0f808205e
|
node eligibility command
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
8289cc3c6f
|
HTTP and API
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
0fba0101b6
|
RPC/FSM/State Store for Eligibility
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
f44fbac66a
|
flag comment
|
2018-03-21 16:51:44 -07:00 |
|
Alex Dadgar
|
b3d2346419
|
Upgrade path
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
2f5309d82a
|
Remove update time
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
0965c9ed28
|
Fix tests
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
010228577e
|
Drain cli, api, http
|
2018-03-21 16:51:43 -07:00 |
|
Alex Dadgar
|
e459a666ed
|
Node.Drain takes strategy
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
03d0e5b8a0
|
improve drain fsm/statestore tests
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
9263cc2ed7
|
scheduler: migrate non-terminal migrating allocs
filterByTainted node should always migrate non-terminal migrating allocs
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
d1ec65d765
|
switch to new raft DesiredTransition message
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
acf59ee75e
|
drainer: switch to job based watching
|
2018-03-21 16:49:48 -07:00 |
|
Alex Dadgar
|
db4a634072
|
RPC, FSM, State Store for marking DesiredTransistion
fix build tag
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
bb0ff44fb4
|
mock_driver: improve Kill() logging
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
187716944f
|
testlog: override testlogger with envvar
|
2018-03-21 16:49:48 -07:00 |
|
Michael Schurter
|
c0542474db
|
drain: initial drainv2 structs and impl
|
2018-03-21 16:49:48 -07:00 |
|
Chelsea Komlo
|
6fc9231dac
|
Merge pull request #3856 from hashicorp/f-client-add-health-checks
Client driver health checks for Docker
|
2018-03-21 18:05:00 -04:00 |
|
Rob Genova
|
e7af679275
|
Merge pull request #4014 from hashicorp/f-terraform-dynamic-binary
Update Terraform AWS configs to enable Nomad binary substitution
|
2018-03-21 14:16:38 -07:00 |
|
Chelsea Holland Komlo
|
329605b7cc
|
fix up scheduling test
|
2018-03-21 15:54:03 -04:00 |
|
Preetha
|
01898b2c25
|
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
|
ba217e5224
|
More code review feedback
|
2018-03-21 14:28:14 -05:00 |
|
Chelsea Holland Komlo
|
f329e45e03
|
always set initial health status for every driver
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
bbaffe3eca
|
set driver to unhealthy once if it cannot be detected in periodic check
|
2018-03-21 15:15:26 -04:00 |
|
Alex Dadgar
|
5df4b3728d
|
Docker driver doesn't return errors but injects into the DriverInfo
|
2018-03-21 15:15:26 -04:00 |
|
Alex Dadgar
|
4365bb7f59
|
Only run health check if driver is detected
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
f801709a0a
|
fix issue when updating node events
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
285729aee2
|
function rename and re-arrange functions in fingerprint_manager
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
60f12d206f
|
improve comments; update watchDriver
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
739784736a
|
remove unused function
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
d92703617c
|
simplify logic
bump log level
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
86b7b3d2d9
|
fix up health check logic comparison; add node events to client driver checks
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
53a5bc2bb3
|
Code review feedback
|
2018-03-21 15:15:26 -04:00 |
|
Alex Dadgar
|
34dc58421c
|
notes from walk through
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
44b6951dda
|
improve tests
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
d740a6a46e
|
refresh driver information for non-health checking drivers periodically
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
d8f68e5ef8
|
fix up codereview feedback
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
d5f6c940c4
|
fix up racy tests
|
2018-03-21 15:15:26 -04:00 |
|
Chelsea Holland Komlo
|
0425be8f48
|
updating comments; locking concurrent node access
|
2018-03-21 15:15:26 -04:00 |
|