Subcategories

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

    375 Topics
    3k Posts
    M
    @Danp Hi, I'll try this. Thank you very much. Best regards Mattmurdock78
  • 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...

    388 Topics
    4k Posts
    olivierlambertO
    Use XO to connect on the host with the 10G network IPs addresses.
  • 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.
  • Backing up the backup

    5
    0 Votes
    5 Posts
    961 Views
    M
    Doing a bit more hunting it seems like if we could get Arcserve to use the nolock option then that would likely solve the problem, but there's nowhere to add any options and the Arcserve Proxy itself uses the Windows NFS client behind the scenes. Right now we've worked around the problem by creating a separate, read-only SMB share pointing to the same location and using that for Arcserve instead. Our only concern now is what could happen if XO starts a job while Arcserve is still doing its own backup. Edit: I did a bit more Googling after posting the above and came across this thread: https://www.truenas.com/community/threads/nfs-the-process-cannot-access-the-file-because-another-process-has-locked.12644/ ... which suggests that it's actually a long-standing TrueNAS bug. Buried within the comments is this suggestion: If you're having trouble with the NFS locking mechanism, and you would like to use the "NET USE" command, or the [WNetAddConnection] function to mount a NFS share without locking, there's an undocumented registry entry hidden in the NFSNP.DLL: "HKLM\Software\Microsoft\Client for NFS\CurrentVersion\Users\Default\Mount" REG_DWORD "Locking" If the value is "0x0" then locking will be disabled globally. If the value is "0x1" then locking will ben enabled globally. We'll test it and report back.
  • How setting NFS remote target when NFS target is not all time online?

    7
    1
    0 Votes
    7 Posts
    1k Views
    fohdeeshaF
    @cbaguzman hi, you could try a hard mount instead of soft, then it should constantly retry until it sees the mount again https://www.ibm.com/docs/en/spectrum-protect/8.1.6?topic=considerations-nfs-hard-soft-mounts
  • Failed to join the pool

    3
    3
    0 Votes
    3 Posts
    679 Views
    N
    @gskger thank you a lot. I'll try again.
  • Very minor issue: tooltip location

    1
    1
    0 Votes
    1 Posts
    221 Views
    No one has replied
  • Delta backups vs ZFS snapshots

    4
    0 Votes
    4 Posts
    968 Views
    DarkbeldinD
    @tsettle I'm using a cloud to save regularly my full backup, but otherwise i'm only using a Truenas with ZFS.
  • XO console keyboard on iOS and iPadOS - no input possible

    7
    0 Votes
    7 Posts
    1k Views
    M
    @olivierlambert said in XO console keyboard on iOS and iPadOS - no input possible: No but it doesn't mean this won't be solved with a virtual keyboard anyway It would need to be able to trigger the built in iPad / iPhone keyboard for it to be properly usable.
  • Default for create new ...

    3
    0 Votes
    3 Posts
    376 Views
    E
    Whenever a server or pool is needed, so the field doesn't stay empty and requires manual selection. For example, when creating a new VM, the screen is empty with one line: Create new VM on: [pull down] The same goes for some other items but I don't click nearly as much so in particular for creating new VM's it would save some time if a default could be configured. Thanks!
  • XOA - static route - persistent

    Solved
    10
    0 Votes
    10 Posts
    3k Views
    olivierlambertO
    Since this is a pretty advanced setting, I'm not sure we want to add it into the UI What do you think @julien-f ?
  • Blank CloudInit Drive from Xen Orchestra

    9
    0 Votes
    9 Posts
    855 Views
    M
    @olivierlambert Amazing. Thank you for your help sir!
  • XO console

    3
    0 Votes
    3 Posts
    2k Views
    R
    @olivierlambert thanks. I do understand the console not intended to be Remote Desktop but more of the "I really need access" type of service. Tools like NX and any desk you give a very nice Remote Desktop experience but the virtual graphics card (framework?) Limits what those tools can provide for Remote Desktop. I'll take your advice and check into UDS enterprise.
  • Custom script execution after backup job

    5
    0 Votes
    5 Posts
    879 Views
    AnonabharA
    @olivierlambert Ah.. I'm being thick.. I didnt have the plugin loaded so I was wracking my brains to try and find out where the hook would have been called.. Thanks for you help, and back to coding! 8-)
  • Sign up, Error

    3
    1
    0 Votes
    3 Posts
    358 Views
    olivierlambertO
    The problem is now fixed.
  • Orphaned host after pool metadata restore

    7
    0 Votes
    7 Posts
    994 Views
    S
    @oryon-br I didn't get any more help on this and I couldn't find any solutions so I ended up rebuilding the pool to fix this issue. Not ideal.
  • Backup speed XO vs command line

    1
    1
    0 Votes
    1 Posts
    335 Views
    No one has replied
  • New XOA PLugins

    4
    0 Votes
    4 Posts
    759 Views
    olivierlambertO
    Sure: please create an issue on Github repo asking for this feature, but also explaining you'd like to contribute. This way, our devs will help you to set it up
  • XOCE and Zerotier SDN

    2
    0 Votes
    2 Posts
    592 Views
    W
    its working, it just took very long time to detect,
  • Manage XCP-NG with XOA and Cloudstack

    11
    0 Votes
    11 Posts
    1k Views
    olivierlambertO
    Sure @kurushi9000 there's a free trial exactly for that kind of cases
  • Backups silently fail with invalid XO Proxy License

    Solved
    7
    0 Votes
    7 Posts
    907 Views
    N
    @julien-f Thanks!
  • Backup failed with obscure error message

    6
    0 Votes
    6 Posts
    1k Views
    olivierlambertO
    The issue is to snapshot the VM while there's USB passthrough. Offline backup might work, please try.
  • cloud-init ssh key works but not user config

    8
    0 Votes
    8 Posts
    3k Views
    C
    Hello, Did you manage to make it work with a static addressing network ? I tried this (where myip and mygateway are replaced by real values) network: version: 1 config: - type: physical name: eth0 subnets: - type: static address: myip/24 gateway: mygateway with no success. and as I don't have an IP assignated and theses cloud images are passwordless by default I can't event log in from the console to troubleshoot.