Subcategories

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

    499 Topics
    4k Posts
    I
    @tjkreidl everything looks normal. I also shared SOS report with @goulven I hope I'll get a feedback on slowness.
  • ACLs, Self-service, Cloud-init, Load balancing...

    107 Topics
    877 Posts
    Bastien NolletB
    Hello @ludalm13, Thanks for your contribution and sorry for not giving an answer earlier. We initially planned to review your PR while doing some additional work on the audit plugin, but our planning evolved and that work was postponed. We'll review your PR in the following days.
  • All XO backup features: full and incremental, replication, mirrors...

    552 Topics
    6k Posts
    A
    Hi, I noticed that every time an NFS backup remote is disabled and re-enabled in Xen Orchestra, a new empty .nfs file is created while the previous files remain on the storage. Xen Orchestra built from source, commit 54051163e0, mount options: hard,proto=tcp,timeo=600,retrans=2 The NAS remains available at all times. No network interruption is required to reproduce the issue. I monitored the open file descriptors. Here is an example of consecutive disable/enable cycles: Remote enabled (3 open descriptors): l-wx------ 1 root root 64 Nov 28 17:15 34 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfd00000048 l-wx------ 1 root root 64 Nov 28 17:15 35 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbff0000004a l-wx------ 1 root root 64 Nov 28 17:15 36 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfe00000049 Remote disabled (2 open descriptors): l-wx------ 1 root root 64 Nov 28 17:15 34 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfd00000048 l-wx------ 1 root root 64 Nov 28 17:15 36 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfe00000049 Remote enabled (4 open descriptors): l-wx------ 1 root root 64 Nov 28 17:15 34 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfd00000048 l-wx------ 1 root root 64 Nov 28 17:15 35 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddc010000004b l-wx------ 1 root root 64 Nov 28 17:15 36 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfe00000049 l-wx------ 1 root root 64 Nov 28 17:16 37 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddc020000004c Remote disabled (3 open descriptors): l-wx------ 1 root root 64 Nov 28 17:15 34 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfd00000048 l-wx------ 1 root root 64 Nov 28 17:15 35 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddc010000004b l-wx------ 1 root root 64 Nov 28 17:15 36 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfe00000049 Remote enabled (5 open descriptors): l-wx------ 1 root root 64 Nov 28 17:15 34 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfd00000048 l-wx------ 1 root root 64 Nov 28 17:15 35 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddc010000004b l-wx------ 1 root root 64 Nov 28 17:15 36 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddbfe00000049 l-wx------ 1 root root 64 Nov 28 17:16 37 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddc040000004d l-wx------ 1 root root 64 Nov 28 17:16 38 -> /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699/.nfs00000000007ddc050000004e During an earlier test, I reached 37 open file descriptors. Disabling the remote closed only one of them, leaving 36 still open. Even though the remote is disabled in XO, the NFS filesystem remains mounted at OS level: $ findmnt -t nfs,nfs4 TARGET SOURCE FSTYPE OPTIONS /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699 192.168.10.30:/volume1/backup_xcp nfs4 rw,relatime,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr= Trying to unmount it manually results in the following error: $ sudo umount /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699 umount.nfs4: /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699: device is busy After stopping the xo-server service, the same unmount command completes successfully. This also appears to explain the failed unmount message during the shutdown of the VM running Xen Orchestra: [FAILED] Failed unmounting /run/xo-server/mounts/e81c1a19-826e-4137-ad0b-e77aecae9699 I asked AI to review the source code in @xen-orchestra/fs/src/_mount.js (https://github.com/vatesfr/xen-orchestra/blob/54051163e0/@xen-orchestra/fs/src/_mount.js) and found the following: const keeperPath = `${realPath}/.keeper_${Math.random().toString(36).slice(2)}` this.#keeper = await fs.open(keeperPath, 'w') ignoreErrors.call(fs.unlink(keeperPath)) The creation of .nfs files is expected NFS behaviour because XO intentionally deletes keeper files while keeping their file descriptors open. However, the increasing number of open descriptors is not expected. The observed behaviour suggests that two keeper descriptors are opened during remote activation, but only one is properly closed during deactivation. It may be worth checking whether _sync() is called twice during remote activation, whether the #keeper reference is overwritten without closing the previous descriptor, or whether multiple handler instances are created for the same remote. Another possible cause is the asynchronous handler clean-up in packages/xo-server/src/xo-mixins/remotes.mjs. A possible solution would be to ensure that existing keeper descriptors are properly closed before opening new ones, wait for handler clean-up to complete before replacing a handler, and prevent overlapping operations for the same remote. Logging failed close and unmount operations instead of silently ignoring them could also help identify the cause. The number of open file descriptors should remain stable across repeated disable/enable cycles. Disabling an unused remote should release all associated file descriptors, remove the temporary .nfs files and allow the NFS filesystem to be unmounted. A simple regression test covering repeated disable/enable cycles could help verify this behaviour. The issue is consistently reproducible, although the exact cause in the source code remains unconfirmed and the proposed changes have not been tested. Possibly related to #10741, although no NFS server outage or network interruption is required to reproduce this issue.
  • Everything related to Xen Orchestra's REST API

    89 Topics
    656 Posts
    P
    Hi, This was fixed in Latest. But if you need to stay on Stable, you can open a ticket to have a patch.
  • Terraform, Packer or any tool to do IaC

    54 Topics
    509 Posts
    enkaskalE
    @poddingue no worries and thanks for reporting your findings
  • Commit 109e376 Implications

    5
    0 Votes
    5 Posts
    1k Views
    rzrR
    Latest XO can be new tested along XCP-ng (with OpenSSL 3): https://xcp-ng.org/forum/topic/9964/xcp-ng-8-3-updates-announcements-and-testing/363 Feedback welcome
  • VDIS not showing in XO5, but are in XO6 and on the VM itself ?

    4
    2
    0 Votes
    4 Posts
    902 Views
    P
    @kent you would have to rollback to early december 2025 XO/XOA (before the 10 of december) quite a long way I'm just waiting the devs to eventually fix it as we have other way to manage VDIs (API calls)
  • XOA SocketError: Other side Closed

    1
    0 Votes
    1 Posts
    276 Views
    No one has replied
  • XOA Create VM and Delete VM Struggling..... Tasks Getting Stuck.....?

    15
    0 Votes
    15 Posts
    2k Views
    G
    @MichaelCropper Truenas on bare metal just as storage, XCP-NG is also bare metal on 3 hosts to make a pool. That's the minimum if you want to enable High Availability, it also works really well as a "normal" pool which is what I have. Rolling Pool functions are great, click the button and the system moves the VMS off of the host that need updates, reboots, moves VMs off of the next host, repeat. Only works with Shared storage.
  • Second IP for Hosts Interface

    2
    0 Votes
    2 Posts
    559 Views
    P
    @jqueiroz said in Second IP for Hosts Interface: I have a situation where I would like to add a second IPv4 address to the management interface of a host. I am installing a host that will be used in another location and I would like to add the address of that location to the management interface before shipping the machine there. Is it possible to do this, or should I continue using the current procedure (making the necessary configurations and change the address shortly before shutting down the machine and packing it for transport)? there is a nuance between secondary IP and secondary MANAGEMENT IP if you have multiple NICS, you could add & configure the destination site IP on it, but it is not flagged management yet. once the server gets on the new site, you could access web ui by this IP address (or SSH) and then either go to web console/xs server or SSH and do the necessary to change management to the good PIF/IP ?
  • Backup fails only on master with VM_NO_SUSPEND_SR

    23
    0 Votes
    23 Posts
    7k Views
    G
    An intake is created for review with XO team. Thanks for the feedback @puffymob !
  • Rolling Updates Failed

    4
    0 Votes
    4 Posts
    1k Views
    J
    Hi! ISO-SR over HBA/FC would be very nice, especially when migration form a SAN vmware-System to XCP-NG. One other thing is altering. Errors like "VM cannot be migrated" or similar should not be silent but should be very visible / even mailed to the admin. Another thing (could be cosmetical though) in my opinion is that a failed Rolling upgrade remains visible with a half fulled progress bar in the task-view. this is confusing.
  • VM metadata import fail & stuck

    9
    0 Votes
    9 Posts
    1k Views
    nikadeN
    @henri9813 Ahh alright, I understand now! Thanks for clarifying.
  • V5 works fine with XenServer 8.4, v6 doesnt work?

    12
    3
    0 Votes
    12 Posts
    2k Views
    E
    @MathieuRA As announced, I have now installed branch xo6/update-site-dashboard and it seems to be working. It no longer loads endlessly and shows me that I haven't configured anything yet Thank you very much!
  • XO Backup [NOBAK] for full backups

    Solved
    43
    0 Votes
    43 Posts
    30k Views
    florentF
    @dave.opc that's it keep us updated on this
  • 0 Votes
    2 Posts
    517 Views
    olivierlambertO
    Hi, Thanks for your feedback! Let me ping @bastien-nollet or @pdonias maybe
  • Large VM Migration fails, host has free disk - Storage_error

    6
    0 Votes
    6 Posts
    1k Views
    ditzy-oliveD
    I managed to do the migration by splitting over the two storages the remove system has. This made it work and I managed to move that one VM. However I still have a second one It's thick provisioned (LVM - never can remember the terms thin/thick). Offline isn't an option unfortunately since I need the services running, can't take if off for 15 hours. But since two of the services are docker containers, both having a separate disk of 500GB, I can make it work by setting up a two new systems and moving everything from the container there. Which would reduce the size by 1TB and make thing easier to manage. Was hoping I could finally upgrade the main xcp-ng last weekend.
  • Changing XOA Registration Email (again)

    2
    0 Votes
    2 Posts
    570 Views
    olivierlambertO
    Hi, Have you followed https://help.vates.tech/kb/en-us/8-technical-support/15-open-a-support-ticket ?
  • Changing XOA Registration Email

    2
    0 Votes
    2 Posts
    578 Views
    DanpD
    @tsukraw Your best option is to open a support ticket so that we can assist you on updating the XOA registration.
  • Xen Orchestra Node 24 compatibility

    9
    0 Votes
    9 Posts
    2k Views
    olivierlambertO
    Nice find! Is there's any plan for Debian to backport that patch?
  • Yarn gpg key expired/ xo bfs on debian 12

    Moved
    1
    0 Votes
    1 Posts
    724 Views
    No one has replied
  • Kubernetes Recipe VM failed to start - Raise Network Interfaces

    12
    1
    0 Votes
    12 Posts
    4k Views
    CyrilleC
    Hi @jacob.becker, We identified the issue last weekend, and we're currently working on a solution. We plan to include a fix in the next XO release.
  • XO 6 backup job missing VM info on failure.

    1
    2
    0 Votes
    1 Posts
    286 Views
    No one has replied
  • Orphan VDIs in XO show health problem

    15
    4
    0 Votes
    15 Posts
    3k Views
    W
    @Pilow Does disk show up after you do the snapshot? If it is able to do the snapshot there is a high chance it can boot up. So try booting up (and check for disk) and shut it down and do the snapshot at that time if the disk show up. It helps to boot up on the old v5 commit and check from that side too if you have both copy before the commit update. Yep I can confirm that snapshot doesn't always work. But using the older v5 that used to work before the update does get it showing up on the newer v5 commit if I go through whole snapshot, revert, etc. one of those case work.
  • 0 Votes
    7 Posts
    3k Views
    olivierlambertO
    We are not energy efficiency experts, while EasyVirt people are. I think they already have some stuff and it might be just a matter of plumbing.