XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. stormi
    Offline
    • Profile
    • Following 0
    • Followers 18
    • Topics 41
    • Posts 1,475
    • Groups 7

    stormi

    @stormi

    Vates 🪐 XCP-ng Team
    1.2k
    Reputation
    2.3k
    Profile views
    1.5k
    Posts
    18
    Followers
    0
    Following
    Joined
    Last Online
    Location Lyon

    stormi Unfollow Follow
    Product team Lead Maintainer OS Platform & Release Team Vates 🪐 XCP-ng Team Global Moderator Admin

    Best posts made by stormi

    • RE: 89 vulnerabilities in XAPI / Citrix XenServer

      Hi.

      We are aware of this publication and have reviewed every of its claims over the last days.

      A few of the reported issues do represent real privilege escalation paths. However, they rely on XAPI’s advanced RBAC roles feature, which is not enabled or exposed by default in Xen Orchestra, XO Lite, or any of our standard documentation. In practice, the escalation path requires a specific setup: an XCP-ng pool connected to Active Directory for its user management, where a user is given access to the management network and is explicitly granted VM configuration rights (vm-admin XAPI role) via XAPI roles. Such a user could gain elevated host-level privileges beyond what was intended.

      As we don't actively promote or recommend this configuration, we believe very few users are using it. For the small group that might be, patched packages are in the testing phase, and we will release them shortly.

      CVEs are being assigned by the Xen Project (which is the parent project of the XAPI Project) to the vulnerabilities, all requiring this vm-admin XAPI role.

      Most of the other claims stem from misunderstandings of how XAPI roles are designed to work (~65 of the 89 claims), or describe bugs that don’t translate to actual security impact (~15 of them).

      On the disclosure process: we always appreciate coordinated security research, but responsible disclosure typically involves a reasonable grace period (often two weeks or more) to allow time for review, patching, and coordinated release. In this case, we received an email just 24 hours before public publication, and the initial contact came with strange conditions. That doesn’t align with standard responsible disclosure practices.

      Note: This is not intended as an official statement. I have a clear view of the security impact, but since this is an informal, unfiltered write-up, please pardon any minor mistakes in how I’ve reported it.

      posted in Development
      stormiS
      stormi
    • XCP-ng 8.0.0 Beta now available!

      Good morning, afternoon, evening or night to everybody.

      The beta release of XCP-ng 8.0 is available right now 🚀 .

      What's new

      • Based on Citrix Hypervisor 8.0 (see https://xen-orchestra.com/blog/xenserver-7-6/).
      • New kernel (4.19), updated CentOS packages (7.2 => 7.5)
      • Xen 4.11
      • New hardware supported thanks to the new kernel. Some older hardware is not supported anymore. It's still expected work in most cases but security cannot be guaranteed for those especially against side-channel attacks on legacy Intel CPUs. See Citrix's Hardware Compatibility List. Note: in 7.6 we've started providing alternate drivers for some hardware. That's something we intend to keep doing, so that we can extend the compatibility list whenever possible. See https://github.com/xcp-ng/xcp/wiki/Kernel-modules-policy.
      • ). Note: in 7.6 we've started providing alternate drivers
      • Experimental UEFI support for guests (not tested yet: have fun and report!)
      • An updated welcome HTML page with the ability to install Xen Orchestra Appliance directly from there (see below). Tell us how it works for you and what you think of it!
      • A new implementation of the infamous emu-manager, rewritten in C. Test live migrations extensively!
      • Mirrors: you can offer mirrors and yum now pulls from them: https://github.com/xcp-ng/xcp/wiki/Mirrors
      • Already includes the latest patches for MDS attacks.
      • The net-install installer now checks the signature of the downloaded RPMs against our GPG key, which is becoming more important now that we're delegating downloads to mirrors.
      • Status of our experimental packages:
        • ext4 and xfs support for local SR are still considered experimental, although no one reported any issue about it. You still need to install an additional package for it to work: yum install sm-additional-drivers.
        • ZFS packages are now available in the main repositories, can be installed with a simple yum install zfs, and have been updated to version 0.8.1 (as of 2019-06-18) which removes the limitations we had with the previous version in XCP-ng 7.6.
        • No more modified qemu-dp for Ceph support, due to stalled issue in 7.6 (patches need to be updated). However the newer kernel brings better support for Ceph and there's some documentation in the wiki: https://github.com/xcp-ng/xcp/wiki/Ceph-on-XCP-ng-7.5-or-later.
        • Alternate kernel: none available yet for 8.0, but it's likely that we'll provide one later.
      • New repository structure. updates_testing, extras and extras_testing disappear and there's now simply: base, updatesandtesting`. Extra packages are now in the same repos as the main packages, for simpler installation and upgrades.
      • It's our first release with close to 100% of the packages rebuilt in our build infrastructure, which is Koji: https://koji.xcp-ng.org. Getting to this stage was a long path, so even if it changes nothing for users it's a big step for us. For the curious ones, more about the build process at https://github.com/xcp-ng/xcp/wiki/Development-process-tour.

      Documentation

      At this stage you should be aware that our main documentation is in our wiki and you should also know that you can all take part in completing it. Since the previous release, it has improved a lot but there's still a lot to improve.

      How to upgrade

      As usual, there should be two different upgrade methods: classical upgrade via installation ISO or upgrade using yum.

      However, the yum-style update is not ready yet. Since this is a major release, Citrix does not support updating using an update ISO, and the consequence for us is that the RPMs have not been carefully crafted for clean update. So it's all on us, and we plan to have this ready for the RC (release candidate).

      Before upgrading, remember that it is a pre-release, so the risks are higher than with a final release. But if you can take the risk, please do and tell us how it went and what method you used! However, we've been testing it internally with success and xcp-ng.org already runs on XCP-ng 8.0 (which includes this forum, the main repository and the mirror redirector) !

      Although not updated yet, the Upgrade Howto remains mostly valid (except the part about yum-style upgrade, as I said above).

      • Standard ISO: http://mirrors.xcp-ng.org/isos/8.0/xcp-ng-8.0.0-beta.iso
      • Net-install ISO: http://mirrors.xcp-ng.org/isos/8.0/xcp-ng-8.0.0-netinstall-beta.iso
        • Do not use the pre-filled URL which still points at XCP-ng 7.6. Use this instead: http://mirrors.xcp-ng.org/netinstall/8.0
      • SHA256SUMS: http://mirrors.xcp-ng.org/isos/8.0/SHA256SUMS
      • Signatures of the sums: http://mirrors.xcp-ng.org/isos/8.0/SHA256SUMS.asc

      It's a good habit to check your downloaded ISO against the SHA256 sum and for better security also check the signature of those sums. Although our mirror redirector does try to detect file changes on mirrors, it's shoud always be envisioned that a mirror (or in the worst case our source mirror) gets hacked and managed to provide both fake ISOs and SHA256 sums. But they can't fake the signature.

      Stay up to date

      Run yum update regularly. We'll fix bugs that are detected regularly until the release candidate. Subscribe to this thread (and make sure to activate mail notifications in the forum parameters if you need them): we'll announce every update to the beta here.

      What to test

      Everything! 🙂

      Report or ask anything as replies to this thread.

      A community effort to list things to be tested has been started at https://github.com/xcp-ng/xcp/wiki/Test-XCP

      posted in News
      stormiS
      stormi
    • XCP-ng 8.1 Release Candidate now available!

      Hello to everyone.

      The Release Candidate (RC) release of XCP-ng 8.1 is available right now 🚀 .

      This post is a mostly a copy-paste from the beta release announcement, with additions regarding the RC release.

      Stability status

      Good as far as we call tell from our tests and beta feedback. I would personally use it in production (actually we probably will very soon at Vates). The main unknown is how well the new coalesce algorithm will perform. Now is the time for as large testing as possible before the final release.

      What changed

      Here's what changes from XCP-ng 8.0. Changes since the 8.1 beta are in bold characters.

      Non-exhaustive list:

      • Based on Citrix Hypervisor 8.1 (https://docs.citrix.com/en-us/citrix-hypervisor/whats-new.html).
      • Same base version of CentOS (7.5)
      • Same base version of kernel (4.19, with more patches of course)
        • Latest kernel hotfix from CH 8.1 included in the RC release.
      • Xen 4.13
      • UEFI support for guests is not experimental anymore
      • Support for Secure Boot is NOT INCLUDED because it relies on Proprietary packages. We're raising the issue with the Xen community to see how to provide a FOSS implementation.
      • Citrix announces:
        • "Improved performance for VM imports and exports that use the XVA format" thanks to the use of a very efficient hash algorithm
        • "Storage performance improvements"
        • "New Windows I/O drivers with improved performance"
        • (From https://bugs.xenserver.org/browse/XSO-951) The next update (apparently not published yet as of 2020-01-27) of the Windows Drivers through Windows Update should at last be compatible with non-english locales!
      • chrony replaces ntp
      • Support for PV guests is now deprecated
        • templates for creating PV guests have been removed
        • existing guests will still run
        • it is advised to convert them to HVM guests
        • a compatibility layer should be provided in the future for PV guests that really can't be converted. But really anyone who can convert to HVM, should
        • due to how 32-bit PV guests work, keeping it functioning on newer hardware with newer features comes with an increasing performance cost, and the linux kernel is about to drop support for 32-bit PV guests
      • Support for AMD EPYC 7xx2(P) added
      • Dynamic Memory Control (DMC) is deprecated and will be removed in the future.
      • VSS and quiesced snapshots support is removed, because it never worked correctly and caused more harm than good.
        • For backups, we are working on support for backups that include the guest RAM to replace the need for quiesced snapshots.
        • Note that Windows guest tools version 9 (the default for recent versions of Windows if you install through Windows Update) already removed VSS support, even for older versions of CH / XCP-ng
      • For new local storage repositories using the EXT filesystem, it now defaults to ext4.
        • The transition from our experimental ext4 storage driver is not automatic.
        • Instructions for transitioning written in specific section below.
        • sm-additional-drivers package updated to refuse to create new experimental ext4 SRs since ext4 is already the default with the ext driver.
      • Status of our specific packages:
        • Experimental support for XFS in local storage repository still available through the sm-additional-drivers package.
        • ZFS still available as an additional package and updated to 0.8.3.
        • Alternate kernel now available, version 4.19.102 (probable update to 4.19.108 before final release). Installing it now automatically adds a new boot entry in grub's configuration, to make testing easier. Default entry remains that of the main kernel.
        • netdata RPMs are now ready
          • @r1 contributed a fix to netdata project to bring support for Xen 4.13
          • @stormi made netdata cache be RAM-only to workaround an upstream bug that could make the disk cache grow forever
      • Plans are laid out for simpler installation and maintenance of Windows guest tools. Unfortunately, we haven't found resources yet to implement them so the current state remains that of 8.0. If you're a developer on the Windows platforms, we're hiring! (full time or part time, contracts or hires) - Contact us.
      • Installer improvements in 8.1 RC: see section below.
      • New leaf coalesce logic of VDIs with dynamic limits: see section below.
      • Fixed VM Autostart issues in 8.1 beta when updated from 8.0 through yum (upstream bug https://bugs.xenserver.org/browse/XSO-978)
      • Fixed netxtreme drivers (bnx2x module) that crashed with some models
      • Updated zstd to 1.4.4. Possibly even better perfs according to upstream. Still no import/export comparative benchmarks to 8.0. Does anyone volunteer?

      Installer improvements in 8.1 RC

      Our installer now offers two new installation options. In BIOS mode, access them with F2 when offered the choice. In UEFI mode, see the added boot menu entries.

      • First new option: boot the installer with a 2G RAM limit instead of the 8G default. This is a workaround for installation issues on hardware with Ryzen CPUs. Though those are Desktop-class CPUs and not supported officially in the HCL, we tried to make it easier to workaround the infamous "installer crashes on Ryzen" issue.
      • Second new option: boot the installer with our alternate kernel (kernel-alt). That kernel, built and maintained by @r1 for the team, is based on the main kernel, with all upstream kernel.org patches from the LTS 4.19 branch applied. It should be very stable by construction but it receives less testing. That option is there for cases when the main kernel and drivers have issues, so that you can quickly test if kernel.org patches have fixed it already. It will also install the alternate kernel in addition to the main kernel as a convenience. If kernel-alt fixes issues for you, the most important thing to do is to tell us so that we may fix the main kernel!

      Announcement about our former experimental ext4 SR driver

      It is now deprecated in 8.1. For a good reason: in XCP-ng 8.1 and above, following upstream changes, the ext driver now formats new SRs as EXT4. Existing SRs are untouched (so remain formatted to EXT3).

      There is no easy way to convert an existing SR created with our driver, so those using it will need to move the VDIs out (to another SR or to export them), destroy the SR and create an EXT SR instead. Make sure to do this on XCP-ng 8.1.

      The sm-additional-drivers package remains available in XCP-ng 8.1 in order to ease the transition. However I've broken the sr-create command on purpose. Any attempt to create a SR of type ext4 will result in an error with a message that explains that you need to use the ext type instead.

      Our experimental driver will be completely removed in a later release, possibly XCP-ng 8.2. Unless someone convinces me to delay the removal for a good reason. I will accept reasons such as "I know I shouldn't have used the experimental driver in production, but I did and need more time to convert my SR while at the same time I really need feature xxx from XCP-ng 8.2", but I really would prefer to drop it in 8.2.

      Feedback from people doing the transition is welcome to make sure we document the transition in the best way possible.

      New leaf coalesce logic with dynamic limits

      I have backported patches from sm's master branch, that implement a new, smarter, logic for leaf coalescing.

      Those interested in the patches, see https://github.com/xcp-ng-rpms/sm/commit/ed1a55d727846cf5777c8258e6a8f3b068e8a35b (python code).

      Feedback wanted.

      Documentation

      At this stage you should already be aware that our main documentation is in our wiki and you should also know that you can all take part in completing it. It's improving continuously and still has room for improvement.

      How to upgrade from XCP-ng 8.1 beta

      Just use yum update or Xen Orchestra as if you were installing updates to a stable release.

      How to upgrade from previous releases

      Since XCP-ng 8.1.0 is a minor release, both upgrade methods are supported:

      • From the installation ISO
      • From command line using yum (from XCP-ng 8.0 only!)

      Refer to the upgrade howto: https://github.com/xcp-ng/xcp/wiki/Upgrade-Howto

      Downloads:

      • Standard ISO: http://mirrors.xcp-ng.org/isos/8.1/xcp-ng-8.1.0-RC1.iso
      • Net-install ISO: http://mirrors.xcp-ng.org/isos/8.1/xcp-ng-8.1.0-RC1-netinstall.iso
      • SHA256SUMS: http://mirrors.xcp-ng.org/isos/8.1/SHA256SUMS
      • Signatures of the sums: http://mirrors.xcp-ng.org/isos/8.1/SHA256SUMS.asc

      If your browser tells you that the page is redirected in a way that prevents from loading the page correctly, this is a known issue. Long story short, it's caused by a wrong security header sent by the forum software, which impacts all non HTTPS requests to the xcp-ng.org domain. Try in Private Navigation mode or use curl or wget.

      It's a good habit to check your downloaded ISO against the SHA256 sum and for better security also check the signature of those sums. Although our mirror redirector does try to detect file changes on mirrors, it's should always be envisioned that a mirror (or in the worst case our source mirror) gets hacked and managed to provide both fake ISOs and SHA256 sums. But they can't fake the signature. See https://github.com/xcp-ng/xcp/wiki/How-to-check-the-authenticity-of-files-downloaded-from-XCP-mirrors.

      Stay up to date

      Run yum update regularly. We'll fix bugs that are detected regularly until the final release. Subscribe to this thread (and make sure to activate mail notifications in the forum parameters if you need them): we'll announce every important update to the RC here.

      What to test

      Everything and Anything!

      Report or ask anything as replies to this thread.

      A community effort to list things to be tested has been started at https://github.com/xcp-ng/xcp/wiki/Test-XCP

      Feedback is welcome both about successes and failures.

      0 stormi committed to xcp-ng-rpms/sm
      New leaf coalesce logic with dynamic limits
      
      Patches backported from master
      posted in News
      stormiS
      stormi
    • Great projects have great documentation. Is XCP-ng a great project?

      Hello to everyone.

      There's a very important way to prove to the world that your software is good: excellence in documentation. A project without good documentation is not appealing and looks un-professional.

      I mentioned it here or there, but never made a proper announcement, so here it is: we are now using the wiki on our github project to store documentation:

      https://github.com/xcp-ng/xcp/wiki

      Now, as you can see, it's missing a lot of useful information. Every red link leads to a non-existent page that should exist, and I probably forgot to add many of them. Thankfully, our community comprises many experienced users of XS and XCP-ng, so we should be able to fill the gap.

      I'm myself totally unable of writing documentation about storage or networking. My field of expertise is packaging, updates, releases, patching, writing some code. So I only write about what I know. But I'm sure you're not thinking that I will write the documentation alone.

      So this is the official start of the "let's improve the documentation together" campaign. Any github user has write access to that wiki (it's versioned so we can revert changes from trolls if needed).

      Don't ask for permission before adding or modifying something to the documentation. Just do it, and others will review it.

      Even the structure of the home page can be modified. I made one to help us start and see where contributions are needed, but it's just a way to help us start.

      Who's in? If you were looking for a way to get involved in XCP-ng but did not know how, here's your chance!

      posted in Development
      stormiS
      stormi
    • XCP-ng 8.3 public alpha 🚀

      It's now live! ♥

      https://xcp-ng.org/blog/2022/11/18/xcp-ng-8-3-alpha/

      posted in News
      stormiS
      stormi
    • RE: Second (and final) Release Candidate for QCOW2 image format support

      Here's a work in progress version of the FAQ that will go with the release.

      QCOW2 FAQ

      What storage space available do I need to have on my SR to have large QCOW2 disks to support snapshots?

      Depending on a thin or thick allocated SR type, the answer is the same as VHD.
      A thin allocated is almost free, just a bit of data for the metadata of a few new VDI.

      For thick allocated, you need the space for the base copy, the snapshot and the active disk.

      Must I create new SRs to create large disks?

      No. Most existing SR will support QCOW2. LinstorSR and SMBSR (for VDI) does not support QCOW2.

      Can we have multiples different type of VDIs (VHD and QCOW2) on the same SR?

      Yes, it’s supported, any existing SR (unless unsupported e.g. linstor) will be able to create QCOW2 beside VHD after installing the new sm package

      What happen in Live migration scenarios?

      preferred-image-formats on the PBD of the master of a SR will choose the destination format in case of a migration.

      source preferred-image-format VHD or no format specified preferred-image-format qcow2
      qcow2 >2 TiB X qcow2
      qcow2 <2 TiB vhd qcow2
      vhd vhd qcow2

      Can we create QCOW2 VDI from XO?

      XO hasn’t yet added the possibility to choose the image format at the VDI creation.
      But if you try to create a VDI bigger than 2TiB on a SR without any preferred image formats configuration or if preferred image formats contains QCOW2, it will create a QCOW2.

      Can we change the cluster size?

      Yes, on File based SR, you can create a QCOW2 with a different cluster size with the command:

      qemu-img create -f qcow2 -o cluster_size=2M $(uuidgen).qcow2 10G
      xe sr-scan uuid=<SR UUID> # to introduce it in the XAPI
      

      The qemu-img command will print the name, the VDI is <VDI UUI>.qcow2 from the output.

      We have not exposed the cluster size in any API call, which would allow you to create these VDIs more easily.

      Can you create a SR which only ever manages QCOW2 disks? How?

      Yes, you can by setting the preferred-image-formats parameter to only qcow2.

      Can you convert an existing SR so that it only manages QCOW2 disks? If so, and it had VHDs, what happens to them?

      You can modify a SR to manage QCOW2 by modifying the preferred-image-formats parameter of the PBD’s device-config.

      Modifying the PBD necessitates to delete it and recreate it with the new parameter. This implies stopping access to all VDIs of the SR on the master (you can for shared SR migrate all VMs with VDIs on other hosts in the pool and temporarily stop the PBD of the master to recreate it, the parameter only need to be set on the PBD of the master).

      If the SR had VHDs, they will continue to exist and be usable but won’t be automatically transformed in QCOW2.

      Can I resize my VDI above 2 TiB?

      A disk in VHD format can’t be resized above 2 TiB, no automatic format change is implemented.
      It is technically possible to resize above 2 TiB following a migration that would have transferred the VDI to QCOW2.

      Is there any thing to do to enable the new feature?

      Installing updated packages that supports QCOW2 is enough to enable the new feature (packages: xapi, sm, blktap). Creating a VDI bigger than 2 TiB in XO will create a QCOW2 VDI instead of failing.

      Can I create QCOW2 disks lesser than 2 TiB?

      Yes, but you need to create it manually while setting sm-config:image-format=qcow2 or configure preferred image formats on the SR.

      Is QCOW2 format the default format now? Is it the best practice?

      We kept VHD as the default format in order to limit the impact on production. In the future, QCOW2 will become the default image format for new disks, and VHD progressively deprecated.

      What’s the maximum disk size?

      The current limit is set to 16 TiB. It’s not a technical limit, it’s a limit that we corresponds to what we tested. We will raise it progressively in the future.

      We’ll be able to go up to 64 TiB before meeting a new technical limit related to live migration support, that we will adress at this point.

      The theoretical maximum is even higher. We’re not limited by the image format anymore.

      Can I import without modification my KVM QCOW2 disk in XCP-ng?

      No. You can import them, but they need to be configured to boot with the drivers like in this documentation: https://docs.xcp-ng.org/installation/migrate-to-xcp-ng/#-from-kvm-libvirt
      You can just skip the conversion to VHD.

      So it should work depending on different configuration.

      posted in News
      stormiS
      stormi
    • Status update on XCP-ng 7.5

      Hello everyone.

      I'm Samuel Verschelde. I started working full-time on XCP-ng on the 18th or June, so little more than one week ago. It's a pleasure to join your community and to devote my time to this free software project.

      Obviously, my first mission targets the release of XCP-ng 7.5. So I figured I'd write a status update post to let you know what's been done, what is being done and what remains to be done. It's easy to get carried away by technical work and to forget to communicate, and I'll try not to fall in this trap. Since I'm still quite new to XCP-ng, please forgive me in advance any approximation or mistake in what I'll write. Just don't hesitate to point any mistake I might be doing, or any omission.

      What needs to be done

      So, basically the process of releasing the new version of XCP-ng, at the moment (this will evolve), is as follows:

      • Get the installation and source ISOs from XenServer 7.5.
      • Rebrand to XCP-ng and remove trademarked material (Citrix name, XenServer name, Citrix logo, splash screen...).
      • Modify the licensing system to remove the restrictions for features that depend on free software.
      • Remove proprietary software components from Citrix that we aren't allowed to redistribute.
      • Fix a few known bugs
      • Create an update repository for transitioning from 7.4
      • Build the installation ISO
      • Test (internally at first, but we'll quickly involve the community)
      • Release
      • (ideally, because we're a free software project after all) Provide source RPMs.

      So were are we at this stage?

      Rebrand to XCP-ng and remove trademarked material

      Mostly done.

      We do this for legal reasons, and Citrix obviously doesn't want its name (or XenServer) to be associated with XCP-ng.
      Amusingly, though, they added their name in the description of several packages in 7.5. Some of these additions are clarifications, so that's good to help us detect proprietary software or trademarked material among the free software components.

      But some other are suprising, such as what they did to the linux kernel package: they added a Citrix logo image in the package (which otherwise contains free software), and then changed the package license from GPLv2 to Portions GPL, Portions Non-Redistributable (See description). And description of the package now contains:

      Citrix, the Citrix logo, Xen, XenServer, and certain other marks appearing
      herein are proprietary trademarks of Citrix Systems, Inc., and are
      registered in the U.S. and other countries. You may not redistribute this
      package, nor display or otherwise use any Citrix trademarks or any marks
      that incorporate Citrix trademarks without the express prior written
      authorization of Citrix. Nothing herein shall restrict your rights, if
      any, in the software contained within this package under an applicable
      open source license.

      Portions of this package are © 2017 Citrix Systems, Inc. For other
      copyright and licensing information see the relevant source RPM.

      A lot of claims for an added logo.

      Since the kernel contained by this package is free software, we made a new package without the added claims and without that added logo, so that we can redistribute it.

      Modify the licensing system to remove the restrictions for features that depend on free software

      We hoped we could simply reuse our package from 7.4.1 but it seems it's not sufficient. Investigations by @johnelse are in progress. Maybe they changed the protocol, maybe we just need a rebuild against latest xapi.

      Remove proprietary software components from Citrix that we aren't allowed to redistribute

      Some are easy to remove, such as the ParaVirtualization (PV) tools for Windows, which are proprietary. I've been told that Xen Orchestra has support for installing them easily, so we shouldn't miss them too much.

      There's one that's giving @johnelse trouble, though: EMU Manager

      This closed-source component is tightly coupled to other free software core components. Since I know little about it, I'll let John explain:

      emu-manager is a layer between xenopsd (the host-level domain management daemon) and xenguest (which deals with the creation of xen domains) and vgpu (which does the graphics emulation for vGPU)
      It is invoked when VMs are suspended, resumed or migrated

      To put things in a few words: there's a close-source component that we can't remove without losing suspend, resume and migrate features. So we have to replace it with a free-software component of our own, and that's a hard work: the interfaces are public but not the internals. And we'll lose the vGPU migration ability in the process.

      We expect to finish this in two weeks from now, but that may slip. If you think you can help, contact @johnelse or come discuss on the #xcp-ng-dev IRC channel on freenode (we both are on a European timezone).

      Fix a few known bugs

      • Broken link to XCP-ng center in the HTML welcome page: fixed for 7.5.
      • Missing /etc/shadow and other files in install.img: will be fixed when building the new ISO images.
      • Fix xcp-python-libs bug mentioned at https://xcp-ng.org/forum/topic/79/configure-dom0-memory-not-work
      • Maybe more? I'm not sure this list is exhaustive.

      Create an update repository for transitioning from 7.4

      Nearly done.

      Build the installation ISO, Test, Release

      Depends on the above other tasks.

      Community involvement

      Now that I'm available almost all the time, it should become easier to include contributers from the community. We don't have the target infrastructure for that yet, but it's already possible to help at various stages. So don't hesitate to discuss it on this forum, to contact me ( stormi-xcp@ylix.fr ) or to come to chat on freenode's #xcp-ng-dev IRC channel.

      And if you read all of this, thanks!

      posted in Development
      stormiS
      stormi
    • RE: Alert: Control Domain Memory Usage

      FYI, I have just published security updates today PLUS the fixed ixgbe driver as an official update to XCP-ng 8.1 and 8.2.

      We made it. This is the end of this huge thread.

      A big thank you to everyone involved in debugging the issue.

      And this is not a 🐟 :D.

      posted in Compute
      stormiS
      stormi
    • Drivers for recent homelab NICs in XCP-ng 8.2

      Context: various recent devices on the consumer market require network drivers which are not present in XCP-ng 8.2.

      Based on the work made with @Andrew for XCP-ng 8.3, I've finally found some time to backport the drivers to XCP-ng 8.2.

      The following optional driver packages will soon be updated on the default repositories:

      • igc-module (backported from kernel 5.10.150): adds support for Intel I225/I226.
      • intel-e1000e-alt (updated to 3.8.7): adds support for Intel I219-V.
      • r8125-module (updated to 9.010.01) for RealTek r8125. Quoting @Andrew:

        Note: This 8125 driver has SG/TSO, PTP, RSS enabled by default.
        Note: This 8125 driver has (optional) firmware loading enabled. Please manually download the rtl8125 firmware and install in XCP in /usr/lib/firmware/rtl_nic .
        Note: The 8125 Chipset/PCI-E card/driver has been known to cause system problems and crashes (not an XCP problem).

      These are Additional packages, which means only best effort support is provided for them.

      Update (2023-05-03): packages now moved to the xcp-ng-updates repository, which means they can be installed with a simple yum install name_of_package, without the need for extra parameters.

      posted in Hardware
      stormiS
      stormi
    • RE: XCP-ng 8.3 betas and RCs feedback 🚀

      I'm publishing new updates to the base repository of XCP-ng 8.3:

      • Security fixes for AMD
      • Debian 12 VM template
      • Removal of the old and unused experimental EXT4 SR driver. Don't jump: the main EXT SR driver still uses EXT4. I'm talking of the old experimental driver we added back then when the default EXT driver would use EXT3 only. This experimental driver has been deprecated since XCP-ng 8.1.
      • smartmontools updated to version 7 which brings JSON output
      • A fix for live migration support in IPv6-only pools
      posted in News
      stormiS
      stormi

    Latest posts made by stormi

    • RE: Second (and final) Release Candidate for QCOW2 image format support

      I just published, in the xcp-ng-testing repository, what is hopefully the very last round of fixes before the feature goes live.

      You’ll have about three days to share your feedback if you’d like to be part of this final sprint 🏃.

      Details at https://xcp-ng.org/forum/post/104961

      posted in News
      stormiS
      stormi
    • RE: XCP-ng 8.3 updates announcements and testing

      Yes, new update candidates, again!

      This is, in theory, the very last round of fixes before QCOW2 support comes as an official update!

      What changed

      Storage

      • sm + blktap:
        • Fix a never ending coalesce task and an associated tapdisk crash which would leave the QCOW2 VDI corrupted. Thanks @emerson for reporting the issue!
        • Attempting to migrate a QCOW2 towards a SR that supports QCOW2 but prefers VHD will now automatically create a QCOW2 disk at the destination if the disk is bigger than 2 TiB. Previously, it was documented as a known issue that it would attempt to create a VHD and fail.
        • Another known issue fixed: attempting to resize a QCOW2 VDI with a snapshot on a LVM-based SR no longer fails.
      • xapi:
        • prevent long migrations for failing due to expiring XAPI session.
        • More security fixes related to XSA-489.

      Versions:

      • blktap: 3.55.5-6.6.xcpng8.3 -> 3.55.5-6.7.xcpng8.3
      • sm: 3.2.12-17.6.xcpng8.3 -> 3.2.12-17.7.xcpng8.3
      • xapi: 26.1.3-1.9.xcpng8.3 -> 26.1.3-1.10.xcpng8.3

      Test on XCP-ng 8.3

      If you are using XOSTOR, please refer to our documentation for the update method.

      yum clean metadata --enablerepo=xcp-ng-testing,xcp-ng-candidates
      yum update --enablerepo=xcp-ng-testing,xcp-ng-candidates
      reboot
      

      The usual update rules apply: pool coordinator first, etc.

      What to test

      Anything related to storage, be it with VHD or QCOW2 disks.

      Test window before official release of the updates

      ~3 days

      posted in News
      stormiS
      stormi
    • RE: Second (and final) Release Candidate for QCOW2 image format support

      @pkgw Our initial theory is that you might have applied updates at some point which had replaced the sm package with one that didn't support qcow2. Then a next update would have brought it back, but the metadata lost.

      posted in News
      stormiS
      stormi
    • RE: Second (and final) Release Candidate for QCOW2 image format support

      @pkgw Would it be possible to open a ticket and a support tunnel so that @Team-Storage can look at it?

      posted in News
      stormiS
      stormi
    • RE: XCP-ng 8.3 updates announcements and testing

      @manilx said:

      @stormi Updated 2 pools @office but on both RPU failed after updating master and emptying secondary host. Had to install patches manually and then move VM's back......

      Have you kept the logs?

      posted in News
      stormiS
      stormi
    • RE: 89 vulnerabilities in XAPI / Citrix XenServer

      Fixes for the top 3 issues are included in today's batch of updates for XCP-ng 8.3.

      https://xcp-ng.org/blog/2026/04/28/april-2026-security-and-maintenance-updates-for-xcp-ng-8-3-lts/

      posted in Development
      stormiS
      stormi
    • RE: XCP-ng 8.3 updates announcements and testing

      We just published most of the updates tested above, plus embargoed security fixes:

      https://xcp-ng.org/blog/2026/04/28/april-2026-security-and-maintenance-updates-for-xcp-ng-8-3-lts/

      The release of the QCOW2 image format feature (packages sm, sm-fairlock and blktap) is planned in the coming days. You can still update a system which has these test packages with the security updates published today.

      Thanks everyone for the tests!

      posted in News
      stormiS
      stormi
    • RE: XCP-ng 8.3 updates announcements and testing

      Thanks. Ping @Team-Storage

      posted in News
      stormiS
      stormi
    • RE: 89 vulnerabilities in XAPI / Citrix XenServer

      @hoerup Where did you find out about this site?

      posted in Development
      stormiS
      stormi
    • RE: 89 vulnerabilities in XAPI / Citrix XenServer

      Hi.

      We are aware of this publication and have reviewed every of its claims over the last days.

      A few of the reported issues do represent real privilege escalation paths. However, they rely on XAPI’s advanced RBAC roles feature, which is not enabled or exposed by default in Xen Orchestra, XO Lite, or any of our standard documentation. In practice, the escalation path requires a specific setup: an XCP-ng pool connected to Active Directory for its user management, where a user is given access to the management network and is explicitly granted VM configuration rights (vm-admin XAPI role) via XAPI roles. Such a user could gain elevated host-level privileges beyond what was intended.

      As we don't actively promote or recommend this configuration, we believe very few users are using it. For the small group that might be, patched packages are in the testing phase, and we will release them shortly.

      CVEs are being assigned by the Xen Project (which is the parent project of the XAPI Project) to the vulnerabilities, all requiring this vm-admin XAPI role.

      Most of the other claims stem from misunderstandings of how XAPI roles are designed to work (~65 of the 89 claims), or describe bugs that don’t translate to actual security impact (~15 of them).

      On the disclosure process: we always appreciate coordinated security research, but responsible disclosure typically involves a reasonable grace period (often two weeks or more) to allow time for review, patching, and coordinated release. In this case, we received an email just 24 hours before public publication, and the initial contact came with strange conditions. That doesn’t align with standard responsible disclosure practices.

      Note: This is not intended as an official statement. I have a clear view of the security impact, but since this is an informal, unfiltered write-up, please pardon any minor mistakes in how I’ve reported it.

      posted in Development
      stormiS
      stormi