-
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
UI - Namespace filter stopped working #23535
Comments
Hi @dkyanakiev , thanks for raising this issue. There may be a bug here, but I wanted to clarify and get a little more info. The behaviour you're seeing with the
In this way, your namespace filter should be observed. This process repeats whenever a blocking query becomes unblocked (a new job appears, or the status of an allocation of a shown job changes, etc.), hence all the requests (the old version of the jobs page did not live update) As to the potential for a bug here: my own network requests look something like this when I select from one of my namespace options: So, similar to your own. In my case, the jobs list filters appropriately to only the An upcoming change in #23468 makes namespaces part of the I think that, if your bug as described above persists, it should hopefully be fixed with this upcoming change. If you're able to test the above format for GETting a /statuses request with namespace set within the filter string, and you can can verify the only returned jobs are those within that namespace, this should be indicative of the change working as a fix. |
You should see it included in an upcoming patch release coming out very soon! |
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 v1.8.1
BuildDate 2024-06-19T06:43:57Z
Revision 5022543
Issue
The namespace filter has stopped working since the upgrade to.
It seems various components on the UI have stopped behaving the same after an upgrade to 1.8.1
When looking at the request - we can see that its stuck in some limbo between filtering with the selected namespace and using a * to filter.
Network activity on version 1.7.1
Network activity on the new version

Namespace filter:

If we inspect the response object from the requests I can see how the results that the
https://<url>/v1/jobs?meta=true&namespace=monitoring&index=13866023
gets contains jobs from various other namespacesThis is not the case with the old version - where things work as they should
Also found some errors in the logs we store altho while the behaviour in the UI remains the same it doesn't seem to always log the error but I'll drop them in case they help
Reproduction steps
Reproduction is a bit complicated. I've stood up a small local cluster where the issue doesn't seem to be happening.
But in our actual clusters with a lot of workloads the issue persists. So i'm going to show some limited screenshots unfortunatelly.
Expected Result
Correctly display workloads for the selected namespace.
Actual Result
Ignores the filter entirely
Nomad Server logs (if appropriate)
Nomad Client logs (if appropriate)
The text was updated successfully, but these errors were encountered: