Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Smart Node Drain #4005

Closed
wants to merge 221 commits into from
Closed

WIP: Smart Node Drain #4005

wants to merge 221 commits into from

Commits on Feb 21, 2018

  1. wip - struct updates

    schmichael committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    1a7d557 View commit details
    Browse the repository at this point in the history
  2. wip - deadline checking

    schmichael committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    af6ad54 View commit details
    Browse the repository at this point in the history
  3. wip - node drainer

    schmichael committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    910598a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8525673 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a0094b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe27fa2 View commit details
    Browse the repository at this point in the history
  7. wip - drainer

    schmichael committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    086ea32 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    255df6c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    34af62f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a539782 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d627246 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ecf773f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    96f3465 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ef0165a View commit details
    Browse the repository at this point in the history
  15. wip - add more comments

    schmichael committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    3d65c26 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e6faa75 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    dec1b73 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    9fa07bf View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    840d993 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    cdea7bf View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f1feb8d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    538a7c8 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7719dc3 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8565821 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    694adda View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e3891f2 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    3fd2422 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    373762d View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    e1693e6 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    b85ad98 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    0e3c445 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    7b3d15f View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    ef3b326 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    8fd8a87 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    e6934e5 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    cc561a4 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    7ffa70c View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2018

  1. Allocation struct

    dadgar authored and schmichael committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    8c46783 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b9a9a9 View commit details
    Browse the repository at this point in the history
  3. Fix tests

    dadgar authored and schmichael committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    3023429 View commit details
    Browse the repository at this point in the history
  4. fix build tag

    dadgar authored and schmichael committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    ad4a415 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. Configuration menu
    Copy the full SHA
    01dc0a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a437737 View commit details
    Browse the repository at this point in the history
  3. transistion -> transition

    schmichael committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    d483f0b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a00fda View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ef8753c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9467e38 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a98ed65 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d446414 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2018

  1. Node.Drain takes strategy

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    dfe7dab View commit details
    Browse the repository at this point in the history
  2. Drain cli, api, http

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    8569c4b View commit details
    Browse the repository at this point in the history
  3. Fix tests

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    51cff3e View commit details
    Browse the repository at this point in the history
  4. Remove update time

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    b2a0be6 View commit details
    Browse the repository at this point in the history
  5. Upgrade path

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    8a90a47 View commit details
    Browse the repository at this point in the history
  6. flag comment

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    9947bfd View commit details
    Browse the repository at this point in the history
  7. Merge pull request #3899 from hashicorp/f-drain-api

    Node Drain API and CLI
    dadgar authored Feb 27, 2018
    Configuration menu
    Copy the full SHA
    5e415b3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cdecd22 View commit details
    Browse the repository at this point in the history
  9. HTTP and API

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    185e66b View commit details
    Browse the repository at this point in the history
  10. node eligibility command

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    e05fb9b View commit details
    Browse the repository at this point in the history
  11. Add eligibility to node view

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    f40ffa1 View commit details
    Browse the repository at this point in the history
  12. Unblock evals once eligible

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    e17bd34 View commit details
    Browse the repository at this point in the history
  13. Fix retaining the drain

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    e9328c7 View commit details
    Browse the repository at this point in the history
  14. Small refactor and cleanups

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    c2dc67f View commit details
    Browse the repository at this point in the history
  15. code review

    dadgar committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    ffa6f4c View commit details
    Browse the repository at this point in the history
  16. Merge pull request #3919 from hashicorp/f-eligibility

    Add eligibility API and CLI
    dadgar authored Feb 27, 2018
    Configuration menu
    Copy the full SHA
    8e9bf6b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    5ffd310 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    35dc5d4 View commit details
    Browse the repository at this point in the history
  19. Remove unused context

    schmichael committed Feb 27, 2018
    Configuration menu
    Copy the full SHA
    7f2d8fa View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    6e5b7fc View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    fc13aa7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    984acf9 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Improve DeadlineTime helper

    dadgar committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    bda7ec7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3922 from hashicorp/f-deadline

    Improve DeadlineTime helper
    dadgar authored Mar 1, 2018
    Configuration menu
    Copy the full SHA
    aaf392a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95b9183 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ed2a5a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    37f5869 View commit details
    Browse the repository at this point in the history
  6. small cleanups

    schmichael committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    f5d57f8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    80ba859 View commit details
    Browse the repository at this point in the history
  8. Correct defaulting

    dadgar committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    d822367 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #3925 from hashicorp/b-defaulting

    Correct defaulting
    dadgar authored Mar 1, 2018
    Configuration menu
    Copy the full SHA
    1a96c25 View commit details
    Browse the repository at this point in the history
  10. Fix file names

    dadgar committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    2318e1e View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2018

  1. System test runs on mac

    dadgar committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    0df7acc View commit details
    Browse the repository at this point in the history
  2. Initial design

    dadgar committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    2938045 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2018

  1. drain heap

    dadgar committed Mar 3, 2018
    Configuration menu
    Copy the full SHA
    f3ac2b4 View commit details
    Browse the repository at this point in the history
  2. node watcher

    dadgar committed Mar 3, 2018
    Configuration menu
    Copy the full SHA
    44f1cc5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90da01e View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2018

  1. job watcher

    dadgar committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    ea4df19 View commit details
    Browse the repository at this point in the history
  2. Drainer

    dadgar committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    1e7186f View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2018

  1. Configuration menu
    Copy the full SHA
    eebca69 View commit details
    Browse the repository at this point in the history
  2. handle empty node case

    dadgar committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    83d3555 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2018

  1. Comments

    dadgar committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    5abffa0 View commit details
    Browse the repository at this point in the history
  2. spelling fixes

    dadgar committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    3e83591 View commit details
    Browse the repository at this point in the history
  3. code review

    dadgar committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    ef6a003 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #3951 from hashicorp/f-drainer

    Node drain orchestrator
    dadgar authored Mar 8, 2018
    Configuration menu
    Copy the full SHA
    0db7e8d View commit details
    Browse the repository at this point in the history
  5. 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.
    dadgar committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    309bcf8 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #3955 from hashicorp/f-manual-undrain

    Toggle Drain allows resetting eligibility
    dadgar authored Mar 8, 2018
    Configuration menu
    Copy the full SHA
    5efde3e View commit details
    Browse the repository at this point in the history
  7. Switch to drainerv2 impl

    schmichael committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    88c9d70 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2018

  1. Batch drain update

    dadgar committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    8f4ce6e View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2018

  1. sharding

    dadgar committed Mar 10, 2018
    Configuration menu
    Copy the full SHA
    ffde29d View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2018

  1. Fix deadline handling

    dadgar committed Mar 12, 2018
    Configuration menu
    Copy the full SHA
    0e86233 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3967 from hashicorp/b-deadline

    Fix deadline handling
    dadgar authored Mar 12, 2018
    Configuration menu
    Copy the full SHA
    51bd58a View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. Fix node eligibility test

    schmichael committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    a77c452 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b7b42c View commit details
    Browse the repository at this point in the history
  3. Monitor node drains until completion in CLI

    allow -detach like other commands
    schmichael committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    14d76fc View commit details
    Browse the repository at this point in the history
  4. fix comment

    dadgar committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    8506049 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #3960 from hashicorp/f-sharding

    Shard raft commits
    dadgar authored Mar 14, 2018
    Configuration menu
    Copy the full SHA
    f545e6a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2018

  1. 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).
    schmichael committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    5c4ffd4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3948 from hashicorp/f-drainv2-cli

    Monitor drains from CLI by default but allow detaching
    schmichael authored Mar 16, 2018
    Configuration menu
    Copy the full SHA
    b2d682b View commit details
    Browse the repository at this point in the history
  3. Fix deadline heap triggering

    Chan must be buffered to avoid skipping triggering altogether
    
    Also made timing in a test a bit more lenient
    schmichael committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    6c5d442 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3429b7d View commit details
    Browse the repository at this point in the history
  5. wip test for job watcher

    schmichael committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    c1ee664 View commit details
    Browse the repository at this point in the history
  6. Revert making drains async

    They must be synchronous or they'll spin in a tight loop
    schmichael committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    5733c7c View commit details
    Browse the repository at this point in the history
  7. Test job watcher

    schmichael committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    d18d2d7 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2018

  1. wip - struct updates

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    adc979e View commit details
    Browse the repository at this point in the history
  2. wip - deadline checking

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    84ab471 View commit details
    Browse the repository at this point in the history
  3. wip - node drainer

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    c67be08 View commit details
    Browse the repository at this point in the history
  4. wip - refine deadline timer

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    85eb9a1 View commit details
    Browse the repository at this point in the history
  5. wip - adding migration strategy

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    4533b03 View commit details
    Browse the repository at this point in the history
  6. wip - adding migrate to jobspec

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    07225eb View commit details
    Browse the repository at this point in the history
  7. wip - drainer

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    540a696 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b57fb51 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e9c63b9 View commit details
    Browse the repository at this point in the history
  10. wip - implement node watcher

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    590f25a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b4b71a4 View commit details
    Browse the repository at this point in the history
  12. wip - almost finish drainer mainloop

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    a6cc4dc View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6057ed5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    518aa5f View commit details
    Browse the repository at this point in the history
  15. wip - add more comments

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    0662421 View commit details
    Browse the repository at this point in the history
  16. wip - fix dumb compile errors

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    4a9c6cb View commit details
    Browse the repository at this point in the history
  17. wip - one more compiler error

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    d061d89 View commit details
    Browse the repository at this point in the history
  18. wip - a test that at least runs!

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    47f7d70 View commit details
    Browse the repository at this point in the history
  19. wip - fix nextDeadline initialization

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    151f2dc View commit details
    Browse the repository at this point in the history
  20. wip - fix node watcher initialization

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    e0643d4 View commit details
    Browse the repository at this point in the history
  21. wip - ignore canceled errors

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    4533b67 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    152f456 View commit details
    Browse the repository at this point in the history
  23. wip - logs logs logs logs logs

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    1663428 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f493d52 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    910e7c8 View commit details
    Browse the repository at this point in the history
  26. wip - testlog env var support

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    c97c2e4 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    8ff951c View commit details
    Browse the repository at this point in the history
  28. wip - start using rpcs in drain test

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    bd3bfa5 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    0ea4f9f View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    db419ec View commit details
    Browse the repository at this point in the history
  31. improve mock driver Kill() logging

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    1d25f33 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    3914180 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    d8615e7 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    9a36570 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    9e0f0eb View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    ad13507 View commit details
    Browse the repository at this point in the history
  37. wip - log prev alloc in test

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    6e7227b View commit details
    Browse the repository at this point in the history
  38. Allocation struct

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    965c57b View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    632fbd7 View commit details
    Browse the repository at this point in the history
  40. Fix tests

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    75bf315 View commit details
    Browse the repository at this point in the history
  41. fix build tag

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    1a0bfbc View commit details
    Browse the repository at this point in the history
  42. wip - switch to job based watching

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    95aa121 View commit details
    Browse the repository at this point in the history
  43. Test is ugly but it's passing \o/

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    ab9df29 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    db048bd View commit details
    Browse the repository at this point in the history
  45. wip - drain system jobs as well

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    fc217d7 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    cde47ff View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    7cea5ee View commit details
    Browse the repository at this point in the history
  48. improve drain fsm/statestore tests

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    6b80cd3 View commit details
    Browse the repository at this point in the history
  49. Node.Drain takes strategy

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    240d50b View commit details
    Browse the repository at this point in the history
  50. Drain cli, api, http

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    a1466cf View commit details
    Browse the repository at this point in the history
  51. Fix tests

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    7e0317d View commit details
    Browse the repository at this point in the history
  52. Remove update time

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    e675257 View commit details
    Browse the repository at this point in the history
  53. Upgrade path

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    e18cea5 View commit details
    Browse the repository at this point in the history
  54. flag comment

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    c901b21 View commit details
    Browse the repository at this point in the history
  55. JobNs -> NamespacedID

    Also drop the New func as it's easy to swap the order of arguments since
    they're both strings.
    schmichael committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    b02fd1e View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    f3a1752 View commit details
    Browse the repository at this point in the history
  57. Remove debug prints

    schmichael committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    1739290 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    43d5246 View commit details
    Browse the repository at this point in the history
  59. HTTP and API

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    1c0aaa7 View commit details
    Browse the repository at this point in the history
  60. node eligibility command

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    a73398d View commit details
    Browse the repository at this point in the history
  61. Add eligibility to node view

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    4915b76 View commit details
    Browse the repository at this point in the history
  62. Unblock evals once eligible

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    45db5ca View commit details
    Browse the repository at this point in the history
  63. Fix retaining the drain

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    9db4f7d View commit details
    Browse the repository at this point in the history
  64. Small refactor and cleanups

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    ab3fc5b View commit details
    Browse the repository at this point in the history
  65. code review

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    b807fdc View commit details
    Browse the repository at this point in the history
  66. refactor drainer into a subpkg

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    3f2d7f1 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    b93142c View commit details
    Browse the repository at this point in the history
  68. Remove unused context

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    10a3d38 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    d78da97 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    1753afa View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    7da9b61 View commit details
    Browse the repository at this point in the history
  72. Improve DeadlineTime helper

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    e3dff57 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    d58a50b View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    4d54ac1 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    6c84ecd View commit details
    Browse the repository at this point in the history
  76. small cleanups

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    c61db41 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    3a7d297 View commit details
    Browse the repository at this point in the history
  78. Correct defaulting

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    cd80e91 View commit details
    Browse the repository at this point in the history
  79. Fix file names

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    1304311 View commit details
    Browse the repository at this point in the history
  80. System test runs on mac

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    7fde810 View commit details
    Browse the repository at this point in the history
  81. Initial design

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    e376f0b View commit details
    Browse the repository at this point in the history
  82. drain heap

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    4f88361 View commit details
    Browse the repository at this point in the history
  83. node watcher

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    65edbb8 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    58e3b35 View commit details
    Browse the repository at this point in the history
  85. job watcher

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    2ed8896 View commit details
    Browse the repository at this point in the history
  86. Drainer

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    3a82359 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    ba19415 View commit details
    Browse the repository at this point in the history
  88. handle empty node case

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    4e96ac4 View commit details
    Browse the repository at this point in the history
  89. Comments

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    2536ba9 View commit details
    Browse the repository at this point in the history
  90. spelling fixes

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    7fba651 View commit details
    Browse the repository at this point in the history
  91. code review

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    0e7b37d View commit details
    Browse the repository at this point in the history
  92. 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.
    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    6321a27 View commit details
    Browse the repository at this point in the history
  93. Switch to drainerv2 impl

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    6eef768 View commit details
    Browse the repository at this point in the history
  94. Batch drain update

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    da06b87 View commit details
    Browse the repository at this point in the history
  95. sharding

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    3085f58 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    8b1fb9f View commit details
    Browse the repository at this point in the history
  97. Merge pull request #3961 from hashicorp/f-drainv2-testing

    drainv2: Job Watcher Testing
    schmichael authored Mar 19, 2018
    Configuration menu
    Copy the full SHA
    b4e5979 View commit details
    Browse the repository at this point in the history
  98. Fix deadline handling

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    5ed3c7b View commit details
    Browse the repository at this point in the history
  99. Fix node eligibility test

    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    c4158c0 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    91b73cc View commit details
    Browse the repository at this point in the history
  101. Monitor node drains until completion in CLI

    allow -detach like other commands
    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    1c5aa73 View commit details
    Browse the repository at this point in the history
  102. fix comment

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    e987350 View commit details
    Browse the repository at this point in the history
  103. 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).
    schmichael authored and dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    4639dc7 View commit details
    Browse the repository at this point in the history
  104. Merge branch 'f-drainv2-node-drainer' of github.com:hashicorp/nomad i…

    …nto f-drainv2-node-drainer
    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    46de654 View commit details
    Browse the repository at this point in the history
  105. merge cleanup

    dadgar committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    f902c88 View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    6b732eb View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    0482280 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    59f3df9 View commit details
    Browse the repository at this point in the history