Subcategories

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

    458 Topics
    4k Posts
    C
    I have two PE R630 and one PE R730xd. The two R630s show the IPMI data in XO but the R730xd does not. If I run ipmitool sensor from an ssh session, I get very similar data back on the 730 and 630. This isn't critical to me, just letting you know that there are cases that functioning ipmitool on a Dell does not seem to be enough to show it. There are some differences in the labels. The R730 has "Fan1 RPM", "Fan2 RPM" while the R630 has "Fan1A", "Fan2A", "Fan1B". Most of the other interesting fields seem to have the same names but the order is a bit different and I didn't do an exhaustive comparison. It's very cool that you are surfacing this data now.
  • ACLs, Self-service, Cloud-init, Load balancing...

    102 Topics
    843 Posts
    H
    Are the users from the oidc provider unique and not already present as local users? I ran into this issue because my already existing local user was the same as the oidc provided user
  • All XO backup features: full and incremental, replication, mirrors...

    481 Topics
    5k Posts
    F
    Retrying the job after the above failure results in a full replication and a new VM being created just as before.
  • Everything related to Xen Orchestra's REST API

    84 Topics
    625 Posts
    K
    Hi Vates team, I'm building an automated deployment tool that provisions VMs via the XO REST API (/rest/v0/). The tool needs to work on both Xen Orchestra from Sources (XOCE) and XO Appliance (XOA). I ran into a few API limitations and wanted to share what I found, along with the workarounds I implemented. Hopefully this feedback is useful. 1. cpus field in create_vm — XOCE vs XOA inconsistency When calling POST /rest/v0/pools/{id}/actions/create_vm, XOCE accepts a cpus field in the request body to set the vCPU count on the new VM. XOA rejects the same payload with a 400 error citing "excess property". Workaround: I send the payload with cpus included, and if the response contains "excess property", I retry without it. The VM inherits the template's vCPU count in that case, which is acceptable but not ideal — it means XOA users can't set vCPUs at creation time via the REST API. Request: Could the cpus field be added to XOA's CreateVmBody schema to match XOCE behavior? Or if there's a different field name XOA expects, documentation would be appreciated. 2. No way to rename VDIs via REST API When cloning a VM from a template, the new VM's VDIs (virtual disks) inherit their names from the template. In a Storage Repository with many VMs, this creates confusing duplicate names. I wanted to rename VDIs after creation to follow a {vm_name}_Disk0_OS convention, but the REST API doesn't appear to support PATCH or PUT on /rest/v0/vdis/{id}. I also attempted using the JSON-RPC API (/api/) with vdi.set, but discovered that the JSON-RPC endpoint only supports WebSocket connections — HTTP POST to /api/ returns an HTML redirect rather than a JSON-RPC response. Workaround: I document that users should name the template's VDIs descriptively before converting to a template, since those names propagate to all clones. Request: Would it be possible to add PATCH support for VDI properties (at minimum name_label) to the REST API? Alternatively, if there's an existing method I'm missing, I'd appreciate a pointer. I see that this may have been mentioned here as well: https://xcp-ng.org/forum/topic/11970/request-add-patch-vms-id-for-updating-vm-properties-name_description-name_label 3. Boot order altered when cloning without vdis array (XO #4980) When creating a VM via create_vm with clone: true and no vdis array in the payload, the resulting VM has network boot prepended to its boot order (e.g., "ncn" instead of "cn"). This causes the VM to PXE boot instead of booting from disk. Including a vdis array in the payload — even if the VM doesn't need a new disk — preserves the correct boot order from the template. Workaround: When no data disk is needed, I inject a temporary 1 GB dummy VDI in the vdis array to force the correct boot order, then delete it immediately after VM creation (before the first boot). This is obviously a hack, but it works reliably. I believe this is related to XO issue #4980. Any update on whether this will be addressed in the REST API? Environment XO versions tested: XOCE 5.x (built from sources, commit d1736) and XOA (v6.1.2) XCP-ng: 8.3 API version: REST v0 (/rest/v0/) Automation context: Bash-based installer using curl for all API calls Happy to provide payload examples or logs if any of the above would benefit from more detail. Thanks for the great platform — these are relatively minor friction points in an otherwise excellent API.
  • Terraform, Packer or any tool to do IaC

    49 Topics
    463 Posts
    dalemD
    Version 1.4.0 is released: https://codeberg.org/NiXOA/system/releases/tag/v1.4.0 It includes significant changes and improvements, including: dedicated getting started section, migration to valkey, only needing to clone system, and helper scripts. the xen-orchestra-ce nixpkg now references the libvhdi nixpkg, and the core flake now references and pulls from the xen-orchestra-ce repo as an overlay. System (the user input flake) now uses the Core repo as an overlay, reducing the need to clone both locally AND allowing system to pull new updates and releases from core. XO, and libvhdi as needed. The next goal is: Make an xsconsole-like TUI Automate package updates for libvhdi and xen-orchestra-ce using CI/CD pipelines Submit libvhdi and xen-orchestra-ce as official nixpkgs
  • usage-report description

    4
    2
    0 Votes
    4 Posts
    827 Views
    olivierlambertO
    Feel free to ask for a feature request, as long it's well described in terms of the "what I need" functionally
  • HA in XO

    2
    0 Votes
    2 Posts
    472 Views
    DarkbeldinD
    @cyrus104 Hi, No, there is no way to enable HA at XO level and it is on purpose. Enabling HA as to be taken very seriously, it can cause pool wide crippling issues so we considerer doing it through CLI and be aware of what you really do being mandatory.
  • trying to use netdata in XOA and I get

    2
    0 Votes
    2 Posts
    643 Views
    olivierlambertO
    That would be easier if you open a ticket so we can use our remote access tunnel to take a look
  • default view on hosts?

    2
    0 Votes
    2 Posts
    464 Views
    olivierlambertO
    Have you saved the view you wanted to have? I'm not entirely sure to get it, what is the URL you have in your browser?
  • Plugin Web-Hooks avec Mattermost

    7
    0 Votes
    7 Posts
    1k Views
    olivierlambertO
    You would have to write a daemon, listing for webhooks, parse it, and then send it to Mattermost with the expected payload.
  • Installing patches in pool fails (fixed)

    Solved
    5
    1
    0 Votes
    5 Posts
    2k Views
    K
    Not that you actually needed this reply, but confirmed patch works after upgrade this morning. Thanks for update and the patch.
  • Can't re-add deleted host

    10
    0 Votes
    10 Posts
    1k Views
    olivierlambertO
    I would suggest to NOT expose the host directly on the outside. Especially such an old version with a lot of security issues.
  • April 2022 XCP-ng Update Not Asking for Reboot

    3
    0 Votes
    3 Posts
    411 Views
    planedropP
    @olivierlambert My bad it's late and I totally forgot to check the github. Thanks!
  • Migrating from Intel -> AMD

    11
    0 Votes
    11 Posts
    3k Views
    J
    @olivierlambert said in Migrating from Intel -> AMD: I don't know, but what I can tell is the fact I myself migration my own production from Intel to AMD without any issue, so I really wonder why your guest can't boot Well it's weird... because happens with all Ubuntu 16 hosts too. For this Debian in particular, even after upgrading to bullseye, still won't boot on any AMD host, only on Intel ones. Finally I just reinstalled from scratch on an AMD host and migrated the data.
  • info Xen Orchestra cli cmd

    13
    1
    0 Votes
    13 Posts
    5k Views
    GheppyG
    Thanks for the guidance, that's all I need. It's all working now. Thank you
  • Hub Template Debian 11 cloud init network configuration

    5
    0 Votes
    5 Posts
    7k Views
    fohdeeshaF
    @vmpr Great work and example!
  • Cloud INIT Network and Hostname.

    13
    0 Votes
    13 Posts
    7k Views
    T
    @fohdeesha Yes i can confirm user error. I was uncommenting #network in the network side and it was causing issues with my whole config. I read this in another post on the forum. Thank you for your assistance. I really appreciate the time you provided.
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    4 Views
    No one has replied
  • Starter Vs Standard Plan

    2
    0 Votes
    2 Posts
    2k Views
    olivierlambertO
    See for XOA pricing: https://xen-orchestra.com/#!/featuresmatrix If you want to use Xen Orchestra for your home lab, then go for the version from the sources: https://xen-orchestra.com/docs/installation.html#from-the-sources You'll have all the XO features but no pro support (which is OK for home lab)
  • Backup validation/verification

    2
    0 Votes
    2 Posts
    281 Views
    olivierlambertO
    Backup autorestore for basic tests is already planned and should be out this quarter @florent is the one working on it (he started to do some basic tests).
  • ZTP Restore XOA From Backup

    feature planned
    6
    0 Votes
    6 Posts
    2k Views
    M
    on my side importing backup config in a new XO installation worked (Using Webinterface). (i build from sources). Only thing wich bugs are backup jobs - i had to open and resubmit every backup job to get them work... br Mark
  • Increasing VM disk size breaks Continuous Replication backup

    12
    0 Votes
    12 Posts
    2k Views
    olivierlambertO
    I don't think we had time to investigate it sadly.
  • s3 remote error: Could not find API configuration s3-2006-03-01

    7
    0 Votes
    7 Posts
    1k Views
    M
    Ok so i created a symlink from @aws-sdk to was-sdk and now it works. as the error was looking for node_modules/aws-sdk and not node_modules/@aws-sdk
  • Transfer Configs between XOA'a

    config transfer
    9
    0 Votes
    9 Posts
    2k Views
    M
    @Aimdev eh man people use a lot of different browsers and don't always remember all the options, the dev's here are top 5 star really. I did it because I do use Safari and simply replicated the steps and noticed the pop-up warning (I never allow pop-ups by default) so I figured that could be the issue. Have a great weekend you too and you're welcome!
  • Error message in browser devtools console

    Unsolved
    1
    0 Votes
    1 Posts
    207 Views
    No one has replied