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.
- 08 Feb, 2022 1 commit
-
-
Seth Hoenig authored
-
- 07 Feb, 2022 1 commit
-
-
Tim Gross authored
If processing a specific evaluation causes the scheduler (and therefore the entire server) to panic, that evaluation will never get a chance to be nack'd and cleared from the state store. It will get dequeued by another scheduler, causing that server to panic, and so forth until all servers are in a panic loop. This prevents the operator from intervening to remove the evaluation or update the state. Recover the goroutine from the top-level `Process` methods for each scheduler so that this condition can be detected without panicking the server process. This will lead to a loop of recovering the scheduler goroutine until the eval can be removed or nack'd, but that's much better than taking a downtime.
-
- 05 Feb, 2022 4 commits
-
-
Derek Strickland authored
* reconciler: improved variable names and extract methods from inline logic Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Luiz Aoqui authored
PR #11956 implemented a new mTLS RPC check to validate the role of the certificate used in the request, but further testing revealed two flaws: 1. client-only endpoints did not accept server certificates so the request would fail when forwarded from one server to another. 2. the certificate was being checked after the request was forwarded, so the check would happen over the server certificate, not the actual source. This commit checks for the desired mTLS level, where the client level accepts both, a server or a client certificate. It also validates the cercertificate before the request is forwarded.
-
ttys3 authored
-
Karthick Ramachandran authored
-
- 04 Feb, 2022 2 commits
-
-
Seth Hoenig authored
Merge pull request #12002 from hashicorp/dependabot/go_modules/github.com/hashicorp/go-version-1.4.0 build(deps): bump github.com/hashicorp/go-version from 1.3.0 to 1.4.0
-
Seth Hoenig authored
build(deps): bump google.golang.org/grpc from 1.42.0 to 1.44.0
-
- 03 Feb, 2022 7 commits
-
-
Luiz Aoqui authored
-
dependabot[bot] authored
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/hashicorp/go-version/releases) - [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/go-version/compare/v1.3.0...v1.4.0 ) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-version dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com>
-
dependabot[bot] authored
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.42.0 to 1.44.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.42.0...v1.44.0 ) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by:
dependabot[bot] <support@github.com>
-
Seth Hoenig authored
Merge pull request #11929 from hashicorp/dependabot/go_modules/github.com/mitchellh/copystructure-1.2.0 build(deps): bump github.com/mitchellh/copystructure from 1.1.1 to 1.2.0
-
Tim Gross authored
Non-CSI garbage collection tasks on the server only log the cutoff index in the case where it's not a forced GC from `nomad system gc`. Do the same for CSI for consistency.
-
Tim Gross authored
Many of Nomad's Autopilot features require raft protocol version 3. Set the default raft protocol to 3, and improve the upgrade documentation.
-
Seth Hoenig authored
cleanup: prevent leaks from time.After
-
- 02 Feb, 2022 9 commits
-
-
Glen Yu authored
-
ttys3 authored
-
René Moser authored
-
Samantha authored
Update the logic in the Nomad client's alloc health tracker which erroneously marks existing healthy allocations with dead poststart ephemeral tasks as unhealthy even if they were already successful during a previous deployment.
-
Seth Hoenig authored
This PR replaces use of time.After with a safe helper function that creates a time.Timer to use instead. The new function returns both a time.Timer and a Stop function that the caller must handle. Unlike time.NewTimer, the helper function does not panic if the duration set is <= 0.
-
Luiz Aoqui authored
-
Seth Hoenig authored
build: disable semgrep on structs.go for now
-
James Rasell authored
e2e: moved missed volume test stop command to util helper.
-
James Rasell authored
-
- 01 Feb, 2022 8 commits
-
-
Tim Gross authored
prepare for next release
-
Tim Gross authored
-
Seth Hoenig authored
-
Tim Gross authored
-
James Rasell authored
e2e: account for new job stop CLI exit behaviour.
-
Seth Hoenig authored
deps: import libtime the normal way
-
James Rasell authored
PR #11550 changed the job stop exit behaviour when monitoring the deployment. When stopping a job, the deployment becomes cancelled and therefore the CLI now exits with status code 1 as it see this as an error. This change adds a new utility e2e function that accounts for this behaviour.
-
Michael Schurter authored
Bugfix: auto-promote canary taskgroups when mixed with non-canary taskgroups
-
- 31 Jan, 2022 5 commits
-
-
kainoaseto authored
-
Michael Schurter authored
core: prevent malformed plans from crashing leader
-
Seth Hoenig authored
Previously we copied this library by hand to avoid vendor-ing a bunch of files related to minimock. Now that we no longer vendor, just import the library normally. Also we might use more of the library for handling `time.After` uses, for which this library provides a Context-based solution.
-
Michael Schurter authored
-
Michael Schurter authored
The Plan.Submit endpoint assumed PlanRequest.Plan was never nil. While there is no evidence it ever has been nil, we should not panic if a nil plan is ever submitted because that would crash the leader.
-
- 28 Jan, 2022 3 commits
-
-
Tim Gross authored
-
Noel Quiles authored
* chore: Add Demandbase tag to consent manager * fix: Add services to manager options
-
Jai authored
feat: add evaluations view with table
-