Subcategories

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

    376 Topics
    3k Posts
    olivierlambertO
    Yes! That's a good guide for what you want to achieve
  • ACLs, Self-service, Cloud-init, Load balancing...

    93 Topics
    782 Posts
    T
    @jkatz I ran into the same issue when trying to configure a network adapter with cloudbase-init. The documentation says that the MAC address value is optional but in reality it is required. In my case I want Xen Orchestra to choose a unique MAC during deployment, and I since I am deploying from a template, the NIC name is a known value. The fix that ended up working for me was to modify the networkconfig.py file in cloudbase-init so that the NIC name is required and the MAC address is optional. I ended up making some additional changes to allow for the network-config v2 format along with the existing v1 support and some additional logic to aid in setting the dns search domains (I can't recall if this was originally supported or not but I had issues getting it to work with the original networkconfig.py file) This file needs to replace the existing one that is installed in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Lib\site-packages\cloudbaseinit\plugins\common\ directory. To replace it you should make sure that the cloudbase-init service is stopped, then replace the file. Once this file is replaced, delete the pycache folder in the same parent folder as networkconfig.py - this will ensure that python recompiles this file on service start. Start the cloudbase-init service and confirm that you see a new pycache get created. I'm not a python programmer by trade so others may be able to point out areas for improvement but this ended up working for me and I wanted to share in case it could help others needing to deploy new servers without manually specifying a new MAC address. Below is an example network-config v2 format that works with the updated file. version: 2 ethernets: Ethernet 2: dhcp4: false addresses: - 10.20.30.10/24 nameservers: addresses: - 10.20.5.12 - 10.20.5.13 - 10.20.5.14 search: - intranet.domain.org - domain.org - public-domain.org routes: - to: default via: 10.20.30.1 Updated networkconfig.py file: networkconfig.py.txt
  • All XO backup features: full and incremental, replication, mirrors...

    389 Topics
    4k Posts
    olivierlambertO
    That's a feedback for @lsouai-vates
  • Everything related to Xen Orchestra's REST API

    68 Topics
    529 Posts
    olivierlambertO
    @lsouai-vates we should try to reproduce and if we can, to fix it ASAP. Thanks!
  • Terraform, Packer or any tool to do IaC

    35 Topics
    350 Posts
    J
    @manilx I have proposed to the IaC team of Vates, a MCP Server for Vates VMS. Which can be used by GitHub Copilot or similar, if used when doing IaC etc.
  • Scheduled enabling/disabling remote backup file systems?

    5
    0 Votes
    5 Posts
    306 Views
    M
    Thanks for your help. It seems to me that xo-cli works quite well for my purposes.
  • cloudinit

    7
    0 Votes
    7 Posts
    650 Views
    colegatronC
    @olivierlambert you're amazing. Thank you a lot!!
  • undefined defaultSettings

    3
    0 Votes
    3 Posts
    175 Views
    olivierlambertO
    Thanks for your feedback @Andrew !
  • Include network name in Create Network

    3
    2
    0 Votes
    3 Posts
    241 Views
    ForzaF
    @olivierlambert Yea, I have bonded networks. I do rename them so that I know what they are for. It seems that the bond number (bond 1 and bond 0) changes on different servers, as I asked about before, so the name and description is needed here to make it easier.
  • XO + cloud-init appending 0 to hostname

    9
    0 Votes
    9 Posts
    823 Views
    fohdeeshaF
    @pdonias yep I can confirm that works as expected, cloud-init uses the base VM name specified in the top of the create VM page, not the numbered VM names that result after creation. Nevermind!
  • Netbox plugin: VM's IP not in Netbox

    6
    0 Votes
    6 Posts
    1k Views
    pdoniasP
    Hi @RaHu! No, at the moment, we don't synchronize hosts' information. I'm not even sure where that information could go as there isn't such a thing as a host object in Netbox, AFAIK.
  • Orange exclamation mark without errors

    17
    2
    0 Votes
    17 Posts
    1k Views
    burbilogB
    @olivierlambert No, it does not. Still, sometimes badge with patches blink... funny.
  • xoce INTERNAL_ERROR while trying to create VM

    37
    0 Votes
    37 Posts
    13k Views
    olivierlambertO
    VIM
  • Setting Default Filters

    5
    0 Votes
    5 Posts
    784 Views
    G
    @olivierlambert Thanks - request raised. Next UI will be FAR more easier to manage those things
  • OVA Import Never Finishes

    14
    0 Votes
    14 Posts
    2k Views
    planedropP
    @Andrew Wanted to go ahead and add that it didn't seem slow to me to do the export, it was only 2GB, but still. It did take a bit to ramp up speed though, I got 4.5KB downloaded and then it sat there for a few minutes, but once it started downloading more data it sped up and the whole 2GB download was done in like 1-2 minutes, not crazy fast but not super slow either. I will try and test this with a bigger VM when I get the chance to see how it behaves.
  • XOA From The Sources Update Help

    9
    0 Votes
    9 Posts
    5k Views
    planedropP
    @olivierlambert Well, you were right, I was totally in the wrong folder without realizing it. However, after the rebuild it now won't start at all. Rebuilding the VM and restoring config is easy though (thanks to XO being so easy to use) so I might just do that to avoid confusion as this VM has some other issues unrelated to XO anyway.
  • xo-cli vm.migrate mapVifsNetworks object syntax

    3
    0 Votes
    3 Posts
    382 Views
    olivierlambertO
    @julien-f I think someone should update the doc with a real example
  • Xen Orchestra Quick Deploy Fails

    5
    1
    0 Votes
    5 Posts
    2k Views
    P
    @Danp Good catch, can't believe I missed that. Unfortunately, that produced a new error; Error code: SR_BACKEND_FAILURE_77 Error parameters: , Logical Volume group creation failed, From some googling around it appears the issue is that the disks still have a zfs_member tag on them. lsblk -f produces this: NAME FSTYPE LABEL UUID MOUNTPOINT sdd zfs_memb ├─sdd2 zfs_memb data 305869021769108511 └─sdd1 zfs_memb sdb linux_ra localhost:127 1d7d1927-dfdb-c8a8-4af1-b25c2b355a7a └─md127 zfs_memb boot-pool 17799519329276801846 ├─md127p5 ext3 logs-efkbam 0deeb614-6788-45f9-92b7-0f6acc05da6d /var/log ├─md127p3 zfs_memb boot-pool 17799519329276801846 ├─md127p1 ext3 root-efkbam 62e0f462-29f8-4c2a-8df7-bed45c144a4a / ├─md127p6 swap swap-efkbam 26a6ce99-d4fd-43d1-8a27-79bddafb8707 [SWAP] ├─md127p4 vfat BOOT-EFKBAM 0B9B-C4C7 /boot/efi └─md127p2 sde zfs_memb ├─sde2 zfs_memb data 305869021769108511 └─sde1 zfs_memb sdc linux_ra localhost:127 1d7d1927-dfdb-c8a8-4af1-b25c2b355a7a └─md127 zfs_memb boot-pool 17799519329276801846 ├─md127p5 ext3 logs-efkbam 0deeb614-6788-45f9-92b7-0f6acc05da6d /var/log ├─md127p3 zfs_memb boot-pool 17799519329276801846 ├─md127p1 ext3 root-efkbam 62e0f462-29f8-4c2a-8df7-bed45c144a4a / ├─md127p6 swap swap-efkbam 26a6ce99-d4fd-43d1-8a27-79bddafb8707 [SWAP] ├─md127p4 vfat BOOT-EFKBAM 0B9B-C4C7 /boot/efi └─md127p2 sda └─sda1 So it appears my next step is sorting that out. Unfortunately the only way of clearing these tags that I've found so far seems to be wiping the drives completely and starting over? If so that's going to suck as I don't have physical access to the machine right now. If anyone has any suggestions for removing errant zfs_member tags (this machine previously hosted a TrueNAS install) without wiping the whole damn machine, I'd be eager to hear them. If not it'll have to wait until I'm back in the office I guess. Thank you again @Danp for your help.
  • xen orchestra installation failed

    22
    2
    0 Votes
    22 Posts
    9k Views
    olivierlambertO
    You need to set a default sr with this command: xe pool-param-set uuid=<pool-uuid> default-SR=<sr-uuid>
  • Can't move VM - operation failed

    2
    0 Votes
    2 Posts
    425 Views
    E
    Well, it seems like it works if I create a snapshot and create a new VM from the snapshot on the new server. Should be workable for my need.
  • Backup error with space available

    ticket closed
    50
    0 Votes
    50 Posts
    13k Views
    olivierlambertO
    That's really weird
  • i can't load my network dhcp in my xoa

    1
    3
    0 Votes
    1 Posts
    295 Views
    No one has replied
  • S3 backup fails without alert

    4
    0 Votes
    4 Posts
    248 Views
    A
    @florent It looks like the restore test failed because the connection stream failed (and did not retry). It's hard to test this particular one because it is rather large. A good reminder to have more than one backup method (I do). I'll look for a XO update and see what changes. It is scheduled to do a full backup soon (as normal) to make sure issues like this are not a long term problem.
  • Start VM based on powerstate

    2
    0 Votes
    2 Posts
    257 Views
    AtaxyaNetworkA
    @wahla Hello ! In XO you can search "power_state:halted", select all VMs, and start If you want to do it automatically, I think you can script it with xe, but the best way is to understand why VM are shutting down or doesn't restart
  • Upper limit for XVA import size

    4
    0 Votes
    4 Posts
    599 Views
    olivierlambertO
    Try with xe then.