Hello, @Danp
I just reproduced it.
All my nodes are up to date
( my xo have 7 commits behind master, i read the commit's log of my missing commit, the commits are not related to my issue. ).
In my scenario, i had a pool with 3 nodes
node1
node2
node3
I reinstall node3 after a disaster ( i force forgot node 3).
Now, i can't add the host back to the pool.
[image: 1752089965479-6e6c4b93-7a3d-4c48-92fb-d311b4117983-image.png]
I also tried to update the host after installation ( usually, i do this after ).
But it doesn't works more.
I will not add my node thought xcpng center to permit you further investigation
Here is the detailed operation json
{
"id": "0mcwehjzy",
"properties": {
"method": "pool.mergeInto",
"params": {
"sources": [
"64365465-fd4e-25b6-3db2-2cdcd9edba5e"
],
"target": "a92ca4ca-caac-83b9-fa00-4bb75cb48f6c",
"force": true
},
"name": "API call: pool.mergeInto",
"userId": "63a0dbaf-ba2d-4028-b80f-fe49f56686b2",
"type": "api.call"
},
"start": 1752092249470,
"status": "failure",
"updatedAt": 1752092249473,
"end": 1752092249472,
"result": {
"message": "app.getLicenses is not a function",
"name": "TypeError",
"stack": "TypeError: app.getLicenses is not a function\n at enforceHostsHaveLicense (file:///etc/xen-orchestra/packages/xo-server/src/xo-mixins/pool.mjs:15:30)\n at Pools.apply (file:///etc/xen-orchestra/packages/xo-server/src/xo-mixins/pool.mjs:80:13)\n at Pools.mergeInto (/etc/xen-orchestra/node_modules/golike-defer/src/index.js:85:19)\n at Xo.mergeInto (file:///etc/xen-orchestra/packages/xo-server/src/api/pool.mjs:311:15)\n at Task.runInside (/etc/xen-orchestra/@vates/task/index.js:175:22)\n at Task.run (/etc/xen-orchestra/@vates/task/index.js:159:20)\n at Api.#callApiMethod (file:///etc/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:469:18)"
}
}```