-
Notifications
You must be signed in to change notification settings - Fork 1
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
Commits on Jan 15, 2020
-
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 committedJan 15, 2020 Configuration menu - View commit details
-
Copy full SHA for 4813863 - Browse repository at this point
Copy the full SHA 4813863View commit details
Commits on Jan 16, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 6c3a29a - Browse repository at this point
Copy the full SHA 6c3a29aView commit details -
Avoid unnecessary golang version reference
Mahmood Ali committedJan 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 9aa4cfe - Browse repository at this point
Copy the full SHA 9aa4cfeView commit details -
add a script to update golang version
Mahmood Ali committedJan 16, 2020 Configuration menu - View commit details
-
Copy full SHA for 8dbb16c - Browse repository at this point
Copy the full SHA 8dbb16cView commit details -
Mahmood Ali committed
Jan 16, 2020 Configuration menu - View commit details
-
Copy full SHA for ee244e9 - Browse repository at this point
Copy the full SHA ee244e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae3030e - Browse repository at this point
Copy the full SHA ae3030eView commit details
Commits on Jan 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 302e27e - Browse repository at this point
Copy the full SHA 302e27eView commit details
Commits on Jan 20, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 3adb3cd - Browse repository at this point
Copy the full SHA 3adb3cdView commit details
Commits on Jan 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1e62825 - Browse repository at this point
Copy the full SHA 1e62825View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 0aa58b9 - Browse repository at this point
Copy the full SHA 0aa58b9View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9f86f5a - Browse repository at this point
Copy the full SHA 9f86f5aView commit details
Commits on Jan 22, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 0b6b475 - Browse repository at this point
Copy the full SHA 0b6b475View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 2a89e47 - Browse repository at this point
Copy the full SHA 2a89e47View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 264932d - Browse repository at this point
Copy the full SHA 264932dView commit details -
Configuration menu - View commit details
-
Copy full SHA for abde9f9 - Browse repository at this point
Copy the full SHA abde9f9View commit details -
Mahmood Ali committed
Jan 22, 2020 Configuration menu - View commit details
-
Copy full SHA for ccd9c14 - Browse repository at this point
Copy the full SHA ccd9c14View commit details -
Merge pull request hashicorp#6968 from hashicorp/b-system-sched-plan-…
…ineligible Return FailedTGAlloc metric instead of no node err
Configuration menu - View commit details
-
Copy full SHA for 15b782c - Browse repository at this point
Copy the full SHA 15b782cView commit details -
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 committedJan 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 2810bf3 - Browse repository at this point
Copy the full SHA 2810bf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 074f17a - Browse repository at this point
Copy the full SHA 074f17aView commit details
Commits on Jan 23, 2020
-
Merge pull request hashicorp#6780 from hashicorp/km.intro-video
website: add ‘intro to nomad’ video to /intro
Configuration menu - View commit details
-
Copy full SHA for bb5f15f - Browse repository at this point
Copy the full SHA bb5f15fView commit details -
Merge pull request hashicorp#6952 from TimHiggison/patch-1
Update ecs.html.md
Configuration menu - View commit details
-
Copy full SHA for 2b3db3c - Browse repository at this point
Copy the full SHA 2b3db3cView commit details -
Merge pull request hashicorp#6953 from TimHiggison/patch-2
Update configuring-tasks.html.md
Configuration menu - View commit details
-
Copy full SHA for 3ed31eb - Browse repository at this point
Copy the full SHA 3ed31ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 004810d - Browse repository at this point
Copy the full SHA 004810dView commit details
Commits on Jan 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a43d108 - Browse repository at this point
Copy the full SHA a43d108View commit details -
Configuration menu - View commit details
-
Copy full SHA for 649be7f - Browse repository at this point
Copy the full SHA 649be7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b22047e - Browse repository at this point
Copy the full SHA b22047eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cbbba0 - Browse repository at this point
Copy the full SHA 1cbbba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ddcd60 - Browse repository at this point
Copy the full SHA 4ddcd60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b031f0 - Browse repository at this point
Copy the full SHA 0b031f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d05f53 - Browse repository at this point
Copy the full SHA 4d05f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ad8987 - Browse repository at this point
Copy the full SHA 3ad8987View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b62eb - Browse repository at this point
Copy the full SHA 09b62ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44904ba - Browse repository at this point
Copy the full SHA 44904baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8788d39 - Browse repository at this point
Copy the full SHA 8788d39View commit details -
Configuration menu - View commit details
-
Copy full SHA for de03d82 - Browse repository at this point
Copy the full SHA de03d82View commit details -
Configuration menu - View commit details
-
Copy full SHA for b02f05f - Browse repository at this point
Copy the full SHA b02f05fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5098b55 - Browse repository at this point
Copy the full SHA 5098b55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 030b449 - Browse repository at this point
Copy the full SHA 030b449View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a8c27d - Browse repository at this point
Copy the full SHA 0a8c27dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eb71ca - Browse repository at this point
Copy the full SHA 7eb71caView commit details -
Configuration menu - View commit details
-
Copy full SHA for d401a11 - Browse repository at this point
Copy the full SHA d401a11View commit details -
Configuration menu - View commit details
-
Copy full SHA for e47d255 - Browse repository at this point
Copy the full SHA e47d255View commit details -
Configuration menu - View commit details
-
Copy full SHA for faffb83 - Browse repository at this point
Copy the full SHA faffb83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f6b9c2 - Browse repository at this point
Copy the full SHA 6f6b9c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for da576bc - Browse repository at this point
Copy the full SHA da576bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ddc54e - Browse repository at this point
Copy the full SHA 2ddc54eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4439853 - Browse repository at this point
Copy the full SHA 4439853View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad8df16 - Browse repository at this point
Copy the full SHA ad8df16View commit details -
Configuration menu - View commit details
-
Copy full SHA for e886361 - Browse repository at this point
Copy the full SHA e886361View commit details -
Configuration menu - View commit details
-
Copy full SHA for fabf956 - Browse repository at this point
Copy the full SHA fabf956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96522e7 - Browse repository at this point
Copy the full SHA 96522e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 504a7af - Browse repository at this point
Copy the full SHA 504a7afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bcd47c - Browse repository at this point
Copy the full SHA 4bcd47cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a0a77c - Browse repository at this point
Copy the full SHA 6a0a77cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e39c0a - Browse repository at this point
Copy the full SHA 2e39c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 595f3c9 - Browse repository at this point
Copy the full SHA 595f3c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a36290d - Browse repository at this point
Copy the full SHA a36290dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3009ad3 - Browse repository at this point
Copy the full SHA 3009ad3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f67e4b - Browse repository at this point
Copy the full SHA 8f67e4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for da941d2 - Browse repository at this point
Copy the full SHA da941d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b03e1e6 - Browse repository at this point
Copy the full SHA b03e1e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dadd3d - Browse repository at this point
Copy the full SHA 8dadd3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 413681e - Browse repository at this point
Copy the full SHA 413681eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b11c82c - Browse repository at this point
Copy the full SHA b11c82cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93eaaab - Browse repository at this point
Copy the full SHA 93eaaabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d6799e - Browse repository at this point
Copy the full SHA 1d6799eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cc6702 - Browse repository at this point
Copy the full SHA 4cc6702View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66ea7c1 - Browse repository at this point
Copy the full SHA 66ea7c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for deb2b31 - Browse repository at this point
Copy the full SHA deb2b31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40d6531 - Browse repository at this point
Copy the full SHA 40d6531View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9b6cda - Browse repository at this point
Copy the full SHA b9b6cdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4793dc9 - Browse repository at this point
Copy the full SHA 4793dc9View commit details -
Merge pull request hashicorp#6819 from hashicorp/f-ui-node-drain
UI: Invoke Node Drains
Configuration menu - View commit details
-
Copy full SHA for fea44b0 - Browse repository at this point
Copy the full SHA fea44b0View commit details
Commits on Jan 27, 2020
-
Mahmood Ali committed
Jan 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 30af487 - Browse repository at this point
Copy the full SHA 30af487View commit details -
Merge pull request hashicorp#6950 from hashicorp/c-golang-1.12.15
Upgrade to using golang 1.12.15
Mahmood Ali committedJan 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 9fdc9de - Browse repository at this point
Copy the full SHA 9fdc9deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64f4e9e - Browse repository at this point
Copy the full SHA 64f4e9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 018f071 - Browse repository at this point
Copy the full SHA 018f071View commit details -
Merge pull request hashicorp#6918 from hashicorp/vendor-godiscover-76…
…98de1 Update go-discover library
Mahmood Ali committedJan 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 7892903 - Browse repository at this point
Copy the full SHA 7892903View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15ecd0c - Browse repository at this point
Copy the full SHA 15ecd0cView commit details -
Merge pull request hashicorp#6994 from hashicorp/docs-go
docs: add Go versioning policy
Configuration menu - View commit details
-
Copy full SHA for 8be04c0 - Browse repository at this point
Copy the full SHA 8be04c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 330d24c - Browse repository at this point
Copy the full SHA 330d24cView commit details -
Merge pull request hashicorp#6938 from hashicorp/e2e-vault
test: download Vault binaries for e2e test
Configuration menu - View commit details
-
Copy full SHA for b9394da - Browse repository at this point
Copy the full SHA b9394daView commit details -
docs: reseting bootstrap doesn't invalidate token
Mahmood Ali committedJan 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 2f88e11 - Browse repository at this point
Copy the full SHA 2f88e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6dd9b6 - Browse repository at this point
Copy the full SHA d6dd9b6View commit details -
Update website/source/guides/security/acl.html.markdown
Co-Authored-By: Tim Gross <tim@0x74696d.com>
Configuration menu - View commit details
-
Copy full SHA for 27fa0f6 - Browse repository at this point
Copy the full SHA 27fa0f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e789c3 - Browse repository at this point
Copy the full SHA 5e789c3View commit details
Commits on Jan 28, 2020
-
Merge pull request hashicorp#6690 from hashicorp/f-canary-meta
consul: add support for canary meta
Configuration menu - View commit details
-
Copy full SHA for 3aec977 - Browse repository at this point
Copy the full SHA 3aec977View commit details -
Merge pull request hashicorp#6997 from hashicorp/docs-bootstrap-reset
docs: reseting bootstrap doesn't invalidate token
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for e343315 - Browse repository at this point
Copy the full SHA e343315View commit details -
Mahmood Ali committed
Jan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for c68947b - Browse repository at this point
Copy the full SHA c68947bView commit details -
include test and address review comments
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 0912400 - Browse repository at this point
Copy the full SHA 0912400View commit details -
Always deliver last value then send close signal.
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 97f20bd - Browse repository at this point
Copy the full SHA 97f20bdView commit details -
tweak leadership flapping log messages
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 94a75b4 - Browse repository at this point
Copy the full SHA 94a75b4View commit details -
tests: defer closing shutdownCh
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 8ae03c3 - Browse repository at this point
Copy the full SHA 8ae03c3View commit details -
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 committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 438f98c - Browse repository at this point
Copy the full SHA 438f98cView commit details -
Merge pull request hashicorp#6977 from hashicorp/b-leadership-flapping-2
Handle Nomad leadership flapping (attempt 2)
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 771c8ff - Browse repository at this point
Copy the full SHA 771c8ffView commit details -
Support customizing full scheduler config
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 31025d6 - Browse repository at this point
Copy the full SHA 31025d6View commit details -
tests: run_for is already a string
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 99bc650 - Browse repository at this point
Copy the full SHA 99bc650View commit details -
Merge pull request hashicorp#6935 from hashicorp/b-default-preemption…
…-flag scheduler: allow configuring default preemption for system scheduler
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for eb0acc3 - Browse repository at this point
Copy the full SHA eb0acc3View commit details -
Merge pull request hashicorp#6922 from hashicorp/b-alloc-canoncalize
Handle Upgrades and Alloc.TaskResources modification
Mahmood Ali committedJan 28, 2020 Configuration menu - View commit details
-
Copy full SHA for b789b50 - Browse repository at this point
Copy the full SHA b789b50View commit details
Commits on Jan 29, 2020
-
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 ```
Configuration menu - View commit details
-
Copy full SHA for cdef69a - Browse repository at this point
Copy the full SHA cdef69aView commit details -
Merge pull request hashicorp#7005 from shantanugadgil/patch-2
canary_meta will be part of 0.10.3 (not 0.10.2)
Configuration menu - View commit details
-
Copy full SHA for 8b6a8c0 - Browse repository at this point
Copy the full SHA 8b6a8c0View commit details -
Mahmood Ali committed
Jan 29, 2020 Configuration menu - View commit details
-
Copy full SHA for 028a470 - Browse repository at this point
Copy the full SHA 028a470View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for fbd5080 - Browse repository at this point
Copy the full SHA fbd5080View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dbcad3 - Browse repository at this point
Copy the full SHA 2dbcad3View commit details -
Merge pull request hashicorp#7015 from hashicorp/b-allow-monitor-by-s…
…erver-id Allow nomad monitor command to lookup server UUID
Configuration menu - View commit details
-
Copy full SHA for 07df966 - Browse repository at this point
Copy the full SHA 07df966View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for dfc7d97 - Browse repository at this point
Copy the full SHA dfc7d97View commit details
Commits on Jan 30, 2020
-
Merge pull request hashicorp#7009 from hashicorp/golang-1.12.16
use golang 1.12.16
Mahmood Ali committedJan 30, 2020 Configuration menu - View commit details
-
Copy full SHA for a183447 - Browse repository at this point
Copy the full SHA a183447View commit details -
Document default_scheduler_config option
Mahmood Ali committedJan 30, 2020 Configuration menu - View commit details
-
Copy full SHA for afa26a8 - Browse repository at this point
Copy the full SHA afa26a8View commit details -
document docker's disable_log_collection flag
Mahmood Ali committedJan 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 70b0ec9 - Browse repository at this point
Copy the full SHA 70b0ec9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe55b5a - Browse repository at this point
Copy the full SHA fe55b5aView commit details -
Mahmood Ali committed
Jan 30, 2020 Configuration menu - View commit details
-
Copy full SHA for 278f2b5 - Browse repository at this point
Copy the full SHA 278f2b5View commit details -
Merge pull request hashicorp#7018 from hashicorp/f-e2e-specify-suite
e2e: add a -suite flag to e2e.Framework
Configuration menu - View commit details
-
Copy full SHA for d82904e - Browse repository at this point
Copy the full SHA d82904eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e3e1f5c - Browse repository at this point
Copy the full SHA e3e1f5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b97fecc - Browse repository at this point
Copy the full SHA b97feccView commit details -
Merge pull request hashicorp#160 from hashicorp/b-mtls-hostname
server: validate role and region for RPC w/ mTLS
Configuration menu - View commit details
-
Copy full SHA for 3589d4c - Browse repository at this point
Copy the full SHA 3589d4cView commit details -
Merge pull request hashicorp#7022 from hashicorp/f-handshake-deadline…
…s-oss core: add limits to unauthorized connections
Configuration menu - View commit details
-
Copy full SHA for dd8fbf4 - Browse repository at this point
Copy the full SHA dd8fbf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb9274a - Browse repository at this point
Copy the full SHA cb9274aView commit details -
Merge pull request hashicorp#7023 from hashicorp/b-tls-validation
Validate role and region for mTLS
Configuration menu - View commit details
-
Copy full SHA for f5441e6 - Browse repository at this point
Copy the full SHA f5441e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c53d0e - Browse repository at this point
Copy the full SHA 7c53d0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd7eea - Browse repository at this point
Copy the full SHA 0cd7eeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b693322 - Browse repository at this point
Copy the full SHA b693322View commit details
Commits on Jan 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 88d646b - Browse repository at this point
Copy the full SHA 88d646bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbb137b - Browse repository at this point
Copy the full SHA fbb137bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa3a4e4 - Browse repository at this point
Copy the full SHA fa3a4e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f51c0c4 - Browse repository at this point
Copy the full SHA f51c0c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35a9517 - Browse repository at this point
Copy the full SHA 35a9517View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c3cda - Browse repository at this point
Copy the full SHA 29c3cdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6a677d - Browse repository at this point
Copy the full SHA c6a677dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a89beee - Browse repository at this point
Copy the full SHA a89beeeView commit details -
Merge pull request hashicorp#7010 from hashicorp/doc-bulk-20200129
Docs and Changelog catch up
Mahmood Ali committedJan 31, 2020 Configuration menu - View commit details
-
Copy full SHA for 788f64e - Browse repository at this point
Copy the full SHA 788f64eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 478e6d8 - Browse repository at this point
Copy the full SHA 478e6d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 692a887 - Browse repository at this point
Copy the full SHA 692a887View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7067f0 - Browse repository at this point
Copy the full SHA e7067f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d7744 - Browse repository at this point
Copy the full SHA 35d7744View commit details -
Configuration menu - View commit details
-
Copy full SHA for f566281 - Browse repository at this point
Copy the full SHA f566281View commit details -
Configuration menu - View commit details
-
Copy full SHA for 234b7ef - Browse repository at this point
Copy the full SHA 234b7efView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for ac696a4 - Browse repository at this point
Copy the full SHA ac696a4View commit details -
Merge pull request hashicorp#7041 from tiangolo/patch-1
Use secret ID for NOMAD_TOKEN
Mahmood Ali committedJan 31, 2020 Configuration menu - View commit details
-
Copy full SHA for b57d606 - Browse repository at this point
Copy the full SHA b57d606View commit details -
Merge pull request hashicorp#7028 from hashicorp/f-ui/node-drain-disable
UI: Disable client write actions when ACL token only allows client read
Configuration menu - View commit details
-
Copy full SHA for 6e61dcf - Browse repository at this point
Copy the full SHA 6e61dcfView commit details -
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 committedJan 31, 2020 Configuration menu - View commit details
-
Copy full SHA for 87c0c92 - Browse repository at this point
Copy the full SHA 87c0c92View commit details -
Mahmood Ali committed
Jan 31, 2020 Configuration menu - View commit details
-
Copy full SHA for aec066c - Browse repository at this point
Copy the full SHA aec066cView commit details -
Merge pull request hashicorp#7043 from hashicorp/b-collection-interval
Pass stats interval colleciton to executor
Mahmood Ali committedJan 31, 2020 Configuration menu - View commit details
-
Copy full SHA for 74e10b1 - Browse repository at this point
Copy the full SHA 74e10b1View commit details -
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 committedJan 31, 2020 Configuration menu - View commit details
-
Copy full SHA for 82b8e08 - Browse repository at this point
Copy the full SHA 82b8e08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f1dec2 - Browse repository at this point
Copy the full SHA 2f1dec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d5193b - Browse repository at this point
Copy the full SHA 3d5193bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec01c0b - Browse repository at this point
Copy the full SHA ec01c0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f60198 - Browse repository at this point
Copy the full SHA 7f60198View commit details -
Configuration menu - View commit details
-
Copy full SHA for e953704 - Browse repository at this point
Copy the full SHA e953704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e2bcc5 - Browse repository at this point
Copy the full SHA 2e2bcc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4419510 - Browse repository at this point
Copy the full SHA 4419510View commit details
Commits on Feb 1, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 0040c75 - Browse repository at this point
Copy the full SHA 0040c75View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 560ce96 - Browse repository at this point
Copy the full SHA 560ce96View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for f8666bb - Browse repository at this point
Copy the full SHA f8666bbView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 674ccaa - Browse repository at this point
Copy the full SHA 674ccaaView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 6bc6a52 - Browse repository at this point
Copy the full SHA 6bc6a52View commit details -
Configuration menu - View commit details
-
Copy full SHA for d85cccc - Browse repository at this point
Copy the full SHA d85ccccView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 9f48d83 - Browse repository at this point
Copy the full SHA 9f48d83View commit details -
Configuration menu - View commit details
-
Copy full SHA for ead935d - Browse repository at this point
Copy the full SHA ead935dView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4b4dfac - Browse repository at this point
Copy the full SHA 4b4dfacView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e825a0f - Browse repository at this point
Copy the full SHA e825a0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d24d470 - Browse repository at this point
Copy the full SHA d24d470View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for cc7b768 - Browse repository at this point
Copy the full SHA cc7b768View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbedeb6 - Browse repository at this point
Copy the full SHA bbedeb6View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 1fca495 - Browse repository at this point
Copy the full SHA 1fca495View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 40de858 - Browse repository at this point
Copy the full SHA 40de858View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6152ded - Browse repository at this point
Copy the full SHA 6152dedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0589b65 - Browse repository at this point
Copy the full SHA 0589b65View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8949dd - Browse repository at this point
Copy the full SHA f8949ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91c7dba - Browse repository at this point
Copy the full SHA 91c7dbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08951ac - Browse repository at this point
Copy the full SHA 08951acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f285b8 - Browse repository at this point
Copy the full SHA 0f285b8View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 6d99dd4 - Browse repository at this point
Copy the full SHA 6d99dd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c9500a - Browse repository at this point
Copy the full SHA 1c9500aView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for d252bb4 - Browse repository at this point
Copy the full SHA d252bb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 390a7f1 - Browse repository at this point
Copy the full SHA 390a7f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8372bfb - Browse repository at this point
Copy the full SHA 8372bfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fa0276 - Browse repository at this point
Copy the full SHA 9fa0276View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0e3aca - Browse repository at this point
Copy the full SHA b0e3acaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04b5266 - Browse repository at this point
Copy the full SHA 04b5266View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f8e317 - Browse repository at this point
Copy the full SHA 1f8e317View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fa5518 - Browse repository at this point
Copy the full SHA 1fa5518View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 1c15ad9 - Browse repository at this point
Copy the full SHA 1c15ad9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3476f7 - Browse repository at this point
Copy the full SHA a3476f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37dc755 - Browse repository at this point
Copy the full SHA 37dc755View commit details -
Merge pull request hashicorp#7027 from hashicorp/dev-connect-acls
connect acls - rebase all the things
Configuration menu - View commit details
-
Copy full SHA for f5eba8d - Browse repository at this point
Copy the full SHA f5eba8dView commit details -
Merge pull request hashicorp#7047 from hashicorp/f-ui/node-drain-icons
UI: Node drain status light icons
Configuration menu - View commit details
-
Copy full SHA for ce3d581 - Browse repository at this point
Copy the full SHA ce3d581View commit details
Commits on Feb 3, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 5dbccce - Browse repository at this point
Copy the full SHA 5dbccceView commit details -
ignore computed diffs if node is ineligible
test flakey, add temp sleeps for debugging fix computed class
Configuration menu - View commit details
-
Copy full SHA for 580baea - Browse repository at this point
Copy the full SHA 580baeaView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for cd00d6d - Browse repository at this point
Copy the full SHA cd00d6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f0a34 - Browse repository at this point
Copy the full SHA 92f0a34View commit details -
Configuration menu - View commit details
-
Copy full SHA for a880d75 - Browse repository at this point
Copy the full SHA a880d75View commit details -
Configuration menu - View commit details
-
Copy full SHA for e86988c - Browse repository at this point
Copy the full SHA e86988cView commit details -
Merge pull request hashicorp#7051 from hashicorp/b-copy-jobs-oss
sentinel: copy jobs to prevent mutation
Mahmood Ali committedFeb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for 445d019 - Browse repository at this point
Copy the full SHA 445d019View commit details -
vagrant: disable audio interference
Avoid Vagrant/virtualbox interferring with host audio when the VM boots.
Mahmood Ali committedFeb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for c0f42dc - Browse repository at this point
Copy the full SHA c0f42dcView commit details -
prehook: fix enterprise repo remote value
Mahmood Ali committedFeb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for 896ddf5 - Browse repository at this point
Copy the full SHA 896ddf5View commit details -
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 committedFeb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for d13fe75 - Browse repository at this point
Copy the full SHA d13fe75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ccaa92 - Browse repository at this point
Copy the full SHA 9ccaa92View commit details -
Mahmood Ali committed
Feb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for 2e0f98c - Browse repository at this point
Copy the full SHA 2e0f98cView commit details -
make: emit explanation for /api isolation
Emit a slightly helpful message when /api depends on nomad internal packages.
Mahmood Ali committedFeb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for 41d5a69 - Browse repository at this point
Copy the full SHA 41d5a69View commit details -
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 committedFeb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for 3bfc7d1 - Browse repository at this point
Copy the full SHA 3bfc7d1View commit details -
Merge pull request hashicorp#7054 from hashicorp/f-remove-leftover-de…
…bug-line e2e: remove leftover e2e debug println
Configuration menu - View commit details
-
Copy full SHA for 7f43161 - Browse repository at this point
Copy the full SHA 7f43161View commit details -
Merge pull request hashicorp#7045 from hashicorp/b-rpc-fixes
Some fixes to connection pooling
Mahmood Ali committedFeb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for e8136c0 - Browse repository at this point
Copy the full SHA e8136c0View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 39a6c63 - Browse repository at this point
Copy the full SHA 39a6c63View commit details -
agent Profile req nil check s.agent.Server()
clean up logic and tests
Configuration menu - View commit details
-
Copy full SHA for 4e9dc03 - Browse repository at this point
Copy the full SHA 4e9dc03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 173ad83 - Browse repository at this point
Copy the full SHA 173ad83View commit details -
Merge pull request hashicorp#6996 from hashicorp/system-sched-ineligi…
…ble-updates System sched ignore ineligible updates
Configuration menu - View commit details
-
Copy full SHA for 0eb3586 - Browse repository at this point
Copy the full SHA 0eb3586View commit details -
Merge pull request hashicorp#6979 from hashicorp/f/codeowners
Add the digital marketing team as the code owners for the website dir
Configuration menu - View commit details
-
Copy full SHA for bbdfd69 - Browse repository at this point
Copy the full SHA bbdfd69View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1fee69 - Browse repository at this point
Copy the full SHA a1fee69View commit details -
Merge pull request hashicorp#7053 from hashicorp/b-client-monitor-acl…
…-panic Fix panic when monitoring a local client node
Configuration menu - View commit details
-
Copy full SHA for d28898b - Browse repository at this point
Copy the full SHA d28898bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f788316 - Browse repository at this point
Copy the full SHA f788316View commit details -
Configuration menu - View commit details
-
Copy full SHA for 895e563 - Browse repository at this point
Copy the full SHA 895e563View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7fb621 - Browse repository at this point
Copy the full SHA f7fb621View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c43f8c - Browse repository at this point
Copy the full SHA 5c43f8cView commit details -
Merge pull request hashicorp#6975 from hashicorp/b-update-placed-cana…
…ries keep placed canaries aligned in raft store
Configuration menu - View commit details
-
Copy full SHA for c038ee0 - Browse repository at this point
Copy the full SHA c038ee0View commit details -
Merge pull request hashicorp#7055 from hashicorp/r-dev-tweaks-20200203
Grab bag of dev tweaks
Mahmood Ali committedFeb 3, 2020 Configuration menu - View commit details
-
Copy full SHA for c7eb60b - Browse repository at this point
Copy the full SHA c7eb60bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61d4a44 - Browse repository at this point
Copy the full SHA 61d4a44View commit details
Commits on Feb 4, 2020
-
e2e: turn no-ACLs connect tests back on
Also cleanup more missed debugging things >.>
Configuration menu - View commit details
-
Copy full SHA for a2ee804 - Browse repository at this point
Copy the full SHA a2ee804View commit details -
Merge pull request hashicorp#7060 from hashicorp/f-e2e-more-missed-debug
e2e: turn no-ACLs connect tests back on
Configuration menu - View commit details
-
Copy full SHA for 18bccb2 - Browse repository at this point
Copy the full SHA 18bccb2View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 15a2acc - Browse repository at this point
Copy the full SHA 15a2accView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for ed41d7b - Browse repository at this point
Copy the full SHA ed41d7bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 0f2d9ea - Browse repository at this point
Copy the full SHA 0f2d9eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 756f5c7 - Browse repository at this point
Copy the full SHA 756f5c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c2075e - Browse repository at this point
Copy the full SHA 5c2075eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3609e3a - Browse repository at this point
Copy the full SHA 3609e3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39c9c20 - Browse repository at this point
Copy the full SHA 39c9c20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bf5016 - Browse repository at this point
Copy the full SHA 8bf5016View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84cc906 - Browse repository at this point
Copy the full SHA 84cc906View commit details -
Merge pull request hashicorp#7072 from hashicorp/system-sched-e2e
System sched e2e
Configuration menu - View commit details
-
Copy full SHA for f944959 - Browse repository at this point
Copy the full SHA f944959View commit details -
docs: hashicorp#6065 shipped in v0.10.0, not v0.9.6
PR hashicorp#6065 was intended to be backported to v0.9.6 to fix issue hashicorp#6223. However it appears to have not been backported: * https://github.com/hashicorp/nomad/blob/v0.9.6/client/allocrunner/taskrunner/task_runner.go#L1349-L1351 * https://github.com/hashicorp/nomad/blob/v0.9.7/client/allocrunner/taskrunner/task_runner.go#L1349-L1351 The fix was included in v0.10.0: * https://github.com/hashicorp/nomad/blob/v0.10.0/client/allocrunner/taskrunner/task_runner.go#L1363-L1370
Configuration menu - View commit details
-
Copy full SHA for d55c549 - Browse repository at this point
Copy the full SHA d55c549View commit details -
Merge pull request hashicorp#7074 from hashicorp/docs-changelog-6065
docs: hashicorp#6065 shipped in v0.10.0, not v0.9.6
Configuration menu - View commit details
-
Copy full SHA for a74917e - Browse repository at this point
Copy the full SHA a74917eView commit details -
Merge pull request hashicorp#7071 from hashicorp/b-e2e-cacls-wait-longer
e2e: wait 2m rather than 10s after disabling consul acls
Configuration menu - View commit details
-
Copy full SHA for 729e0c2 - Browse repository at this point
Copy the full SHA 729e0c2View commit details
Commits on Feb 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8d17366 - Browse repository at this point
Copy the full SHA 8d17366View commit details
Commits on Feb 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b73ac89 - Browse repository at this point
Copy the full SHA b73ac89View commit details -
Override the max-width on mobile to avoid losing space due to non-exi…
…stent gutter menu
Configuration menu - View commit details
-
Copy full SHA for 17e2947 - Browse repository at this point
Copy the full SHA 17e2947View commit details -
Merge pull request hashicorp#7098 from hashicorp/b-ui/consistent-popo…
…ver-buttons UI: Explicit transparent bg on popover actions
Configuration menu - View commit details
-
Copy full SHA for 6eee8d6 - Browse repository at this point
Copy the full SHA 6eee8d6View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 4757f87 - Browse repository at this point
Copy the full SHA 4757f87View commit details
Commits on Feb 10, 2020
-
changelog windows binaries being signed
Note that 0.10.4, nomad windows binaries will be signed. [ci skip]
Mahmood Ali committedFeb 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 22f7844 - Browse repository at this point
Copy the full SHA 22f7844View commit details -
Merge pull request hashicorp#7108 from hashicorp/ch-windows-binaries
changelog windows binaries being signed
Mahmood Ali committedFeb 10, 2020 Configuration menu - View commit details
-
Copy full SHA for ce6b8f2 - Browse repository at this point
Copy the full SHA ce6b8f2View commit details
Commits on Feb 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1dd45d8 - Browse repository at this point
Copy the full SHA 1dd45d8View commit details -
Merge pull request hashicorp#7122 from hashicorp/pprof/changelog
change log for remote pprof endpoints
Configuration menu - View commit details
-
Copy full SHA for 76e1785 - Browse repository at this point
Copy the full SHA 76e1785View commit details
Commits on Feb 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a67710c - Browse repository at this point
Copy the full SHA a67710cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5b5e50 - Browse repository at this point
Copy the full SHA b5b5e50View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 5ccc9a6 - Browse repository at this point
Copy the full SHA 5ccc9a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7173cb2 - Browse repository at this point
Copy the full SHA 7173cb2View commit details -
Merge pull request hashicorp#7127 from hashicorp/b-unset-ct
nomad: unset consul token on job register
Configuration menu - View commit details
-
Copy full SHA for 0a93ddd - Browse repository at this point
Copy the full SHA 0a93dddView commit details -
Merge pull request hashicorp#7129 from hashicorp/b-consistent-ct-name
command: use consistent CONSUL_HTTP_TOKEN name
Configuration menu - View commit details
-
Copy full SHA for 4c4dd0f - Browse repository at this point
Copy the full SHA 4c4dd0fView commit details
Commits on Feb 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 81c73e4 - Browse repository at this point
Copy the full SHA 81c73e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f750636 - Browse repository at this point
Copy the full SHA f750636View commit details -
Configuration menu - View commit details
-
Copy full SHA for 646df47 - Browse repository at this point
Copy the full SHA 646df47View commit details
Commits on Mar 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for db3d518 - Browse repository at this point
Copy the full SHA db3d518View commit details