This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 06 Oct, 2022 9 commits
-
-
Tim Gross authored
During an upgrade to Nomad 1.4.0, if a server running 1.4.0 becomes the leader before one of the 1.3.x servers, the old server will crash because the keyring is initialized and writes a raft entry. Wait until all members are on a version that supports the keyring before initializing it.
-
Derek Strickland authored
Post 1.4.0 release
-
Derek Strickland authored
-
hc-github-team-nomad-core authored
-
hc-github-team-nomad-core authored
-
Luiz Aoqui authored
-
Tim Gross authored
-
Tim Gross authored
Metrics state is local to the server and needs to use time, which is normally forbidden in the FSM code. We have a bypass for this rule for `metrics.MeasureSince` but needed one for `metrics.MeasureSinceWithLabels` as well.
-
James Rasell authored
-
- 05 Oct, 2022 1 commit
-
-
James Rasell authored
-
- 04 Oct, 2022 5 commits
-
-
Phil Renaud authored
-
Tim Gross authored
In #14742 we introduced a cached lookup of the `nobody` user, which is only ever called on Unixish machines. But the initial caching was being done in an `init` block, which meant it was being run on Windows as well. This prevents the Nomad agent from starting on Windows. An alternative fix here would be to have a separate `init` block for Windows and Unix, but this potentially masks incorrect behavior if we accidentally added a call to the `Nobody()` method on Windows later. This way we're forced to handle the error in the caller.
-
Tim Gross authored
-
Tim Gross authored
-
Tim Gross authored
The `hc-install` tool we're using needed a patch for a specific bug, but that's since been merged. We definitely want to switch to using a standard release from that project once one is shipped with the CLI, but pinning to HEAD should keep us for now.
-
- 03 Oct, 2022 3 commits
-
-
Michael Schurter authored
* test: ensure feasible node selected in overlap test * test: warn when getting close to retry limit
-
Elijah Voigt authored
This is probably undocumented for a reason, but the `enabled` toggle in the `periodic` stanza is very useful so I figured I try adding it to the docs. The feature has been secretly avaliable since #9142 and was called out in that PR as being a dubious addition, only added to avoid regressions. The use case for disabling a periodic job in this way is to prevent it from running without modifying the schedule. Ideally Nomad would make it more clear that this was the case, and allow you to force a run of the job, but even with those rough edges I think users would benefit from knowing about this toggle.
-
Tim Gross authored
This changeset adds new architecture internals documents to the contributing guide. These are intentionally here and not on the public-facing website because the material is not required for operators and includes a lot of diagrams that we can cheaply maintain with mermaid syntax but would involve art assets to have up on the main site that would become quickly out of date as code changes happen and be extremely expensive to maintain. However, these should be suitable to use as points of conversation with expert end users. Included: * A description of Evaluation triggers and expected counts, with examples. * A description of Evaluation states and implicit states. This is taken from an internal document in our team wiki. * A description of how writing the State Store works. This is taken from a diagram I put together a few months ago for internal education purposes. * A description of Evaluation lifecycle, from registration to running Allocations. This is mostly lifted from @lgfa29's amazing mega-diagram, but broken into digestible chunks and without multi-region deployments, which I'd like to cover in a future doc. Also includes adding Deployments to our public-facing glossary. Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com> Co-authored-by:
Michael Schurter <mschurter@hashicorp.com> Co-authored-by:
Seth Hoenig <shoenig@duck.com>
-
- 30 Sep, 2022 4 commits
-
-
Jai authored
-
dependabot[bot] authored
Bumps [@hashicorp/platform-cli](https://github.com/hashicorp/web-platform-packages/tree/HEAD/packages/cli) from 2.1.0 to 2.3.0. - [Release notes](https://github.com/hashicorp/web-platform-packages/releases) - [Changelog](https://github.com/hashicorp/web-platform-packages/blob/main/packages/cli/CHANGELOG.md) - [Commits](https://github.com/hashicorp/web-platform-packages/commits/@hashicorp/platform-cli@2.3.0/packages/cli ) --- updated-dependencies: - dependency-name: "@hashicorp/platform-cli" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com> Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Luiz Aoqui authored
Previously, the splay timeout was only applied if a template re-render caused a restart or a signal action. The `change_mode = "script"` was running after the `if restart || len(signals) != 0` check, so it was invoked at all times. This change refactors the logic so it's easier to notice that new `change_mode` options should start only after `splay` is applied.
-
- 29 Sep, 2022 3 commits
-
-
Phil Renaud authored
[ui] Bugfix: reinstate the "this variable will be accessible by $job/$group/$task" notification (#14741) * When we isolated the variable form path to within its component for isolation reasons, we lost the model-level checks for related entites at type-time * Be a little more functionally pure * Use Ember.set to appease mirage
-
Phil Renaud authored
-
Seth Hoenig authored
* client: protect user lookups with global lock This PR updates Nomad client to always do user lookups while holding a global process lock. This is to prevent concurrency unsafe implementations of NSS, but still enabling NSS lookups of users (i.e. cannot not use osusergo). * cl: add cl
-
- 28 Sep, 2022 6 commits
-
-
Michael Schurter authored
CI always runs this as root, so it worked there and always scared me when I ran it locally.
-
Derek Strickland authored
multiregion: Added a section for multiregion parameterized job dispatch
-
Derek Strickland authored
-
Derek Strickland authored
-
Derek Strickland authored
Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
Derek Strickland authored
Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
- 27 Sep, 2022 9 commits
-
-
Derek Strickland authored
Remove changelog entry for test update PR
-
Derek Strickland authored
-
Derek Strickland authored
Fix and remove changelog files
-
Derek Strickland authored
Post 1.4.0 rc.1 release
-
Derek Strickland authored
-
Derek Strickland authored
-
Derek Strickland authored
-
Derek Strickland authored
-
hc-github-team-nomad-core authored
-