Subcategories

  • VMs, hosts, pools, networks and all other usual management tasks.

    336 Topics
    2k Posts
    J
    I got the following when trying to add a new host to an existing pool pool.mergeInto { "sources": [ "0af9d764-44e6-1393-4eea-6cb59b934f2a" ], "target": "38aea760-cf23-927c-ccf5-90969681e04b", "force": true } { "message": "app.getLicenses is not a function", "name": "TypeError", "stack": "TypeError: app.getLicenses is not a function at enforceHostsHaveLicense (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/pool.mjs:15:30) at Pools.apply (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/pool.mjs:80:13) at Pools.mergeInto (/opt/xen-orchestra/node_modules/golike-defer/src/index.js:85:19) at Xo.mergeInto (file:///opt/xen-orchestra/packages/xo-server/src/api/pool.mjs:311:15) at Task.runInside (/opt/xen-orchestra/@vates/task/index.js:175:22) at Task.run (/opt/xen-orchestra/@vates/task/index.js:159:20) at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:469:18)" } Had no idea what was up with this error, so updated the xoa vm and installed updates. But I still got the same error [image: 1747780400031-40b881da-29e7-4858-bfdb-8ad91466d8c3-image-resized.png] I then tried adding it from the server itself, that also failed [image: 1747780434627-f411a9a5-ae28-4d43-8134-c730266669b5-screenshot-from-2025-05-20-15-26-59.png] /home/jonathon/Pictures/Screenshots/Screenshot from 2025-05-20 15-26-59.png Just to see if it would work, I then tried with the latest xcp-ng center, and that worked. So I do not need anything now, but thought it was interesting and worth posting.
  • ACLs, Self-service, Cloud-init, Load balancing...

    85 Topics
    738 Posts
    A
    @jkatz Thanks for that. I actually did something different but it worked. I don't know how but it is working. I used this in XO in Cloud Config [image: 1747138648336-a5f1ca37-802a-4ff4-bc4f-6c8ccaa3dc97-image.png] It worked [image: 1747138770858-e2666c29-8a03-41e1-879b-b6559b7f0bf2-image.png] Don't know if does it matter or not ( probably does) that I also entered this plugin into both files : cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin @jkatz said in Cloudbase-init on Windows: You don't. That is lame. Wonder if domain join is possible with that...
  • All XO backup features: full and incremental, replication, mirrors...

    343 Topics
    3k Posts
    nvossN
    @dthenot sorry not sure how the "force restart" button option works for both our full and our delta backups vs the regular scheduled backup jobs because doing the force restart lets the job run fully each time regardless of the specific machine that may have the bad/corrupt disk? That's the orange button And a manual snapshot works on all machines I believe too? Is there a smooth way to track that VHD disk GUID back to its machine in the interface?
  • Everything related to Xen Orchestra's REST API

    61 Topics
    476 Posts
    S
    @Studmuffn1134 I changed my link from ws:// to https:// and it now gives me this error File "Z:\Valera\School\Lakeland University\Finished\Programming 2\Python Programs\StudsPrograms.venv\Lib\site-packages\jsonrpc_base\jsonrpc.py", line 213, in parse_response raise ProtocolError(code, message, data) jsonrpc_base.jsonrpc.ProtocolError: (10, 'invalid parameters', {'error': {'message': 'invalid parameters', 'code': 10, 'data': {'errors': [{'instancePath': '/id', 'schemaPath': '#/properties/id/type', 'keyword': 'type', 'params': {'type': 'string'}, 'message': 'must be string'}]}}, 'id': '0a11ec72-9300-4030-a5d2-a5c0286f3811', 'jsonrpc': '2.0'})
  • Terraform, Packer or any tool to do IaC

    31 Topics
    285 Posts
    nathanael-hN
    xo-powershell moves from alpha to beta The XO-PowerShell module is published in the :microsoft: PowerShell Gallery as v1.0.0-beta https://www.powershellgallery.com/packages/xo-powershell/1.0.0-beta Grab it with one powershell command: Install-Module -Name xo-powershell -AllowPrerelease Doc here Thanks to @dinhngtu @iButcat
  • From the sources build now requires >2GB ram

    4
    0 Votes
    4 Posts
    600 Views
    M
    I also encountered this problem. If you are using Debian you can use pre-packaged XO from sources https://github.com/mathiswolff/xen-orchestra
  • Error on Delta Backup - cannot read property "length" of undefined

    16
    0 Votes
    16 Posts
    850 Views
    julien-fJ
    @mbt Great! Thanks for your report and testing
  • Delta Backup job timeout does not get respected

    5
    0 Votes
    5 Posts
    400 Views
    mkrumbholzM
    @olivierlambert I tested this now a bit more. And now it works with the traffic limiter. Your last updates have optimised the backup system too much for my NFS storage and with that froze somehow the timeout (XO is running on local storage). And you are right it is doing it per VM, but i think this was in an older version the other way around (wich would be more important to me, but not for others ). But it would be great if i could get somehow an evenly distribution of the full backups .
  • Disaster Recovery Storage

    4
    0 Votes
    4 Posts
    632 Views
    olivierlambertO
    You need to get the exact same structure ideally to not lose any data. But it's not a big deal, just copy/rsync whatever you like to the destination and that's it.
  • Migrate failed

    24
    0 Votes
    24 Posts
    5k Views
    olivierlambertO
    Errors in CAPS means an error from the host. Check host logs, also check dynamic min memory == dynamic max
  • XO updating hosts queries

    4
    0 Votes
    4 Posts
    232 Views
    olivierlambertO
    Indeed, XO doc was built for XenServer (before XCP-ng existed). @Darkbeldin will update this accordingly
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    24 Views
    No one has replied
  • XCP-NG static ip address issue

    2
    0 Votes
    2 Posts
    743 Views
    olivierlambertO
    Hi, I'm not sure to get what's your problem. What are you trying to achieve exactly? And what are you doing step by step?
  • XCP-ng 8.2 Rolling Update Error

    12
    0 Votes
    12 Posts
    771 Views
    C
    Great to hear, looking forward to the updates.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • XO Sources Build - Yarn ESOCKETTIMEDOUT ?

    Solved
    2
    0 Votes
    2 Posts
    942 Views
    DustyArmstrongD
    I fixed it by running the following: yarn cache clean yarn --network-timeout 10000000
  • xo-cli not working

    Solved
    4
    0 Votes
    4 Posts
    620 Views
    olivierlambertO
    Indeed.
  • Backing up of multiple VM's

    Solved
    3
    0 Votes
    3 Posts
    282 Views
    G
    @olivierlambert Oh, I totally missed the Advanced button! Thanks!
  • Pool Storage wont connect to 2nd host

    2
    2
    0 Votes
    2 Posts
    620 Views
    olivierlambertO
    Double check your 2nd host have permission to connect to the LUN. Try local commands on this host to see if you can access the LUN (iscsiadm for example).
  • Migrate all VMs bug - some VMs do not show as migrating.

    Solved
    6
    2
    0 Votes
    6 Posts
    234 Views
    olivierlambertO
    There's no XO tasks per se, so you can't see it What matters is you have all the VM migrated in the end, but yes, it's not "visible". Next major XO UI will have "XO tasks" that will display clearly the queue
  • getaddrinfo EAI_AGAIN error during backup

    7
    2
    0 Votes
    7 Posts
    2k Views
    ForzaF
    I got the same error again today. It's a delta job with two remotes. [image: 1617015537043-fe12531c-52e2-4457-bc13-ee36db7f4fb5-image.png] Even though it says the backup failed, it looks like it is available on both remotes: [image: 1617015649230-ca6eabb8-f810-44ac-bce0-7079755bc7de-image.png] srv01 = pool member srv02 = pool master srv03, srv04 = backup remotes XOA runs on srv02 The error seems to imply that it can't resolve the hostname of srv02, but that seems rather odd. I am using static IP only.
  • Error restoring VMs

    2
    0 Votes
    2 Posts
    155 Views
    olivierlambertO
    Hi, Please before creating a thread, read carefully this: https://xen-orchestra.com/docs/community.html Double check you are on the latest commit from master branch.
  • Pool CPU usage is impossible

    7
    2
    0 Votes
    7 Posts
    1k Views
    ForzaF
    @gigante said in Pool CPU usage is impossible: @s-pam I am unsure of the purpose of that, but at least now I know! Thanks! Just guessing here, but one reason is probably that single-threaded applications can only utilise one CPU thread, so they cannot go faster than 100%.
  • XO Community Edition Releases

    Solved
    3
    0 Votes
    3 Posts
    4k Views
    G
    @olivierlambert Thanks for the reply. I'll change to the "master" branch. I thought you were on a release schedule because you have a "releases" tab with the releases.
  • Delta Backup Failed invalid argument

    7
    0 Votes
    7 Posts
    839 Views
    julien-fJ
    @deoccultist Not much I can add there, it looks like a system error between your XOA and the remote. What kind of remote are you using? Does this happen often? Have you tried restarting xo-server or the OS?