Pools don't appear under Settings > Servers on fresh build of XO
-
It seems you have connectivity issues between your XO and your hosts
-
My two xcp-ng servers, my XOA VM and my XO VM are all in the same subnet.
-
Can you try with a real updated XOA to compare and check if it's your XO install?
-
My XOA is at the current version:
- Current version: 5.80.2
- node: 18.12.1
- npm: 8.19.2
- xen-orchestra-upload-ova: 0.1.4
- xo-server: 5.110.1
- xo-server-telemetry: 0.5.0
- xo-server-xoa: 0.19.0
- xo-web-free: 5.113.0
- xoa-cli: 0.35.0
- xoa-updater: 0.45.1
I have no problem with my XOA. The pool are available under Settings -> Servers.
Maybe I should consider erasing my XO VM and start over. Maybe a glitch occured somewhere
-
If it works with XOA, it's likely related to your XO from the sources setup then (you should test also on the "latest" channel)
- Check your XO to be on HEAD for
master
branch - Rebuild
- Retest
- Check your XO to be on HEAD for
-
I did use the master by using:
git clone -b master https://github.com/vatesfr/xen-orchestraSo I deleted my vm and started over. Everything works fine now. Maybe I did something wrong or a glitch occurred without being noticed.
Thanks for our help!
-
-
-
I've stuck with the same problem and rechecked everything for couple of hours to make sure: I've made it just as said in docs for the "from the sources part".
The test build was bullseye Debian and I followed all the recommendations.It seems that it's just an inaccuracy in documentation; it says exactly "Please always use latest Node LTS." but that's the problem itself: XO seems not to work with NodeJS 20.x (that is also LTS) with the exact same errors from this ticket.
So just keep in mind that "Please always use latest Node LTS." means really "use NodeJS 16.x or 18.x versions for now" or you will get the errors like these.
-
@al-indigo said in Pools don't appear under Settings > Servers on fresh build of XO:
NodeJS 20.x (that is also LTS)
Can you show where v20 is shown as LTS? AFAIK, only v18 is considered LTS at this time.
-
@al-indigo I agree, Node 20.x does not work for XO at this time. Pools/Hosts appear and then disappear. Using Node 18.x (LTS, as required by XO), everything works great.
While 20.x is listed as
Current
, it is not the correct 18.xLTS
version needed for XO. -
Indeed, only Node 18 is the current LTS, so our doc is correct
-
@olivierlambert in Debian 12 it is 20.9.0 ...
Output the latest LTS Node.js version available
> n --lts
20.9.0cat /etc/debian_version
12.2 -
The docs were recently updated to show that Node v18 is required instead of LTS.
-
@Danp Thanks for the hint, of course I didn't check the documentation .
For updates I use a script "xo-update.sh" fromhttps://github.com/Jarli01/xenorchestra_updater.git
. There it only checks if "node -v" is equal to "node -lts", which does not work and recommends to run "sudo n lts". -
@swaio Yes, I'm aware of the issue with that script ATM. I haven't decided on the best way to fix it. Perhaps display a warning instead of aborting the script.
Here are some steps that should allow you to successfully update using the existing script --
sudo n lts curl https://raw.githubusercontent.com/Jarli01/xenorchestra_updater/master/xo-update.sh | sudo bash sudo n 18 sudo systemctl restart xo-server.service
HTH, Dan
-
@Danp
Hi everyone.That "n 18" did it for me. My Xen Orchestra would not hold the connection, with the same "http connection time out".
Thanks a bunch
Regards
Marc