Subcategories

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

    405 Topics
    3k Posts
    olivierlambertO
    Question for @lsouai-vates
  • ACLs, Self-service, Cloud-init, Load balancing...

    96 Topics
    811 Posts
    olivierlambertO
    Indeed, and it's clearly stated at https://docs.xen-orchestra.com/community
  • All XO backup features: full and incremental, replication, mirrors...

    413 Topics
    4k Posts
    M
    Yesterday our backup job started failing for all VMs with the message: "Job canceled to protect the VDI chain" [image: 1761688213705-27cb4f46-c2fa-43e9-8bb0-5c9c5dd67b2a-image.png] I have checked the docs regarding VDI chain protection: https://docs.xen-orchestra.com/backup_troubleshooting#vdi-chain-protection The xcp-ng logs do not show any errors: [image: 1761688907443-f40b4a41-ad4a-4cf7-be70-dda098c1e274-image.png] [image: 1761689064402-19e6d7a1-d93a-4404-83bb-967b18364909-image.png] I am using TrueNAS as shared storage.
  • Everything related to Xen Orchestra's REST API

    69 Topics
    545 Posts
    S
    I was curious if there had been any updates to mounting ISOs via the API? Thanks.
  • Terraform, Packer or any tool to do IaC

    39 Topics
    371 Posts
    C
    Update: I tried to create a vm using a basic terraform config and using another template. Still the same problem, vm created without a disk. tofu apply -var-file="carlo111.tfvars" OpenTofu used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create OpenTofu will perform the following actions: # module.vm.xenorchestra_vm.vm will be created + resource "xenorchestra_vm" "vm" { + auto_poweron = false + clone_type = "full" + core_os = false + cpu_cap = 0 + cpu_weight = 0 + cpus = 2 + destroy_cloud_config_vdi_after_boot = false + exp_nested_hvm = false + hvm_boot_firmware = "uefi" + id = (known after apply) + ipv4_addresses = (known after apply) + ipv6_addresses = (known after apply) + memory_max = 2126512128 + memory_min = (known after apply) + name_label = "carlo111" + power_state = "Running" + start_delay = 0 + template = "3dbf5448-0337-40e1-ebfc-f3f47e2cb0dd" + vga = "std" + videoram = 8 + disk { + name_label = "carlo111-osdisk" + position = (known after apply) + size = 32212254720 + sr_id = "589dad4d-2391-c2a9-589c-d34a9a7757ea" + vbd_id = (known after apply) + vdi_id = (known after apply) } + network { + device = (known after apply) + ipv4_addresses = (known after apply) + ipv6_addresses = (known after apply) + mac_address = (known after apply) + network_id = "d4ddcfb0-6d3e-d267-b200-d7d1fec1edc8" } } Plan: 1 to add, 0 to change, 0 to destroy. Do you want to perform these actions? OpenTofu will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yes module.vm.xenorchestra_vm.vm: Creating... module.vm.xenorchestra_vm.vm: Still creating... [10s elapsed] module.vm.xenorchestra_vm.vm: Creation complete after 14s [id=95b3b0c6-ac8e-fe4b-2f55-ba0d8ff04005] [20:09 dacshyp002 ~]# xe vbd-list vm-uuid=95b3b0c6-ac8e-fe4b-2f55-ba0d8ff04005 [20:25 dacshyp002 ~]# main.tf resource "xenorchestra_vm" "vm" { name_label = var.vm_name template = var.template_uuid cpus = var.cpus memory_max = var.memory * 1024 * 1024 hvm_boot_firmware = "uefi" clone_type = "full" disk { sr_id = var.sr_uuid name_label = "${var.vm_name}-osdisk" size = var.disk_size * 1024 * 1024 * 1024 } network { network_id = var.network_id } } I don't know if it is related, I see the following errors during the creation of the vm: Oct 28 20:44:07 dacshyp002 xapi: [error||458 |xapi events D:20adbb444ff6|xenops] events_from_xapi: missing from the cache: [ 532cad38-f1ae-433b-b7ac-e0399613fe24 ] Oct 28 20:44:07 dacshyp002 xapi: [error||458 |xapi events D:20adbb444ff6|xenops] events_from_xapi: extra items in the cache: [ 95b3b0c6-ac8e-fe4b-2f55-ba0d8ff04005 ] [20:44 dacshyp002 log]# xe vm-list uuid=532cad38-f1ae-433b-b7ac-e0399613fe24 uuid ( RO) : 532cad38-f1ae-433b-b7ac-e0399613fe24 name-label ( RW): Control domain on host: dacshyp002 power-state ( RO): running [20:45 dacshyp002 log]# xe vm-list uuid=1c210250-1f89-b0e3-c1e6-f7bee976e94c uuid ( RO) : 95b3b0c6-ac8e-fe4b-2f55-ba0d8ff04005 name-label ( RW): carlo111 power-state ( RO): running Manually creating the vm using the same template is not a problem.
  • XOA can't start after installation and contradictory messages

    13
    0 Votes
    13 Posts
    5k Views
    olivierlambertO
    FYI, we modified the deploy script to be able to automatically modify XOA's VIF to run on the management network. So even in case of using only bonded networks like @Low351, this will now work.
  • Dashboard Health gives 'an error has occurred'

    10
    0 Votes
    10 Posts
    811 Views
    DanpD
    @davidg said in Dashboard Health gives 'an error has occurred': 5.58.1 That's ancient, so not a valid comparison. It's likely that a recent commit has broken something that they will eventually identify / fix.
  • New Smart Backup failure

    backup xenorchestra smart backups
    14
    0 Votes
    14 Posts
    2k Views
    mguyattM
    I did for sure. But I noticed that a new commit(886ff2cd7) was made literally in about the last hour and after updating again to that version all is good!
  • Server and VM report

    9
    0 Votes
    9 Posts
    2k Views
    J
    @olivierlambert We are using rrd2csv to get host cpu stats into SQL to provide nice Grafana page sorted by pool. It would be nice to dial even further down to the vm's that are running high cpu or have memory burden.
  • Kubernetes recipe failed - tasks stuck

    3
    0 Votes
    3 Posts
    391 Views
    P
    @BenjiReis XO from the appliance. I hadn't noticed the tasks queue counting up like that before I tried the recipe, but I'm perfectly willing to accept that I'm just not that observant. Thanks!
  • File recovery error

    4
    0 Votes
    4 Posts
    558 Views
    olivierlambertO
    Community version doesn't have a release number, but a commit version on master. Please check you are on the latest commit and rebuild
  • Xen Orchestra from Sources not showing host updates?

    4
    0 Votes
    4 Posts
    943 Views
    olivierlambertO
    That's correct. There's no more updates, that's why you MUST upgrade to 8.2 (see https://xcp-ng.org/docs/releases.html#all-releases )
  • XO HA - Different CPU's?

    2
    0 Votes
    2 Posts
    1k Views
    jedimarcusJ
    @wade_solarch Short answer: try to avoid that. Back in the old XenServer days, you had to manually change the cpu feature flags so it would work at all. https://xcp-ng.org/docs/requirements.html#pool-requirements This confirms that you can't mix Intel & AMD in a pool https://xcp-ng.org/docs/requirements.html#pool-requirements This explains Heterogeneous pools a little
  • Backup started to fail

    17
    3
    0 Votes
    17 Posts
    2k Views
    DarkbeldinD
    @stevewest15 Happy to help
  • 0 Votes
    1 Posts
    311 Views
    No one has replied
  • XOA - backups skipped to protect VDI chain

    23
    1
    0 Votes
    23 Posts
    5k Views
    olivierlambertO
    VDI to coalesce number should decrease over time yes. If it's not, you might have a coalesce issue in your storage, check the /var/log/SMlog in the relevant host (master for shared storage, the host attached to its local storage otherwise). Rescan will scan for the LV/VHD files. But coalesce is automatically checked/started every 5 minutes. Coalesce can take time (depending on SR read/write and quantity to "merge"). Next releases will have a visible task for pending coalesce (next major XCP-ng release). Until then, you can do a ps axf | grep coalesce to see if there's something happening.
  • CD drive not completely installed in XOA

    16
    0 Votes
    16 Posts
    5k Views
    julien-fJ
    @olivierlambert Done: https://github.com/vatesfr/xen-orchestra/commit/33b45d2eda2ce6d8071541da246bdcfd06b133b8 It's not perfect but that should help Example: vm.start { "id": "123e4f2b-498e-d0af-15ae-f835a1e9f59f", "bypassMacAddressesCheck": false, "force": false } { "errors": [ "R620-L3: VM_REQUIRES_SR(OpaqueRef:21fa00fc-62ce-4694-8b49-fcecd600a89e, OpaqueRef:4dd615a7-9a8c-4698-aceb-c10f782321c8)", "R620-L1: HOST_NOT_ENOUGH_FREE_MEMORY(216430280704, 18778341376)", "R620-L2: VM_REQUIRES_SR(OpaqueRef:21fa00fc-62ce-4694-8b49-fcecd600a89e, OpaqueRef:4dd615a7-9a8c-4698-aceb-c10f782321c8)" ], "message": "", "name": "Error", "stack": "Error: at Xapi._startVm (file:///home/julien/dev/vatesfr/xen-orchestra/packages/xo-server/src/xapi/index.mjs:1358:15) at Xapi.startVm (file:///home/julien/dev/vatesfr/xen-orchestra/packages/xo-server/src/xapi/index.mjs:1393:7) at Api.callApiMethod (file:///home/julien/dev/vatesfr/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:307:20)" } 2 julien-f committed to vatesfr/xen-orchestra feat(xo-server): better info when failing to start a VM Fixes https://xcp-ng.org/forum/post/47329
  • Enable Advanced Live Telemetry option disabled

    Solved
    3
    0 Votes
    3 Posts
    908 Views
    M
    @Danp K great, thanks.
  • Anti affinity on xoa

    7
    0 Votes
    7 Posts
    1k Views
    R
    @olivierlambert well, yes, there is definitely room for improvement on that part of the gui ;). although I was able to get any other plugin working no worries though, the quick fix is to remove the (optional)
  • Cant delete templates, error 'incorrect state'

    2
    0 Votes
    2 Posts
    305 Views
    olivierlambertO
    There's an open issue about this on Github, just check on the forum
  • XO logging me out after only afew seconds

    4
    0 Votes
    4 Posts
    316 Views
    olivierlambertO
    Something is maybe interfering with websockets. Have you tried in private mode in case there's a problem with your cookies? If you have pro support, that might be the right time to open a support ticket so we can assist you remotely
  • Reverse Proxy with Apache

    16
    0 Votes
    16 Posts
    7k Views
    olivierlambertO
    Good If there's anything wrong in the doc, you can correct it!
  • Need help with delta backup retention

    Solved
    5
    3
    0 Votes
    5 Posts
    816 Views
    olivierlambertO
    You are welcome Remember to always keep on latest commit to see if your issue persists.
  • Xen Orchestra 5.67 and VMDK export

    4
    2
    0 Votes
    4 Posts
    734 Views
    olivierlambertO
    Are you sure your XOA is up to date? The question mark icon might indicate your XOA isn't registered. In that case, it's not up to date
  • Problem with file level restore from delta backup from LVM parition

    53
    0 Votes
    53 Posts
    20k Views
    W
    @ilidza no unfortunately not I opend a github issue. Here the link - Maybe you can ad something. https://github.com/vatesfr/xen-orchestra/issues/6097 @olivierlambert i have tried it on XOA - the same Issue. wuchererbe created this issue in vatesfr/xen-orchestra closed unknown filesystem type LVM2_member #6097