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

feat: [DC-761] Update nomad v0.10.4 #11

Merged
merged 1,130 commits into from
Mar 17, 2020
Merged

feat: [DC-761] Update nomad v0.10.4 #11

merged 1,130 commits into from
Mar 17, 2020
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jan 15, 2020

  1. actually always canonicalize alloc.Job

    alloc.Job may be stale as well and need to migrate it.  It does cost
    extra cycles but should be negligible.
    Mahmood Ali committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    4813863 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. e2e: improve reusability of provisioning scripts (hashicorp#6942)

    This changeset is part of the work to improve our E2E provisioning
    process to allow our upgrade tests:
    
    * Move more of the setup into the AMI image creation so it's a little
     more obvious to provisioning config authors which bits are essential
     to deploying a specific version of Nomad.
    
    * Make the service file update do a systemd daemon-reload so that we
      can update an already-running cluster with the same script we use to
      deploy it initially.
    tgross committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    6c3a29a View commit details
    Browse the repository at this point in the history
  2. Avoid unnecessary golang version reference

    Mahmood Ali committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    9aa4cfe View commit details
    Browse the repository at this point in the history
  3. add a script to update golang version

    Mahmood Ali committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    8dbb16c View commit details
    Browse the repository at this point in the history
  4. Update golang to 1.12.15

    Mahmood Ali committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    ee244e9 View commit details
    Browse the repository at this point in the history
  5. Update ecs.html.md

    TimHiggison committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    ae3030e View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2020

  1. Configuration menu
    Copy the full SHA
    302e27e View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. ui: Change Run Job availability based on ACLs (hashicorp#5944)

    This builds on API changes in hashicorp#6017 and hashicorp#6021 to conditionally turn off the
    “Run Job” button based on the current token’s capabilities, or the capabilities
    of the anonymous policy if no token is present.
    
    If you try to visit the job-run route directly, it redirects to the job list.
    backspace committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    3adb3cd View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Update changelog

    backspace committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    1e62825 View commit details
    Browse the repository at this point in the history
  2. e2e: use valid jobspec for group check test (hashicorp#6967)

    Group service checks cannot interpolate task fields, because the task
    fields are not available at the time the script check hook is created
    for the group service. When f31482a was merged this e2e test began
    failing because we are now correctly matching the script check ID to
    the service ID, which revealed this jobspec was invalid.
    tgross committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    0aa58b9 View commit details
    Browse the repository at this point in the history
  3. UI: Migrate to Storybook (hashicorp#6507)

    I originally planned to add component documentation, but as this dragged on and I found that JSDoc-to-Markdown sometimes needed hand-tuning, I decided to skip it and focus on replicating what was already present in Freestyle. Adding documentation is a finite task that can be revisited in the future.
    
    My goal was to migrate everything from Freestyle with as few changes as possible. Some adaptations that I found necessary:
    • the DelayedArray and DelayedTruth utilities that delay component rendering until slightly after initial render because without them:
      ◦ charts were rendering with zero width
      ◦ the JSON viewer was rendering with empty content
    • Storybook in Ember renders components in a routerless/controllerless context by default, so some component stories needed changes:
      ◦ table pagination/sorting stories access to query params, which necessitates some reaching into Ember internals to start routing and dynamically generate a Storybook route/controller to render components into
      ◦ some stories have a faux controller as part of their Storybook context that hosts setInterval-linked dynamic computed properties
    • some jiggery-pokery with anchor tags
      ◦ inert href='#' had to become href='javascript:;
      ◦ links that are actually meant to navigate need target='_parent' so they don’t navigate inside the Storybook iframe
    
    Maybe some of these could be addressed by fixes in ember-cli-storybook but I’m wary of digging around in there any more than I already have, as I’ve lost a lot of time to Storybook confusion and frustrations already 😞
    
    The STORYBOOK=true environment variable tweaks some environment settings to get things working as expected in the Storybook context.
    
    I chose to:
    • use angle bracket invocation within stories rather than have to migrate them soon after having moved to Storybook
    • keep Freestyle around for now for its palette and typeface components
    backspace committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    9f86f5a View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. e2e: update framework to allow deploying Nomad (hashicorp#6969)

    The e2e framework instantiates clients for Nomad/Consul but the
    provisioning of the actual Nomad cluster is left to Terraform. The
    Terraform provisioning process uses `remote-exec` to deploy specific
    versions of Nomad so that we don't have to bake an AMI every time we
    want to test a new version. But Terraform treats the resulting
    instances as immutable, so we can't use the same tooling to update the
    version of Nomad in-place. This is a prerequisite for upgrade testing.
    
    This changeset extends the e2e framework to provide the option of
    deploying Nomad (and, in the future, Consul/Vault) with specific
    versions to running infrastructure. This initial implementation is
    focused on deploying to a single cluster via `ssh` (because that's our
    current need), but provides interfaces to hook the test run at the
    start of the run, the start of each suite, or the start of a given
    test case.
    
    Terraform work includes:
    * provides Terraform output that written to JSON used by the framework
      to configure provisioning via `terraform output provisioning`.
    * provides Terraform output that can be used by test operators to
      configure their shell via `$(terraform output environment)`
    * drops `remote-exec` provisioning steps from Terraform
    * makes changes to the deployment scripts to ensure they can be run
      multiple times w/ different versions against the same host.
    tgross committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    0b6b475 View commit details
    Browse the repository at this point in the history
  2. e2e: ensure group script check tests interpolation (hashicorp#6972)

    Fixes a bug introduced in 0aa58b9 where we're writing a test file to
    a taskdir-interpolated location, which works when we `alloc exec` but
    not in the jobspec for a group script check.
    
    This changeset also makes the test safe to run multiple times by
    namespacing the file with the alloc ID, which has the added bonus of
    exercising our alloc interpolation code for group script checks.
    tgross committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    2a89e47 View commit details
    Browse the repository at this point in the history
  3. Return FailedTGAlloc metric instead of no node err

    If an existing system allocation is running and the node its running on
    is marked as ineligible, subsequent plan/applys return an RPC error
    instead of a more helpful plan result.
    
    This change logs the error, and appends a failedTGAlloc for the
    placement.
    drewbailey committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    264932d View commit details
    Browse the repository at this point in the history
  4. update changelog

    drewbailey committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    abde9f9 View commit details
    Browse the repository at this point in the history
  5. extract leader step function

    Mahmood Ali committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    ccd9c14 View commit details
    Browse the repository at this point in the history
  6. Merge pull request hashicorp#6968 from hashicorp/b-system-sched-plan-…

    …ineligible
    
    Return FailedTGAlloc metric instead of no node err
    drewbailey committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    15b782c View commit details
    Browse the repository at this point in the history
  7. Handle Nomad leadership flapping

    Fixes a deadlock in leadership handling if leadership flapped.
    
    Raft propagates leadership transition to Nomad through a NotifyCh channel.
    Raft blocks when writing to this channel, so channel must be buffered or
    aggressively consumed[1]. Otherwise, Raft blocks indefinitely in `raft.runLeader`
    until the channel is consumed[1] and does not move on to executing follower
    related logic (in `raft.runFollower`).
    
    While Raft `runLeader` defer function blocks, raft cannot process any other
    raft operations.  For example, `run{Leader|Follower}` methods consume
    `raft.applyCh`, and while runLeader defer is blocked, all raft log applications
    or config lookup will block indefinitely.
    
    Sadly, `leaderLoop` and `establishLeader` makes few Raft calls!
    `establishLeader` attempts to auto-create autopilot/scheduler config [3]; and
    `leaderLoop` attempts to check raft configuration [4].  All of these calls occur
    without a timeout.
    
    Thus, if leadership flapped quickly while `leaderLoop/establishLeadership` is
    invoked and hit any of these Raft calls, Raft handler _deadlock_ forever.
    
    Depending on how many times it flapped and where exactly we get stuck, I suspect
    it's possible to get in the following case:
    
    * Agent metrics/stats http and RPC calls hang as they check raft.Configurations
    * raft.State remains in Leader state, and server attempts to handle RPC calls
      (e.g. node/alloc updates) and these hang as well
    
    As we create goroutines per RPC call, the number of goroutines grow over time
    and may trigger a out of memory errors in addition to missed updates.
    
    [1] https://github.com/hashicorp/raft/blob/d90d6d6bdacf1b35d66940b07be515b074d89e88/config.go#L190-L193
    [2] https://github.com/hashicorp/raft/blob/d90d6d6bdacf1b35d66940b07be515b074d89e88/raft.go#L425-L436
    [3] https://github.com/hashicorp/nomad/blob/2a89e477465adbe6a88987f0dcb9fe80145d7b2f/nomad/leader.go#L198-L202
    [4] https://github.com/hashicorp/nomad/blob/2a89e477465adbe6a88987f0dcb9fe80145d7b2f/nomad/leader.go#L877
    Mahmood Ali committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    2810bf3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    074f17a View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. Merge pull request hashicorp#6780 from hashicorp/km.intro-video

    website: add ‘intro to nomad’ video to /intro
    angrycub committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    bb5f15f View commit details
    Browse the repository at this point in the history
  2. Merge pull request hashicorp#6952 from TimHiggison/patch-1

    Update ecs.html.md
    schmichael committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    2b3db3c View commit details
    Browse the repository at this point in the history
  3. Merge pull request hashicorp#6953 from TimHiggison/patch-2

    Update configuring-tasks.html.md
    schmichael committed Jan 23, 2020
    Configuration menu
    Copy the full SHA
    3ed31eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    004810d View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2020

  1. Configuration menu
    Copy the full SHA
    a43d108 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    649be7f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b22047e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1cbbba0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4ddcd60 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0b031f0 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4d05f53 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3ad8987 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    09b62eb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    44904ba View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8788d39 View commit details
    Browse the repository at this point in the history
  12. PopoverMenu component

    DingoEatingFuzz committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    de03d82 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b02f05f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5098b55 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    030b449 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0a8c27d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7eb71ca View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d401a11 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e47d255 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    faffb83 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    6f6b9c2 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    da576bc View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2ddc54e View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    4439853 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ad8df16 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e886361 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    fabf956 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    96522e7 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    504a7af View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    4bcd47c View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    6a0a77c View commit details
    Browse the repository at this point in the history
  32. New toggle component

    DingoEatingFuzz committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    2e39c0a View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    595f3c9 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    a36290d View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    3009ad3 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    8f67e4b View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    da941d2 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    b03e1e6 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    8dadd3d View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    413681e View commit details
    Browse the repository at this point in the history
  41. Update existing tests

    DingoEatingFuzz committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    b11c82c View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    93eaaab View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    1d6799e View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    4cc6702 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    66ea7c1 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    deb2b31 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    40d6531 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    b9b6cda View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    4793dc9 View commit details
    Browse the repository at this point in the history
  50. Merge pull request hashicorp#6819 from hashicorp/f-ui-node-drain

    UI: Invoke Node Drains
    DingoEatingFuzz committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    fea44b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2020

  1. fix comment

    Mahmood Ali committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    30af487 View commit details
    Browse the repository at this point in the history
  2. Merge pull request hashicorp#6950 from hashicorp/c-golang-1.12.15

    Upgrade to using golang 1.12.15
    Mahmood Ali committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    9fdc9de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64f4e9e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    018f071 View commit details
    Browse the repository at this point in the history
  5. Merge pull request hashicorp#6918 from hashicorp/vendor-godiscover-76…

    …98de1
    
    Update go-discover library
    Mahmood Ali committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    7892903 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    15ecd0c View commit details
    Browse the repository at this point in the history
  7. Merge pull request hashicorp#6994 from hashicorp/docs-go

    docs: add Go versioning policy
    schmichael committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    8be04c0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    330d24c View commit details
    Browse the repository at this point in the history
  9. Merge pull request hashicorp#6938 from hashicorp/e2e-vault

    test: download Vault binaries for e2e test
    schmichael committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    b9394da View commit details
    Browse the repository at this point in the history
  10. docs: reseting bootstrap doesn't invalidate token

    Mahmood Ali committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    2f88e11 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d6dd9b6 View commit details
    Browse the repository at this point in the history
  12. Update website/source/guides/security/acl.html.markdown

    Co-Authored-By: Tim Gross <tim@0x74696d.com>
    Mahmood Ali and tgross committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    27fa0f6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5e789c3 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. Merge pull request hashicorp#6690 from hashicorp/f-canary-meta

    consul: add support for canary meta
    nickethier committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    3aec977 View commit details
    Browse the repository at this point in the history
  2. Merge pull request hashicorp#6997 from hashicorp/docs-bootstrap-reset

    docs: reseting bootstrap doesn't invalidate token
    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    e343315 View commit details
    Browse the repository at this point in the history
  3. docs: tweaks

    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    c68947b View commit details
    Browse the repository at this point in the history
  4. include test and address review comments

    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    0912400 View commit details
    Browse the repository at this point in the history
  5. handle channel close signal

    Always deliver last value then send close signal.
    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    97f20bd View commit details
    Browse the repository at this point in the history
  6. tweak leadership flapping log messages

    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    94a75b4 View commit details
    Browse the repository at this point in the history
  7. tests: defer closing shutdownCh

    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    8ae03c3 View commit details
    Browse the repository at this point in the history
  8. client: canonicalize alloc.Job on restore

    There is a case for always canonicalizing alloc.Job field when
    canonicalizing the alloc.  I'm less certain of implications though, and
    the job canonicalize hasn't changed for a long time.
    
    Here, we special case client restore from database as it's probably the
    most relevant part.  When receiving an alloc from RPC, the data should
    be fresh enough.
    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    438f98c View commit details
    Browse the repository at this point in the history
  9. Merge pull request hashicorp#6977 from hashicorp/b-leadership-flapping-2

    Handle Nomad leadership flapping (attempt 2)
    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    771c8ff View commit details
    Browse the repository at this point in the history
  10. Support customizing full scheduler config

    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    31025d6 View commit details
    Browse the repository at this point in the history
  11. tests: run_for is already a string

    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    99bc650 View commit details
    Browse the repository at this point in the history
  12. Merge pull request hashicorp#6935 from hashicorp/b-default-preemption…

    …-flag
    
    scheduler: allow configuring default preemption for system scheduler
    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    eb0acc3 View commit details
    Browse the repository at this point in the history
  13. Merge pull request hashicorp#6922 from hashicorp/b-alloc-canoncalize

    Handle Upgrades and Alloc.TaskResources modification
    Mahmood Ali committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    b789b50 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. canary_meta will be part of 0.10.3 (not 0.10.2)

    I assume this is just an oversight. I tried adding the `canary_meta` stanza to an existing v0.10.2 setup (Nomad v0.10.2 (0d2d6e3) and it did show the error message:
    ```
    * group: 'ggg', task: 'tttt', invalid key: canary_meta
    ```
    shantanugadgil committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    cdef69a View commit details
    Browse the repository at this point in the history
  2. Merge pull request hashicorp#7005 from shantanugadgil/patch-2

    canary_meta will be part of 0.10.3 (not 0.10.2)
    nickethier committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    8b6a8c0 View commit details
    Browse the repository at this point in the history
  3. use golang 1.12.16

    Mahmood Ali committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    028a470 View commit details
    Browse the repository at this point in the history
  4. Allow nomad monitor command to lookup server UUID

    Allows addressing servers with nomad monitor using the servers name or
    ID.
    
    Also unifies logic for addressing servers for client_agent_endpoint
    commands and makes addressing logic region aware.
    
    rpc getServer test
    drewbailey committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    fbd5080 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2dbcad3 View commit details
    Browse the repository at this point in the history
  6. Merge pull request hashicorp#7015 from hashicorp/b-allow-monitor-by-s…

    …erver-id
    
    Allow nomad monitor command to lookup server UUID
    drewbailey committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    07df966 View commit details
    Browse the repository at this point in the history
  7. e2e: add a -suite flag to e2e.Framework

    This change allows for providing the -suite=<Name> flag when
    running the e2e framework. If set, only the matching e2e/Framework.TestSuite.Component
    will be run, and all ther suites will be skipped.
    shoenig committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    dfc7d97 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. Merge pull request hashicorp#7009 from hashicorp/golang-1.12.16

    use golang 1.12.16
    Mahmood Ali committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    a183447 View commit details
    Browse the repository at this point in the history
  2. Document default_scheduler_config option

    Mahmood Ali committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    afa26a8 View commit details
    Browse the repository at this point in the history
  3. document docker's disable_log_collection flag

    Mahmood Ali committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    70b0ec9 View commit details
    Browse the repository at this point in the history
  4. batch mahmood's changelog entries

    [ci skip]
    Mahmood Ali committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    fe55b5a View commit details
    Browse the repository at this point in the history
  5. incorporate review feedback

    Mahmood Ali committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    278f2b5 View commit details
    Browse the repository at this point in the history
  6. Merge pull request hashicorp#7018 from hashicorp/f-e2e-specify-suite

    e2e: add a -suite flag to e2e.Framework
    shoenig committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    d82904e View commit details
    Browse the repository at this point in the history
  7. core: add limits to unauthorized connections

    Introduce limits to prevent unauthorized users from exhausting all
    ephemeral ports on agents:
    
     * `{https,rpc}_handshake_timeout`
     * `{http,rpc}_max_conns_per_client`
    
    The handshake timeout closes connections that have not completed the TLS
    handshake by the deadline (5s by default). For RPC connections this
    timeout also separately applies to first byte being read so RPC
    connections with TLS enabled have `rpc_handshake_time * 2` as their
    deadline.
    
    The connection limit per client prevents a single remote TCP peer from
    exhausting all ephemeral ports. The default is 100, but can be lowered
    to a minimum of 26. Since streaming RPC connections create a new TCP
    connection (until MultiplexV2 is used), 20 connections are reserved for
    Raft and non-streaming RPCs to prevent connection exhaustion due to
    streaming RPCs.
    
    All limits are configurable and may be disabled by setting them to `0`.
    
    This also includes a fix that closes connections that attempt to create
    TLS RPC connections recursively. While only users with valid mTLS
    certificates could perform such an operation, it was added as a
    safeguard to prevent programming errors before they could cause resource
    exhaustion.
    schmichael committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    e3e1f5c View commit details
    Browse the repository at this point in the history
  8. docs: document limits

    Taken more or less verbatim from Consul.
    schmichael committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    b97fecc View commit details
    Browse the repository at this point in the history
  9. Merge pull request hashicorp#160 from hashicorp/b-mtls-hostname

    server: validate role and region for RPC w/ mTLS
    Mahmood Ali authored and preetapan committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    3589d4c View commit details
    Browse the repository at this point in the history
  10. Merge pull request hashicorp#7022 from hashicorp/f-handshake-deadline…

    …s-oss
    
    core: add limits to unauthorized connections
    schmichael committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    dd8fbf4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cb9274a View commit details
    Browse the repository at this point in the history
  12. Merge pull request hashicorp#7023 from hashicorp/b-tls-validation

    Validate role and region for mTLS
    schmichael committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    f5441e6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7c53d0e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0cd7eea View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    b693322 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. Configuration menu
    Copy the full SHA
    88d646b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbb137b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa3a4e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f51c0c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    35a9517 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    29c3cda View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c6a677d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a89beee View commit details
    Browse the repository at this point in the history
  9. Merge pull request hashicorp#7010 from hashicorp/doc-bulk-20200129

    Docs and Changelog catch up
    Mahmood Ali committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    788f64e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    478e6d8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    692a887 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e7067f0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    35d7744 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f566281 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    234b7ef View commit details
    Browse the repository at this point in the history
  16. Use secret ID for NOMAD_TOKEN

    Use secret ID for NOMAD_TOKEN as the accessor ID doesn't seem to work.
    
    I tried with a local micro cluster following the tutorials, and if I do:
    
    ```console
    $ export NOMAD_TOKEN=85310d07-9afa-ef53-0933-0c043cd673c7
    ```
    
    Using the accessor ID as in this example, I get an error:
    
    ```
    Error querying jobs: Unexpected response code: 403 (ACL token not found)
    ```
    
    But when using the secret ID in that env var it seems to work correctly.
    tiangolo committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    ac696a4 View commit details
    Browse the repository at this point in the history
  17. Merge pull request hashicorp#7041 from tiangolo/patch-1

    Use secret ID for NOMAD_TOKEN
    Mahmood Ali committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    b57d606 View commit details
    Browse the repository at this point in the history
  18. Merge pull request hashicorp#7028 from hashicorp/f-ui/node-drain-disable

    UI: Disable client write actions when ACL token only allows client read
    DingoEatingFuzz committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    6e61dcf View commit details
    Browse the repository at this point in the history
  19. Pass stats interval colleciton to executor

    This fixes a bug where executor based drivers emit stats every second,
    regardless of user configuration.
    
    When serializing the Stats request across grpc, the nomad agent dropped
    the Interval value, and then executor uses 1s as a default value.
    Mahmood Ali committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    87c0c92 View commit details
    Browse the repository at this point in the history
  20. changelog

    Mahmood Ali committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    aec066c View commit details
    Browse the repository at this point in the history
  21. Merge pull request hashicorp#7043 from hashicorp/b-collection-interval

    Pass stats interval colleciton to executor
    Mahmood Ali committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    74e10b1 View commit details
    Browse the repository at this point in the history
  22. Some fixes to connection pooling

    Pick up some fixes from Consul:
    
    * If a stream returns an EOF error, clear session from cache/pool and start a
    new one.
    * Close the codec when closing StreamClient
    Mahmood Ali committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    82b8e08 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    2f1dec2 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    3d5193b View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ec01c0b View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    7f60198 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    e953704 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    2e2bcc5 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    4419510 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2020

  1. command, docs: create and document consul token configuration for con…

    …nect acls (hashicorpgh-6716)
    
    This change provides an initial pass at setting up the configuration necessary to
    enable use of Connect with Consul ACLs. Operators will be able to pass in a Consul
    Token through `-consul-token` or `$CONSUL_TOKEN` in the `job run` and `job revert`
    commands (similar to Vault tokens).
    
    These values are not actually used yet in this changeset.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    0040c75 View commit details
    Browse the repository at this point in the history
  2. nomad: ensure a unique ClusterID exists when leader (hashicorpgh-6702)

    Enable any Server to lookup the unique ClusterID. If one has not been
    generated, and this node is the leader, generate a UUID and attempt to
    apply it through raft.
    
    The value is not yet used anywhere in this changeset, but is a prerequisite
    for hashicorpgh-6701.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    560ce96 View commit details
    Browse the repository at this point in the history
  3. client: enable nomad client to request and set SI tokens for tasks

    When a job is configured with Consul Connect aware tasks (i.e. sidecar),
    the Nomad Client should be able to request from Consul (through Nomad Server)
    Service Identity tokens specific to those tasks.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    f8666bb View commit details
    Browse the repository at this point in the history
  4. nomad: proxy requests for Service Identity tokens between Clients and…

    … Consul
    
    Nomad jobs may be configured with a TaskGroup which contains a Service
    definition that is Consul Connect enabled. These service definitions end
    up establishing a Consul Connect Proxy Task (e.g. envoy, by default). In
    the case where Consul ACLs are enabled, a Service Identity token is required
    for these tasks to run & connect, etc. This changeset enables the Nomad Server
    to recieve RPC requests for the derivation of SI tokens on behalf of instances
    of Consul Connect using Tasks. Those tokens are then relayed back to the
    requesting Client, which then injects the tokens in the secrets directory of
    the Task.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    674ccaa View commit details
    Browse the repository at this point in the history
  5. client: enable envoy bootstrap hook to set SI token

    When creating the envoy bootstrap configuration, we should append
    the "-token=<token>" argument in the case where the sidsHook placed
    the token in the secrets directory.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    6bc6a52 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d85cccc View commit details
    Browse the repository at this point in the history
  7. nomad: handle SI token revocations concurrently

    Be able to revoke SI token accessors concurrently, and also
    ratelimit the requests being made to Consul for the various
    ACL API uses.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    9f48d83 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ead935d View commit details
    Browse the repository at this point in the history
  9. client: remove unused indirection for referencing consul executable

    Was thinking about using the testing pattern where you create executable
    shell scripts as test resources which "mock" the process a bit of code
    is meant to fork+exec. Turns out that wasn't really necessary in this case.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    4b4dfac View commit details
    Browse the repository at this point in the history
  10. client: skip task SI token file load failure if testing as root

    The TestEnvoyBootstrapHook_maybeLoadSIToken test case only works when
    running as a non-priveleged user, since it deliberately tries to read
    an un-readable file to simulate a failure loading the SI token file.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    e825a0f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d24d470 View commit details
    Browse the repository at this point in the history
  12. nomad,client: apply smaller PR suggestions

    Apply smaller suggestions like doc strings, variable names, etc.
    
    Co-Authored-By: Nick Ethier <nethier@hashicorp.com>
    Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
    3 people committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    cc7b768 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    bbedeb6 View commit details
    Browse the repository at this point in the history
  14. client: set context timeout around SI token derivation

    The derivation of an SI token needs to be safegaurded by a context
    timeout, otherwise an unresponsive Consul could cause the siHook
    to block forever on Prestart.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    1fca495 View commit details
    Browse the repository at this point in the history
  15. client: manage TR kill from parent on SI token derivation failure

    Re-orient the management of the tr.kill to happen in the parent of
    the spawned goroutine that is doing the actual token derivation. This
    makes the code a little more straightforward, making it easier to
    reason about not leaking the worker goroutine.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    40de858 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6152ded View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0589b65 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    f8949dd View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    91c7dba View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    08951ac View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0f285b8 View commit details
    Browse the repository at this point in the history
  22. e2e: e2e test for connect with consul acls

    Provide script for managing Consul ACLs on a TF provisioned cluster for
    e2e testing. Script can be used to 'enable' or 'disable' Consul ACLs,
    and automatically takes care of the bootstrapping process if necessary.
    
    The bootstrapping process takes a long time, so we may need to
    extend the overall e2e timeout (20 minutes seems fine).
    
    Introduces basic tests for Consul Connect with ACLs.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    6d99dd4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    1c9500a View commit details
    Browse the repository at this point in the history
  24. e2e: do not use eventually when waiting for allocs

    This test is causing panics. Unlike the other similar tests, this
    one is using require.Eventually which is doing something bad, and
    this change replaces it with a for-loop like the other tests.
    
    Failure:
    
    === RUN   TestE2E/Connect
    === RUN   TestE2E/Connect/*connect.ConnectE2ETest
    === RUN   TestE2E/Connect/*connect.ConnectE2ETest/TestConnectDemo
    === RUN   TestE2E/Connect/*connect.ConnectE2ETest/TestMultiServiceConnect
    === RUN   TestE2E/Connect/*connect.ConnectClientStateE2ETest
    panic: Fail in goroutine after TestE2E/Connect/*connect.ConnectE2ETest has completed
    
    goroutine 38 [running]:
    testing.(*common).Fail(0xc000656500)
    	/opt/google/go/src/testing/testing.go:565 +0x11e
    testing.(*common).Fail(0xc000656100)
    	/opt/google/go/src/testing/testing.go:559 +0x96
    testing.(*common).FailNow(0xc000656100)
    	/opt/google/go/src/testing/testing.go:587 +0x2b
    testing.(*common).Fatalf(0xc000656100, 0x1512f90, 0x10, 0xc000675f88, 0x1, 0x1)
    	/opt/google/go/src/testing/testing.go:672 +0x91
    github.com/hashicorp/nomad/e2e/connect.(*ConnectE2ETest).TestMultiServiceConnect.func1(0x0)
    	/home/shoenig/go/src/github.com/hashicorp/nomad/e2e/connect/multi_service.go:72 +0x296
    github.com/hashicorp/nomad/vendor/github.com/stretchr/testify/assert.Eventually.func1(0xc0004962a0, 0xc0002338f0)
    	/home/shoenig/go/src/github.com/hashicorp/nomad/vendor/github.com/stretchr/testify/assert/assertions.go:1494 +0x27
    created by github.com/hashicorp/nomad/vendor/github.com/stretchr/testify/assert.Eventually
    	/home/shoenig/go/src/github.com/hashicorp/nomad/vendor/github.com/stretchr/testify/assert/assertions.go:1493 +0x272
    FAIL	github.com/hashicorp/nomad/e2e	21.427s
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    d252bb4 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    390a7f1 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    8372bfb View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    9fa0276 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    b0e3aca View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    04b5266 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1f8e317 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    1fa5518 View commit details
    Browse the repository at this point in the history
  32. nomad: remove unused default schedular variable

    This is from a merge conflict resolution that went the wrong direction.
    
    I assumed the block had been added, but really it had been removed. Now,
    it is removed once again.
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    1c15ad9 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    a3476f7 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    37dc755 View commit details
    Browse the repository at this point in the history
  35. Merge pull request hashicorp#7027 from hashicorp/dev-connect-acls

    connect acls - rebase all the things
    shoenig committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    f5eba8d View commit details
    Browse the repository at this point in the history
  36. Merge pull request hashicorp#7047 from hashicorp/f-ui/node-drain-icons

    UI: Node drain status light icons
    DingoEatingFuzz committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    ce3d581 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2020

  1. sentinel: copy jobs to prevent mutation

    It's unclear whether Sentinel code can mutate values passed to the eval,
    so ensure it cannot by copying the job.
    schmichael authored and Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    5dbccce View commit details
    Browse the repository at this point in the history
  2. ignore computed diffs if node is ineligible

    test flakey, add temp sleeps for debugging
    
    fix computed class
    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    580baea View commit details
    Browse the repository at this point in the history
  3. make diffSystemAllocsForNode aware of eligibility

    diffSystemAllocs -> diffSystemAllocsForNode, this function is only used
    for diffing system allocations, but lacked awareness of eligible
    nodes and the node ID that the allocation was going to be placed.
    
    This change now ignores a change if its existing allocation is on an
    ineligible node. For a new allocation, it also checks tainted and
    ineligible nodes in the same function instead of nil-ing out the diff
    after computation in diffSystemAllocs
    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    cd00d6d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92f0a34 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a880d75 View commit details
    Browse the repository at this point in the history
  6. update changelog

    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    e86988c View commit details
    Browse the repository at this point in the history
  7. Merge pull request hashicorp#7051 from hashicorp/b-copy-jobs-oss

    sentinel: copy jobs to prevent mutation
    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    445d019 View commit details
    Browse the repository at this point in the history
  8. vagrant: disable audio interference

    Avoid Vagrant/virtualbox interferring with host audio when the VM boots.
    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    c0f42dc View commit details
    Browse the repository at this point in the history
  9. prehook: fix enterprise repo remote value

    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    896ddf5 View commit details
    Browse the repository at this point in the history
  10. dev: Tweaks to cluster dev scripts

    Consolidate all nomad data dir in a single root
    `/tmp/nomad-dev-cluster`.  Eases clean up.
    
    Allow running script from any path - don't require devs to cd into
    `dev/cluster` directory first.
    
    Also, block while nomad processes are running and prapogate
    SIGTERM/SIGINT to nomad processes to shutdown.
    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    d13fe75 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9ccaa92 View commit details
    Browse the repository at this point in the history
  12. run "make hclfmt"

    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    2e0f98c View commit details
    Browse the repository at this point in the history
  13. make: emit explanation for /api isolation

    Emit a slightly helpful message when /api depends on nomad internal
    packages.
    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    41d5a69 View commit details
    Browse the repository at this point in the history
  14. pool: Clear connection before releasing

    This to be consistent with other connection clean up handler as well as consul's https://github.com/hashicorp/consul/blob/v1.6.3/agent/pool/pool.go#L468-L479 .
    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    3bfc7d1 View commit details
    Browse the repository at this point in the history
  15. Merge pull request hashicorp#7054 from hashicorp/f-remove-leftover-de…

    …bug-line
    
    e2e: remove leftover e2e debug println
    shoenig committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    7f43161 View commit details
    Browse the repository at this point in the history
  16. Merge pull request hashicorp#7045 from hashicorp/b-rpc-fixes

    Some fixes to connection pooling
    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    e8136c0 View commit details
    Browse the repository at this point in the history
  17. Fix panic when monitoring a local client node

    Fixes a panic when accessing a.agent.Server() when agent is a client
    instead. This pr removes a redundant ACL check since ACLs are validated
    at the RPC layer. It also nil checks the agent server and uses Client()
    when appropriate.
    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    39a6c63 View commit details
    Browse the repository at this point in the history
  18. agent Profile req nil check s.agent.Server()

    clean up logic and tests
    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    4e9dc03 View commit details
    Browse the repository at this point in the history
  19. update changelog

    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    173ad83 View commit details
    Browse the repository at this point in the history
  20. Merge pull request hashicorp#6996 from hashicorp/system-sched-ineligi…

    …ble-updates
    
    System sched ignore ineligible updates
    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    0eb3586 View commit details
    Browse the repository at this point in the history
  21. Merge pull request hashicorp#6979 from hashicorp/f/codeowners

    Add the digital marketing team as the code owners for the website dir
    DingoEatingFuzz committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    bbdfd69 View commit details
    Browse the repository at this point in the history
  22. docs: fix misspelling

    schmichael committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    a1fee69 View commit details
    Browse the repository at this point in the history
  23. Merge pull request hashicorp#7053 from hashicorp/b-client-monitor-acl…

    …-panic
    
    Fix panic when monitoring a local client node
    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    d28898b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f788316 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    895e563 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f7fb621 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    5c43f8c View commit details
    Browse the repository at this point in the history
  28. Merge pull request hashicorp#6975 from hashicorp/b-update-placed-cana…

    …ries
    
    keep placed canaries aligned in raft store
    drewbailey committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    c038ee0 View commit details
    Browse the repository at this point in the history
  29. Merge pull request hashicorp#7055 from hashicorp/r-dev-tweaks-20200203

    Grab bag of dev tweaks
    Mahmood Ali committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    c7eb60b View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    61d4a44 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. e2e: turn no-ACLs connect tests back on

    Also cleanup more missed debugging things >.>
    shoenig committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    a2ee804 View commit details
    Browse the repository at this point in the history
  2. Merge pull request hashicorp#7060 from hashicorp/f-e2e-more-missed-debug

    e2e: turn no-ACLs connect tests back on
    shoenig committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    18bccb2 View commit details
    Browse the repository at this point in the history
  3. e2e: improve provisioning defaults and documentation (hashicorp#7062)

    This changeset improves the ergonomics of running the Nomad e2e test
    provisioning process by defaulting to a blank `nomad_sha` in the
    Terraform configuration. By default, a user will now need to pass in
    one of the Nomad version flags. But they won't have to manually edit
    the `provisioning.json` file for the common case of deploying a
    released version of Nomad, and won't need to put dummy values for
    `nomad_sha`.
    
    Includes general documentation improvements.
    tgross committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    15a2acc View commit details
    Browse the repository at this point in the history
  4. e2e: rename linux runner to avoid implicit build tag (hashicorp#7070)

    Go implicitly treats files ending with `_linux.go` as build tagged for
    Linux only. This broke the e2e provisioning framework on macOS once we
    tried importing it into the `e2e/consulacls` module.
    tgross committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    ed41d7b View commit details
    Browse the repository at this point in the history
  5. e2e: wait 2m rather than 10s after disabling consul acls

    Pretty sure Consul / Nomad clients are often not ready yet after
    the ConsulACLs test disables ACLs, by the time the next test starts
    running.
    
    Running locally things tend to work, but in TeamCity this seems to
    be a recurring problem. However, when running locally sometimes I do
    see that the "show status" step after disabling ACLs, some nodes are
    still initializing, suggesting we're right on the border of not waiting
    long enough
    
        nomad node status
        ID        DC   Name              Class   Drain  Eligibility  Status
        0e4dfce2  dc1  EC2AMAZ-JB3NF9P   <none>  false  eligible     ready
        6b90aa06  dc2  ip-172-31-16-225  <none>  false  eligible     ready
        7068558a  dc2  ip-172-31-20-143  <none>  false  eligible     ready
        e0ae3c5c  dc1  ip-172-31-25-165  <none>  false  eligible     ready
        15b59ed6  dc1  ip-172-31-23-199  <none>  false  eligible     initializing
    
    Going to try waiting a full 2 minutes after disabling ACLs, hopefully that
    will help things Just Work. In the future, we should probably be parsing the
    output of the status checks and actually confirming all nodes are ready.
    
    Even better, maybe that's something shipyard will have built-in.
    shoenig committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    0f2d9ea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    756f5c7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5c2075e View commit details
    Browse the repository at this point in the history
  8. clean up

    drewbailey committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    3609e3a View commit details
    Browse the repository at this point in the history
  9. rm unused field

    drewbailey committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    39c9c20 View commit details
    Browse the repository at this point in the history
  10. fix check

    drewbailey committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    8bf5016 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    84cc906 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f944959 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d55c549 View commit details
    Browse the repository at this point in the history
  14. Merge pull request hashicorp#7074 from hashicorp/docs-changelog-6065

    docs: hashicorp#6065 shipped in v0.10.0, not v0.9.6
    schmichael committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    a74917e View commit details
    Browse the repository at this point in the history
  15. Merge pull request hashicorp#7071 from hashicorp/b-e2e-cacls-wait-longer

    e2e: wait 2m rather than 10s after disabling consul acls
    shoenig committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    729e0c2 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2020

  1. Configuration menu
    Copy the full SHA
    8d17366 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Configuration menu
    Copy the full SHA
    b73ac89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17e2947 View commit details
    Browse the repository at this point in the history
  3. Merge pull request hashicorp#7098 from hashicorp/b-ui/consistent-popo…

    …ver-buttons
    
    UI: Explicit transparent bg on popover actions
    DingoEatingFuzz committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    6eee8d6 View commit details
    Browse the repository at this point in the history
  4. Merge pull request hashicorp#7099 from hashicorp/b-ui/mobile-styles-n…

    …ot-full-width
    
    UI: Override the max-width on mobile to avoid losing space due to non-existent gutter menu
    DingoEatingFuzz committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    4757f87 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. changelog windows binaries being signed

    Note that 0.10.4, nomad windows binaries will be signed.
    
    [ci skip]
    Mahmood Ali committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    22f7844 View commit details
    Browse the repository at this point in the history
  2. Merge pull request hashicorp#7108 from hashicorp/ch-windows-binaries

    changelog windows binaries being signed
    Mahmood Ali committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    ce6b8f2 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Configuration menu
    Copy the full SHA
    1dd45d8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request hashicorp#7122 from hashicorp/pprof/changelog

    change log for remote pprof endpoints
    drewbailey committed Feb 11, 2020
    Configuration menu
    Copy the full SHA
    76e1785 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Configuration menu
    Copy the full SHA
    a67710c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5b5e50 View commit details
    Browse the repository at this point in the history
  3. command: use consistent CONSUL_HTTP_TOKEN name

    Consul CLI uses CONSUL_HTTP_TOKEN, so Nomad should use the same.
    Note that consul-template uses CONSUL_TOKEN, which Nomad also uses,
    so be careful to preserve any reference to that in the consul-template
    context.
    shoenig committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    5ccc9a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7173cb2 View commit details
    Browse the repository at this point in the history
  5. Merge pull request hashicorp#7127 from hashicorp/b-unset-ct

    nomad: unset consul token on job register
    shoenig committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    0a93ddd View commit details
    Browse the repository at this point in the history
  6. Merge pull request hashicorp#7129 from hashicorp/b-consistent-ct-name

    command: use consistent CONSUL_HTTP_TOKEN name
    shoenig committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    4c4dd0f View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. release: prep 0.10.4

    nickethier committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    81c73e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f750636 View commit details
    Browse the repository at this point in the history
  3. Release v0.10.4

    hashicorp-nomad committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    646df47 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2020

  1. merge and conflic resolving

    spavell committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    db3d518 View commit details
    Browse the repository at this point in the history