XO (self build) tasks spamming
-
@marcoi Hard to say because you haven't really given us much to go on. There are various things you could try --
-
Deploy a new VM with XO from sources and see if you get the same behavior
-
Investigate the XO tasks to see if you can find some commonality
-
You can wait to see if others start reporting this same issue
What version of Node is installed on this VM?
-
-
Ill just dump some info maybe something might help.
OS is Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-78-generic x86_64)
4 CPU / 4GB Ram
Xen Orchestra, commit c1c3b
Master, commit c1c3btext when opening up a task- so far they all seem similar with different ids.
{ "error": "no such task 0merqc0ye", "data": { "id": "0merqc0ye", "type": "task" } } { "error": "no such task 0merqdzm2", "data": { "id": "0merqdzm2", "type": "task" } }One error in the log
host.getSchedulerGranularity { "host": "4214a8b3-4628-43a6-b10d-c40503dd9694" } { "code": 1, "data": { "id": "4214a8b3-4628-43a6-b10d-c40503dd9694", "type": "host" }, "message": "no such host 4214a8b3-4628-43a6-b10d-c40503dd9694", "name": "XoError", "stack": "XoError: no such host 4214a8b3-4628-43a6-b10d-c40503dd9694 at noSuchObject (/opt/xo/xo-builds/xen-orchestra-202508251601/packages/xo-common/api-errors.js:26:11) at Xo.getObject (file:///opt/xo/xo-builds/xen-orchestra-202508251601/packages/xo-server/src/xo.mjs:88:13) at file:///opt/xo/xo-builds/xen-orchestra-202508251601/packages/xo-server/src/xo-mixins/api.mjs:172:25 at /opt/xo/xo-builds/xen-orchestra-202508251601/node_modules/lodash/_createBaseFor.js:17:11 at baseForOwn (/opt/xo/xo-builds/xen-orchestra-202508251601/node_modules/lodash/_baseForOwn.js:13:20) at /opt/xo/xo-builds/xen-orchestra-202508251601/node_modules/lodash/_createBaseEach.js:17:14 at forEach (/opt/xo/xo-builds/xen-orchestra-202508251601/node_modules/lodash/forEach.js:38:10) at Xo.call (file:///opt/xo/xo-builds/xen-orchestra-202508251601/packages/xo-server/src/xo-mixins/api.mjs:163:3) at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202508251601/packages/xo-server/src/xo-mixins/api.mjs:411:50)" }Seems to be a host that i am testing pcie pass through with. I did redo that host install and used the same name/ip address. Not sure if this is just an error not related to task list issue.
-
when i use command line
marco@xen:/opt/xo/xo-server$ xo-cli rest get tasks/0merqp0hz 404 Not Found ā { "error": "no such task 0merqp0hz", "data": { "id": "0merqp0hz", "type": "task" } } -
@marcoi Same issue here with the latest commit (c1c3b). Rolling back to 4e3c1 from 2025-08-06 which i was running previously resolves the issue. Not sure whats going on or when it started happening exactly as i usually only update once a month.
Edit: Updated to commit 4eeae and also do not experience the task spam. So im guessing this is something that happened during the commits today (Aug 25, 2025)
Edit 2: Tested on both my homelab install and a second test environment install and both seem to exhibit this issue on the latest commit.
-
-
It's been reproduced internally and will be fixed ASAP
-
Hi.
A PR is open: https://github.com/vatesfr/xen-orchestra/pull/8900If anyone can confirm that the issue is fixed, that would be great. Thanks.
-
Thank you for the PR @MathieuRA !
-
@olivierlambert On my test instance which is admittedly not very busy (only 2 hosts) this fixed the issue!
-
Thanks for the feedback!
-
is this in the latest build or do i need to download a separate branch etc? I'm using a script someone made to build my XO so not sure how to do a separate branch but if the change made it into main build i can download an update and test as well.
-
@marcoi in a branch at the moment. Ask your script provider to tell you how to switch to a branch

-
@olivierlambert
Okay i got it I am running
Xen Orchestra, commit 09f67
Master, commit 35428I will watch it and see how the tasks issue goes
Update 2: been about 20 mins and nothing showing up in the task list.
-
I just updated to Commit d1577 and I seam to have the bug now.



-
@acebmxer The fix is inside the branch
mra-rest-fix-task, not yet on master. -
Fix available on master

-
Commit a4410 fix task spam issue.
-
O olivierlambert marked this topic as a question on
-
O olivierlambert has marked this topic as solved on
-
looks good
Xen Orchestra, commit 384bb
Master, commit 384bbthanks for quick fix
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better š
Register Login