-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constraints operator "is not", "not" and "!=" doesn't work as expected with missing meta tags #1419
Comments
@mclate I believe we fixed the documentation bug. |
I'm not quite follow what "undefined behavior" this would lead to. Wouldn't it be the same behaviour as running task with no constraints only for nodes that don't have meta tag i've mentioned? So, right now, if i don't provide any constraints, task will run on any node. I'm able to say "run only on these nodes", but how would i say "run on any nodes other than these" (without requirement to specify all possible tags on all nodes)? Also it's not quite clear what's the difference between Wonder if it would make sense to use |
Yeah I understand now. Reopening |
Guys, am i right assuming that this issue didn't appear in latest release (v.0.5.0)? |
@mclate Correct it still hasn't been resolved. I am tentatively going to mark this for 0.6.0 |
@marcosnils Sorry still hasn't been resolved. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.4.0
Operating system and Environment details
Ubuntu 140.4, docker 1.11.2
Issue
Consider having some nodes with meta
"router" = true
and some that doesn't have that tag.Having constraints that look like this:
won't start task on any node, while it is expected to be started on nodes that don't have
router = true
meta tag.Here is nomad task output (i'm having 2 nodes with that tag set and 10 without it and want to start two instances in task group):
Expected behavior
Nomad should handle missing meta tags and do matching for
is not
,not
and!=
againstNone
(orundefined
)The text was updated successfully, but these errors were encountered: