Subcategories

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

    378 Topics
    3k Posts
    olivierlambertO
    Hi, Do you have any error message? What's happening? Anything visible or not?
  • 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
    A
    @olivierlambert This happens to me too with a459015ca91c159123bb682f16237b4371a312a6. I did open an issue https://github.com/vatesfr/xen-orchestra/issues/8969 andrew64k created this issue in vatesfr/xen-orchestra open a459015 causes delta replication to always be full #8969
  • 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.
  • Control domain of Xcp-ng

    16
    1
    0 Votes
    16 Posts
    2k Views
    olivierlambertO
    https://xcp-ng.org/docs/troubleshooting.html is a good start to read. In your case, it's likely inside /var/log/SMlog
  • Troubleshooting Backups (in general)

    7
    2
    0 Votes
    7 Posts
    785 Views
    daveD
    @olivierlambert Yes, i will update and have a look if it changes the behaviour anyhow. "For the rest, it's hard to answer without digging more." That`t exactly was i was looking for: Any Information where i can dig deeper? I`m looking for logs or traces of errors or so. It is not that i just wan`t this particular problem to be solved In my limited understanding of interal processes i think somehow a backup process dies and xo-server does not report or recognize this. But shouldn`t it somehow?
  • ISO Import to Local Storage via XO Not Working

    5
    0 Votes
    5 Posts
    2k Views
    K
    @olivierlambert Oh nice, hope it's not too cold over there. It's 9AM over here in Maryland and a bit nippy but not too cold. Nope, no host or pool logs available (both are empty). Then again, I cleared all the alerts from the dashboard earlier this morning, so not sure if that's what wiped all the logs. I'm not too worried, as this is a testing environment so I'm using this host to do a lot of learning.
  • backup using http instead of https

    23
    0 Votes
    23 Posts
    5k Views
    florentF
    @KPS that is a second bug I will look into it this afternoon. edit : confirmed, I'm working on it
  • XOCE limit ?

    27
    2
    0 Votes
    27 Posts
    5k Views
    florentF
    @Gheppy I am not an expert on the network part but I can help on the NBD part We added some info in this PR https://github.com/vatesfr/xen-orchestra/pull/6596, it should be merged in this form or another in master in a few days. It will give the user more info on the NBD usage and the cause (misconfiguration, or network error) Then if XO ( or the proxy) can't connect to the host through the NBD (for example with a network filtering/ routing), it will fall back to the reliable (but non parallelizable) api call Finally , the backup done with NBD or the legacy api call will produce exactly the same data so they are compatibles, but using the same target (as in the same directory , same remote and same VMs) for multiple job can lead to complex support tickets with interesting race conditions. I would advise to only use the same remote/directory only if the backups jobs does not concern the same VMs fbeauchamp opened this pull request in vatesfr/xen-orchestra closed feat(@xen-orchestra/backups): more information on nbd backups #6596
  • S3 Remote with encryption: VHDFile implementation is not compatible

    11
    0 Votes
    11 Posts
    1k Views
    florentF
    @cdbessig that's strange Since S3 remote are only able to store blocks, the option is enforced on save ( without any uI) I tested locally and the options seems to be there. Can you show me a screenshot of the backup job configuration ?
  • Base Copy (No active VDI)

    vdi base copy remove
    4
    1
    0 Votes
    4 Posts
    2k Views
    olivierlambertO
    Remember that the point of pro support (to help and guide you to run this setup confidently in production).
  • VM won't start with internal error

    7
    0 Votes
    7 Posts
    1k Views
    DanpD
    What is your process for provisioning a VM? What template are you using?
  • XO reports wrong number of backups

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    codesmakerC
    @julien-f Thanks a lot for the fast answer. I'll update to the latest version and test.
  • Importing OVA - “Device Already Exists”

    24
    0 Votes
    24 Posts
    7k Views
    planedropP
    @trent234 Interesting, good to know. I do know that XCP-ng only officially supports 7 network interfaces, so not really surprised by that. It supports more VHDs though so feel like I shouldn't be seeing this error.
  • XOCE - Config path

    10
    0 Votes
    10 Posts
    1k Views
    K
    @Gheppy I found my issue... The changes, I wanted to test have not been committed to "master-branch". After changing the branch, everything is clear... Thank you for your help!
  • 0 Votes
    7 Posts
    778 Views
    olivierlambertO
    +1, that's the way to go
  • error -104

    21
    0 Votes
    21 Posts
    7k Views
    P
    @tuxen No GPUs were removed. only 2 were added. The only PCIE item removed was a NIC but I didn't remove it from dom0 or assign it to any VMs, it was just in the system.
  • [XO-CE] job.Sequence error - invalid parameters

    xoce jobs
    3
    7
    0 Votes
    3 Posts
    656 Views
    julien-fJ
    I believe this is a known issue (https://github.com/vatesfr/xen-orchestra/issues/5973) that is unlikely to be fixed in XO5. We'll need to wait for @pdonias to be back from holidays to have more info on this. just-333 created this issue in vatesfr/xen-orchestra closed Error on vm.set from Jobs tab in XO web GUI #5973
  • Deleting snapshots and base copies

    18
    1
    0 Votes
    18 Posts
    5k Views
    S
    @sumansaha In summary , I've deleted Orphan VDIs from Dashboard->health . But in deletion, I've maintained the sequence of their age.It has taken 6 hours, though that depends on the VM size.
  • Show me your backup performance

    11
    0 Votes
    11 Posts
    715 Views
    olivierlambertO
    If you do a full every time, it's fine (use no retention or full every time)
  • How to delete unmanaged disks in local storage

    7
    0 Votes
    7 Posts
    4k Views
    olivierlambertO
    You can't delete a base copy. You need to understand how it works before doing dangerous operations. A base copy exists if there's a snapshot. If you have 0 snap and still base copy, it could be either: because the coalesce isn't finished because the coalesce doesn't work In both case, you have to take a look at your SMlog. If you have no idea about it, you should either get pro support or start to read the doc in more details You can start here: https://xcp-ng.org/docs/storage.html#coalesce
  • FYI - Applying 11/3/2022 and 11/4/2022 Commits in XO from Sources

    22
    0 Votes
    22 Posts
    7k Views
    E
    Thanks for sharing
  • Delta Backup broken with commit 45dcb914...

    3
    0 Votes
    3 Posts
    346 Views
    A
    @julien-f The new update seems to be working correctly now. Thanks for the quick update fix. The backup cache fixes/cleanup made a huge difference (improvement). I was trying to figure out what was going on with my backups as they were running but were missing from the restore list. After the cache cleanup, it showed 3-4 times the number of restore points! All the missing stuff and more. It took some time to clean up all the extra stuff, but backups seem to be back on track again.
  • EIO: i/o error, close when making backup over 10 GbE nic.

    2
    0 Votes
    2 Posts
    340 Views
    tjkreidlT
    @anturk What errors do you see in /var/log./SMlog related to this? Have you run ifconfig or netstat to look for network transmission errors? Is this a new setup and if so, are you sure the cables are of good quality? Is this a dedicated NIC or is it part of a VLAN?