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.
- 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 21 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
-
hc-github-team-nomad-core authored
-
Derek Strickland authored
-
Derek Strickland authored
-
Phil Renaud authored
* 3 error states captured * Assertion expecters * Attempt to stabilize datacenters
-
Derek Strickland authored
Fix changelog entry type
-
Derek Strickland authored
-
Michael Schurter authored
Need to wait for Stop evals to be processed before you can expect subsequent RPCs to see the alloc's DesiredStatus=stop.
-
Jim Razmus II authored
* jobspec: allow artifact headers in HCLv1 Co-authored-by:
Luiz Aoqui <luiz@hashicorp.com>
-
Seth Hoenig authored
* cleanup: fixup linter warnings in schedular/feasible.go * core: numeric operands comparisons in constraints This PR changes constraint comparisons to be numeric rather than lexical if both operands are integers or floats. Inspiration #4856 Closes #4729 Closes #14719 * fix: always parse as int64
-
Phil Renaud authored
-
Phil Renaud authored
* Empty and filled task exec screenshots for test * Attempting to stabilize datacenter prop on servers
-
Tim Gross authored
A test flake revealed a bug in the CSI unpublish workflow, where an unpublish that comes from a client that's successfully done the node-unpublish step will not have the claim checkpointed if the controller-unpublish step fails. This will result in a delay in releasing the volume claim until the next GC. This changeset also ensures we're using a new snapshot after each write to raft, and fixes two timing issues in test where either the volume watcher can unpublish before the unpublish RPC is sent or we don't wait long enough in resource-restricted environements like GHA.
-
- 26 Sep, 2022 13 commits
-
-
Michael Schurter authored
* docs: write a lot of words about heartbeats Alternative to #14670 * Apply suggestions from code review Co-authored-by:
Tim Gross <tgross@hashicorp.com> * use descriptive title for link * rework example of high failover ttl Co-authored-by:
Tim Gross <tgross@hashicorp.com>
-
Seth Hoenig authored
This PR translates two of our most flakey unit tests into e2e tests where they are fit much more naturally.
-
Michael Schurter authored
* fingerprint: add node attr for reserverable cores Add an attribute for the number of reservable CPU cores as they may differ from the existing `cpu.numcores` due to client configuration or OS support. Hopefully clarifies some confusion in #14676 * add changelog * num_reservable_cores -> reservablecores
-
Luiz Aoqui authored
The artifact getter uses the go-getter library to fetch files from different sources. Any bug in this library that results in a panic can cause the entire Nomad client to crash due to a single file download attempt. This change aims to guard against this types of crashes by recovering from panics when the getter attempts to download an artifact. The resulting panic is converted to an error that is stored as a task event for operator visibility and the panic stack trace is logged to the client's log.
-
Michael Schurter authored
Extension of #14673 Once Vault is initially fingerprinted, extend the period since changes should be infrequent and the fingerprint is relatively expensive since it is contacting a central Vault server. Also move the period timer reset *after* the fingerprint. This is similar to #9435 where the idea is to ensure the retry period starts *after* the operation is attempted. 15s will be the *minimum* time between fingerprints now instead of the *maximum* time between fingerprints. In the case of Vault fingerprinting, the original behavior might cause the following: 1. Timer is reset to 15s 2. Fingerprint takes 16s 3. Timer has already elapsed so we immediately Fingerprint again Even if fingerprinting Vault only takes a few seconds, that may very well be due to excessive load and backing off our fingerprints is desirable. The new bevahior ensures we always wait at least 15s between fingerprint attempts and should allow some natural jittering based on server load and network latency.
-
Tim Gross authored
-
Luiz Aoqui authored
http.NewRequestWithContext will only set the right value for Content-Length if the input is *bytes.Buffer, *bytes.Reader, or *strings.Reader [0]. Since os.Stdin is an os.File, POST requests made with the `nomad operator api` command would always have Content-Length set to -1, which is interpreted as an unknown length by web servers. [0]: https://pkg.go.dev/net/http#NewRequestWithContext
-
Karan Sharma authored
-
Tim Gross authored
-
dependabot[bot] authored
Bumps [github.com/hashicorp/go-uuid](https://github.com/hashicorp/go-uuid) from 1.0.2 to 1.0.3. - [Release notes](https://github.com/hashicorp/go-uuid/releases) - [Commits](https://github.com/hashicorp/go-uuid/compare/v1.0.2...v1.0.3 ) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-uuid dependency-type: direct:production update-type: version-update:semver-patch ... 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>
-
dependabot[bot] authored
Bumps [github.com/docker/cli](https://github.com/docker/cli) from 20.10.3-0.20220113150236-6e2838e18645+incompatible to 20.10.18+incompatible. - [Release notes](https://github.com/docker/cli/releases) - [Commits](https://github.com/docker/cli/commits/v20.10.18 ) --- updated-dependencies: - dependency-name: github.com/docker/cli dependency-type: direct:production update-type: version-update:semver-patch ... 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>
-
dependabot[bot] authored
Bumps [github.com/brianvoe/gofakeit/v6](https://github.com/brianvoe/gofakeit) from 6.16.0 to 6.19.0. - [Release notes](https://github.com/brianvoe/gofakeit/releases) - [Commits](https://github.com/brianvoe/gofakeit/compare/v6.16.0...v6.19.0 ) --- updated-dependencies: - dependency-name: github.com/brianvoe/gofakeit/v6 dependency-type: direct:production 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>
-
dependabot[bot] authored
Bumps [github.com/hashicorp/raft-boltdb/v2](https://github.com/hashicorp/raft-boltdb) from 2.2.0 to 2.2.2. - [Release notes](https://github.com/hashicorp/raft-boltdb/releases) - [Commits](https://github.com/hashicorp/raft-boltdb/compare/v2.2...v2.2.2 ) --- updated-dependencies: - dependency-name: github.com/hashicorp/raft-boltdb/v2 dependency-type: direct:production update-type: version-update:semver-patch ... 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>
-