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.
- 14 Jun, 2021 1 commit
-
-
Tim Gross authored
The `QuotaIterator` is used as the source of nodes passed into feasibility checking for constraints. Every node that passes the quota check counts the allocation resources agains the quota, and as a result we count nodes which will be later filtered out by constraints. Therefore for jobs with constraints, nodes that are feasibility checked but fail have been counted against quotas. This failure mode is order dependent; if all the unfiltered nodes happen to be quota checked first, everything works as expected. This changeset moves the `QuotaIterator` to happen last among all feasibility checkers (but before ranking). The `QuotaIterator` will never receive filtered nodes so it will calculate quotas correctly.
-
- 23 Feb, 2021 6 commits
-
-
Nomad Release Bot authored
-
Nomad Release bot authored
-
Seth Hoenig authored
This PR fixes a bug where tasks with Connect services could be triggered to destructively update (i.e. placed in a new alloc) when no update should be necessary. Fixes #10077
-
Tim Gross authored
-
Michael Lange authored
-
Tim Gross authored
-
- 22 Feb, 2021 3 commits
-
-
Tim Gross authored
In a deployment with two groups (ex. A and B), if group A's canary becomes healthy before group B's, the deadline for the overall deployment will be set to that of group A. When the deployment is promoted, if group A is done it will not contribute to the next deadline cutoff. Group B's old deadline will be used instead, which will be in the past and immediately trigger a deployment progress failure. Reset the progress deadline when the job is promotion to avoid this bug, and to better conform with implicit user expectations around how the progress deadline should interact with promotions.
-
Seth Hoenig authored
consul/connect: Fix bug where connect sidecar services would be unnecessarily re-registered
-
Seth Hoenig authored
This PR fixes a bug where sidecar services would be re-registered into Consul every ~30 seconds, caused by the parent service having its tags field set and the sidecar_service tags unset. Nomad would directly compare the tags between its copy of the sidecar service definition and the tags of the sidecar service reported by Consul. This does not work, because Consul will under-the-hood set the sidecar service tags to inherit the parent service tags if the sidecar service tags are unset. The comparison then done by Nomad would not match, if the parent sidecar tags are set. Fixes #10025
-
- 19 Feb, 2021 1 commit
-
-
Cathy Chang authored
-
- 18 Feb, 2021 6 commits
-
-
Buck Doyle authored
-
Drew Bailey authored
* fix periodic * update periodic to not use template nomad job inspect no longer returns an apiliststub so the required fields to query job summary are no longer there, parse cli output instead * rm tmp makefile entry * fix typo * revert makefile change
-
Tim Gross authored
-
Tim Gross authored
Variables that are unset return the correct diagnostic but throw a panic when we later parse the job body. Return early if there are any variable parsing errors instead of continuing in a potentially invalid state.
-
James Rasell authored
drainer: fix error message when handling drain deadlined nodes.
-
James Rasell authored
-
- 17 Feb, 2021 4 commits
-
-
Buck Doyle authored
This doesn’t include Ember Data, as we are still back on 3.12. Most changes are deprecation updates, linting fixes, and dependencies. It can be read commit-by-commit, though many of them are mechanical and skimmable. For the new linting exclusions, I’ve added them to the Tech Debt list. The decrease in test count is because linting is no longer included in ember test. There’s a new deprecation warning in the logs that can be fixed by updating Ember Power Select but when I tried that it caused it to render incorrectly, so I decided to ignore it for now and address it separately.
-
Tim Gross authored
HCL2 locals don't have type constraints, and the map syntax is interpreted as an object. So users may need to explictly convert to map for some functions. The `convert` function documentation was missing the required type constructor parameter for collections.
-
Tim Gross authored
Block labels are not expressions so they can't be interpolated without hacks like `dynamic` blocks. Clarify this so that we don't confuse users who shouldn't need to dig into the subtle nuances between expressions and blocks.
-
Tim Gross authored
-
- 16 Feb, 2021 4 commits
-
-
Drew Bailey authored
* update changelog * fix changelog order
-
Karan Sharma authored
-
Seth Hoenig authored
Updated Default Consul Sidecar Healthcheck
-
Buck Doyle authored
This fixes a flaky test, as seen in this failure: https://app.circleci.com/pipelines/github/hashicorp/nomad/14726/workflows/f4ae0bf2-0699-4d18-b55e-5221aafe393c/jobs/137128 One part of the test involves toggling off all memory recommendations and then accepting, but it’s not possible to accept when there are no CPU recommendations to begin with, which can happen because there’s a 10% chance of not creating a corresponding recommendation in the task factory. Since two tasks are created for this module, it’s only a 1% chance of no CPU task, but that means 1% flakiness!
-
- 13 Feb, 2021 15 commits
-
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-
AndrewChubatiuk authored
-