-
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
Error: Not Found Allocation of id: [object Object] was not found. #16890
Comments
Hi @icyleaf 👋 Thanks for the report. Where do you see the error message you mentioned in the title?
Is this showing up in some log? And if so, which log is that? Any extra information that can provide would be great. Thanks! |
Thanks for reply, "[object Object] was not found" error wase raise by nomad ui, I think this is the result of my daily task "nomad gc". Where can i to fetch the nomad logs? jourctl or node monistor form nomad ui? This is another case: I update postgres job, the previous was marked postgres services return two services by 1babe023 and c6fe6b74, 1babe023 is running allocation, c6fe6b74 was killed by new update allocation.
|
postgres case log on c6fe6b74 alloc of nomad node which it was killed:
when i reboot the node, the nomad log show it try to delete non-existent service registration
|
Ahh I see it now, so the problem is that the service instance for allocations that are not running anymore are still being returned by Nomad service discovery, is that right? If this is the case, then I think this is a duplicate of #16616 which is still being investigated. Those I'm going to close this as a duplicate of #16616. Feel free to add any additional context you may have in that issue 🙂 |
I'll continue to discuss in that issue. BTW, If you have time, would you follow up on the issues and PRs of terraform-provider-nomad, it's a bit out of step with the latest version of nomad, as you are also the maintainer there, thanks. |
Nomad version
Nomad v1.5.3
BuildDate 2023-04-04T20:09:50Z
Revision 434f7a1
Operating system and Environment details
Issue
I ran nomad clusters with 4 nodes, one is metal-barel as main server node, the others is one server node and two client node created with ubuntu vm in proxmox.
Run a job with one service provide by nomad but it returns 3 services of Allocations
Reproduction steps
Run, change jobspec, repeat, and repeat
Expected Result
One count = 1 service, then it will show one service url in traefik.
Actual Result
Three service of Allocations, and three url in traefik
Job file (if appropriate)
The text was updated successfully, but these errors were encountered: