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.
  • Hub Template Debian 11 cloud init network configuration

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

    13
    0 Votes
    13 Posts
    6k 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
    1k 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
    215 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
    1k 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
    829 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
    160 Views
    No one has replied
  • Changing XOA IP

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    F
    @olivierlambert Thank you
  • Hub template request

    5
    0 Votes
    5 Posts
    1k Views
    fohdeeshaF
    @ITJamie Alma Linux 8.5 template is finished and should be added to the hub in the next day or two. I should have Rocky Linux done shortly after that. Note that in CentOS/RHEL related distros, the hostname: {name}% parameter that's filled in under the cloud-init config is not enough to change the hostname for the machine, CentOS (and related) expects a fully qualified domain name. To get the newly spawned VM have the hostname you'd like, supply fqdn parameter as well: use VM name as hostname: #cloud-config hostname: {name}% fqdn: {name}%.localdomain.local use custom hostname: #cloud-config hostname: testvm fqdn: testvm.localdomain.local
  • XOCE - export VM error

    7
    3
    0 Votes
    7 Posts
    736 Views
    julien-fJ
    Fixed, thanks for the report https://github.com/vatesfr/xen-orchestra/commit/7830c89e66e178921695aa5e17670717703ef290 0 julien-f committed to vatesfr/xen-orchestra fix(xo-server/Xapi#exportVm): correctly use getRecord Introduced by 6aa5ec6eb
  • XOA - fail to change pool master

    15
    0 Votes
    15 Posts
    4k Views
    R
    @stormi yes, that we be helpful indeed so we can stick to a build version at least for a while.
  • app.createUserConnection is not a function

    12
    0 Votes
    12 Posts
    1k Views
    olivierlambertO
    I updated the doc accordingly: https://xen-orchestra.com/docs/community.html
  • Windows VM cannot boot, cannot insert ISO

    3
    0 Votes
    3 Posts
    2k Views
    A
    @mauzilla To boot an ISO in a VM, you need to select "DVD" in the boot order, put it first, and hit "Save". Then boot the VM. For ANY system (real or VM), you need boot it with the same type of bootstrap as it was installed to use. BIOS or UEFI. If you change the boot type then you have to make the OS ready to use the new/different settings (not just a VM problem). If you created a Windows image from a working system that booted with UEFI then you have to copy ALL partitions (the whole disk), not just the C windows drive.
  • Cannot resume an imported image

    3
    0 Votes
    3 Posts
    531 Views
    A
    @stormi Thanks for the big help that fixed the issue.
  • 0 Votes
    33 Posts
    12k Views
    Y
    Hi, first of all, thank you for developing and supporting these awesome products. I witnessed a similar issue upon running continuous replication on a VM after growing one of the disks on the source side. I run delta backup to a NFS share and continuous replication to another XCP-ng host in one job. The most important part of the relevant log messages remind me of this issue - this topic is the only similar reference I was able to find, so I hope this is the right place to post. If not, please let me know, and I'll create a new topic Mar 21 01:00:29 xcp-ng-2 xapi: [ info||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] Executing /bin/vhd-tool serve --source-format vhd --source-protocol none --source-fd 1f47b1fe-a9ea-4bda-ab8e-2101e5677059 --tar-filename-prefix --destination file:///dev/sm/backend/f7aca870-12e0-8352-9f86-f52d575eb313/6cd16448-6839-476d-93b1-2f8b816c827f --destination-format raw --progress --machine --direct --destination-size 0 --prezeroed Mar 21 01:00:29 xcp-ng-2 xapi: [error||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] vhd-tool failed, returning VDI_IO_ERROR Mar 21 01:00:29 xcp-ng-2 xapi: [error||8947241 INET :::80|Importing raw VDI R:3967654dad6b|vhd_tool_wrapper] vhd-tool output: vhd-tool: Non-zero size required (either a pre-existing destination file or specified via --destination-size on the command line)\x0A I'm currently running Xen Orchestra compiled from sources, on commit 5bc44363f9ac9fa534f3247e697f1b3c6991e916. XCP-ng is on version 8.2.0. I know that this is not fully up-to-date, but after retrying that backup as a first measure, Xen Orchestra ran a full backup for that VM, so I can't reproduce that issue anymore, but I figured posting that here might help resolving the aforementioned issue, if the causes correlate.
  • Netbox Plugin

    2
    0 Votes
    2 Posts
    636 Views
    olivierlambertO
    Hi @LTSFGriffin Netbox sync plugin is available in Enterprise tier
  • Transport-email and Google SMTP

    3
    0 Votes
    3 Posts
    1k Views
    J
    @Darkbeldin I wasn't sure about turning on two-factor. I went through that process and generated the "app password" and it seems to be working. Thanks for the info!