Commit Graph

10885 Commits

Author SHA1 Message Date
Alex Dadgar
d65ae92dfa Small refactor and cleanups 2018-03-21 16:51:44 -07:00
Alex Dadgar
a96c3374e2 Fix retaining the drain 2018-03-21 16:51:44 -07:00
Alex Dadgar
451b77d5d7 Unblock evals once eligible 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
dcafa8b460 RPC/FSM/State Store for Eligibility 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
fba20fd58d Remove update time 2018-03-21 16:51:43 -07:00
Alex Dadgar
762db7c5d7 Fix tests 2018-03-21 16:51:43 -07:00
Alex Dadgar
2bdeacebff Drain cli, api, http 2018-03-21 16:51:43 -07:00
Alex Dadgar
1773de9e30 Node.Drain takes strategy 2018-03-21 16:49:48 -07:00
Michael Schurter
116c28c77c improve drain fsm/statestore tests 2018-03-21 16:49:48 -07:00
Michael Schurter
a466f97cba 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
832b1d5694 switch to new raft DesiredTransition message 2018-03-21 16:49:48 -07:00
Michael Schurter
7deabe958d drainer: switch to job based watching 2018-03-21 16:49:48 -07:00
Alex Dadgar
48d637dad1 RPC, FSM, State Store for marking DesiredTransistion
fix build tag
2018-03-21 16:49:48 -07:00
Michael Schurter
91e8fd098f mock_driver: improve Kill() logging 2018-03-21 16:49:48 -07:00
Michael Schurter
587d4e264b testlog: override testlogger with envvar 2018-03-21 16:49:48 -07:00
Michael Schurter
95b3b6eb02 drain: initial drainv2 structs and impl 2018-03-21 16:49:48 -07:00
Chelsea Komlo
48c5f0e1a7 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
8ea9993cc2 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
89ffc9602d fix up scheduling test 2018-03-21 15:54:03 -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
Chelsea Holland Komlo
eb3a53efa2 always set initial health status for every driver 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
127b2c6ef7 set driver to unhealthy once if it cannot be detected in periodic check 2018-03-21 15:15:26 -04:00
Alex Dadgar
b59bea98b0 Docker driver doesn't return errors but injects into the DriverInfo 2018-03-21 15:15:26 -04:00
Alex Dadgar
ffe9292e24 Only run health check if driver is detected 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
9c143301de fix issue when updating node events 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
cba0a4d441 function rename and re-arrange functions in fingerprint_manager 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
06a306e460 improve comments; update watchDriver 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
7b2ed01472 remove unused function 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
8597da0c5d simplify logic
bump log level
2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
115d54cb19 fix up health check logic comparison; add node events to client driver checks 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
8aefd294e1 Code review feedback 2018-03-21 15:15:26 -04:00
Alex Dadgar
3ad03d9498 notes from walk through 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
8a0ed4e5ff improve tests 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
521fbd4f97 refresh driver information for non-health checking drivers periodically 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
240fee4848 fix up codereview feedback 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
865b7e0ace fix up racy tests 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
fd25db9e1d updating comments; locking concurrent node access 2018-03-21 15:15:26 -04:00
Chelsea Holland Komlo
70bebd1eed fix up scheduler mocks 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
9dfb5c6b46 go style; update comments 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
7c34605e26 fix up gofmt 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
9ec5a93bc1 fix scheduler driver name; create node structs file 2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
a340baddf1 allow nomad to schedule based on the status of a client driver health check
Slight updates for go style
2018-03-21 15:15:25 -04:00
Chelsea Holland Komlo
1570972cb3 add concept of health checks to fingerprinters and nodes
fix up feedback from code review

add driver info for all drivers to node
2018-03-21 15:15:25 -04:00
Michael Schurter
92504f7d01 Merge pull request #4019 from jrasell/f_gh_4018
Document new Consul checks name config params and CLI flags.
2018-03-21 12:08:05 -07:00