-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Dynamic metadata filter not working as described #16758
Comments
Hi @schmichael I don't think update delay is the reason. 5 days ago after meta update:
For context: i'm running this in simple cluster with 3 nodes (all nodes working as server and as client). It works as expected with |
You're right @valodzka! I was able to reproduce the error with these agent configs and running your commands. I can see the
|
This is a limitation of the underlying github.com/hashicorp/go-bexpr library we (and Consul) use for filters. While we try to find a fix that doesn't involve backwards incompatibilities there is a workaround:
Performing an |
Fixed and will be going out in our next releases! Thanks for the report @valodzka ! |
Looks like this was only fixed for the case of top level entries in Meta. Example:
As you can see, the workaround didn't work. |
Nomad version
1.5.2 / linux
Issue
I've tried example described here https://developer.hashicorp.com/nomad/api-docs/task-api and found that filter not working with dynamic metadata.
Reproduction steps
The text was updated successfully, but these errors were encountered: