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.
- 15 Jul, 2020 2 commits
-
-
Mahmood Ali authored
We set the Eval field on job (de-)registration only after all servers get upgraded, to avoid dealing with duplicate evals.
-
Mahmood Ali authored
-
- 14 Jul, 2020 2 commits
-
-
Mahmood Ali authored
This fixes a bug where jobs may get "stuck" unprocessed that dispropotionately affect periodic jobs around leadership transitions. When registering a job, the job registration and the eval to process it get applied to raft as two separate transactions; if the job registration succeeds but eval application fails, the job may remain unprocessed. Operators may detect such failure, when submitting a job update and get a 500 error code, and they could retry; periodic jobs failures are more likely to go unnoticed, and no further periodic invocations will be processed until an operator force evaluation. This fixes the issue by ensuring that the job registration and eval application get persisted and processed atomically in the same raft log entry. Also, applies the same change to ensure atomicity in job deregistration. Backward Compatibility We must maintain compatibility in two scenarios: mixed clusters where a leader can handle atomic updates but followers cannot, and a recent cluster processes old log entries from legacy or mixed cluster mode. To handle this constraints: ensure that the leader continue to emit the Evaluation log entry until all servers have upgraded; also, when processing raft logs, the servers honor evaluations found in both spots, the Eval in job (de-)registration and the eval update entries. When an updated server sees mix-mode behavior where an eval is inserted into the raft log twice, it ignores the second instance. I made one compromise in consistency in the mixed-mode scenario: servers may disagree on the eval.CreateIndex value: the leader and updated servers will report the job registration index while old servers will report the index of the eval update log entry. This discripency doesn't seem to be material - it's the eval.JobModifyIndex that matters.
-
Tim Gross authored
Deployments should wait until kicked off by `Job.Register` so that we can assert that all regions have a scheduled deployment before starting any region. This changeset includes the OSS fixes to support the ENT work. `IsMultiregionStarter` has no more callers in OSS, so remove it here.
-
- 13 Jul, 2020 4 commits
-
-
Tim Gross authored
-
Tim Gross authored
It's supposed to be possible for a region not to have `datacenters` set so that it can use the job's `datacenters` field. This requires that operators use the same DC name across multiple regions, but that's the default client configuration.
-
Michael Schurter authored
docs: clarify healthy/progress_deadline relationship
-
Buck Doyle authored
This updates the Ember edition setting to Octane, which I removed from #8319 because it required the template-only Glimmer components setting to be turned on, which this does. These changes to templates accommodate that setting.
-
- 10 Jul, 2020 18 commits
-
-
Michael Lange authored
UI: Filter out new records from the job list page
-
Michael Lange authored
-
Michael Lange authored
When a prefix is set and the run job button is clicked, the new job causes an error because it has no name yet.
-
Michael Lange authored
UI: Reset the system and refetch namespaces with every token change
-
Michael Lange authored
-
Michael Lange authored
-
Seth Hoenig authored
docs: update changelog for vault policies lookup fix
-
Seth Hoenig authored
-
Seth Hoenig authored
docs: clarify kill_signal default for docker
-
Seth Hoenig authored
e2e: add tests for connect native
-
Seth Hoenig authored
-
Mahmood Ali authored
tests: avoid os.Exit in a test
-
Nick Ethier authored
* nomad: recanonicalize network after connect hook
-
Seth Hoenig authored
Before docker, the only default was `SIGINT` for `kill_signal`. The docker driver however defaults to `SIGTERM`, and we should document as such. Fixes #7140
-
James Rasell authored
docs: fix minor incorrect syntax in autoscaling plugin docs.
-
James Rasell authored
This changes fixes a syntax error in the autoscaling apm plugin docs as well as updates the scaling stanza doc. The stazna wording implied its use was only for external autoscalers, whereas it also is used by the UI.
-
Buck Doyle authored
-
Buck Doyle authored
This closes #8408. Thanks to @gmichalec-pandora for letting us know about this.
-
- 09 Jul, 2020 14 commits
-
-
Michael Lange authored
Update preemption.mdx
-
Buck Doyle authored
This is the result of running the no-implicit-this-codemod, some manual fixes, and the addition of a linting rule to prevent future ambiguity.
-
Buck Doyle authored
This includes fixes for newer template lint rules that came along with updating that dependency, which was necessary to be able to use the no-curly-component-invocation rule. It also updates some curly invocations that I missed in #8075.
-
Chris Baker authored
Post release: return to dev
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
-
Chris Baker authored
-
Buck Doyle authored
This updates to Ember 3.16 but leaves Ember Data at 3.12 so we don’t need to use the model fragments beta. It can be reviewed on a commit-by-commit basis: blueprint updates, fixes for test failures, and the removal of now-deprecated partials. It’s not a true update to Octane as that would involve turning on template-only components by default, which breaks various things. We can accomplish that separately and then add the edition setting to package.json.
-
Chris Baker authored
-
Kevin Pruett authored
* Updates for 0.12 release * Update SVGs to align to styles * Updates alert banner for blog Co-authored-by:
Brandon Romano <BrandonRRomano@gmail.com>
-
kaybr01 authored
Typo
-
Seth Hoenig authored
Fix get all vault token policies
-
Drew Bailey authored
-