XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XCP-ng 8.2 updates announcements and testing

    Scheduled Pinned Locked Moved News
    703 Posts 67 Posters 1.1m Views 86 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stormiS Offline
      stormi Vates 🪐 XCP-ng Team @gskger
      last edited by

      gskger the yum history command can be handy to rollback to earlier versions of RPMs that are still available on repositories.

      yum downgrade same-list-of-RPMs-that-you-updated can also work most of the time.

      Be aware though that RPM transactions are not always meant to be reversible. Replacing files is one thing, but the scriptlets that run after an update are almost never tested backwards. I don't foresee any specific issue, it's a general warning.

      1 Reply Last reply Reply Quote 1
      • A Offline
        AlexD2006 @stormi
        last edited by

        stormi
        Did some Testing over the Weekend too.
        Setup with 2 Hosts in a Pool and shared iSCSI-LMV Storage with multipath 8 paths per LUN.
        Anything seems to work fine (migrate/import/cross-pool-migrate/snapshots/backups).

        Even our longtime Problem (snapshots taking much too long) is getting much better (still not good, but much better).

        1 Reply Last reply Reply Quote 1
        • stormiS Offline
          stormi Vates 🪐 XCP-ng Team
          last edited by

          The update was released yesterday: https://xcp-ng.org/blog/2021/06/28/summer-security-and-bugfix-updates/

          Again, a lot of thanks for the feedback.

          As I said earlier, the update for uefistored, which brings guest secure boot support, was not included yet.

          1 Reply Last reply Reply Quote 1
          • stormiS Offline
            stormi Vates 🪐 XCP-ng Team
            last edited by

            New installation ISO for XCP-ng 8.2

            I opened a dedicated thread. Meet you there for the tests.

            1 Reply Last reply Reply Quote 0
            • stormiS Offline
              stormi Vates 🪐 XCP-ng Team
              last edited by stormi

              A bugfix kernel update available for testing

              Based on Citrix's hotfix XS82E030, here's a bugfix kernel update. I don't think it will change much for most hosts, except in some specific cases.

              What changed

              • Previous kernel updates (that fixed network performance issues for FreeBSD and sometimes other VMs), may have reduced the performance in some situation according to Citrix. Based on the patches, it looks like it's related to IRQ affinity and cross-domain networking. Here's the patch: https://github.com/xcp-ng-rpms/kernel/blob/master/SOURCES/0001-xen-events-fix-setting-irq-affinity.patch
              • Tools that need to make the ioperm syscall were crashing on dom0. For example Supermicro Update Manager (SUM). This should fix it.
              • An additional dependency was added to the perf RPM (not installed by default) to make it able to do backtraces when you try to run it on binaries in dom0.
              • A patch fixes CVE-2021-29154 was added. It's not considered a security update because it does not fix an exploitable vulnerability. It's extra defence in depth.

              How to update (XCP-ng 8.2 only)

              yum update kernel --enablerepo=xcp-ng-testing
              

              Version that should be installed: 4.19.19-7.0.12.1.xcpng8.2

              What to test

              Installation of the update, normal use, no obvious regressions...

              Plus the changes described above if you're in a situation that allows it.

              Test window before release

              None defined at the moment. As it's not a security update, I'll wait for more updates to be ready before I push the next train officially. But feedback is always useful as soon as it can be provided.

              gskgerG J 2 Replies Last reply Reply Quote 0
              • gskgerG Offline
                gskger Top contributor @stormi
                last edited by

                stormi A lazy sunday morning, some coffee, a notebook and time for testing. Updated my two host playlab (DELL Optiplex 9010, 8.2 fully patched) and tested Debian VMs and Windows 10 VMs (create, live migrate with/-out guest tools, start/stop/reboot, snapshot with/-out RAM and revert, online-/offline storage migrate from/to shared and local SR). Restored a Windows 10 and a Debian VM from backup. All good so far for this regression test.

                1 Reply Last reply Reply Quote 2
                • J Offline
                  JCastang @stormi
                  last edited by

                  Hello, stormi I did a quick test because we encounter in some cases "bad' network perfs on our pools (with Intel 10GB network cards) such as :

                  • VXLAN network are getting max 2.5Gbps of bandwidth
                  • VM to VM network with a BSD firewall in the middle getting max 2.5Gbps of bandwidth

                  But VM to VM (on same LAN) are getting near 10Gbps.

                  Testing this new kernel does not change anything on BP for theses cases.
                  BP still stuck at 2,5Gbps.

                  stormiS U 2 Replies Last reply Reply Quote 0
                  • stormiS Offline
                    stormi Vates 🪐 XCP-ng Team @JCastang
                    last edited by

                    JCastang AFAIK there's still room for improvement regarding network perfs in *BSD VMs, but I doubt the update was meant to address this. If you want to discuss it further, please create a new thread.

                    1 Reply Last reply Reply Quote 1
                    • stormiS Offline
                      stormi Vates 🪐 XCP-ng Team
                      last edited by stormi

                      A bugfix update for USB passthrough

                      A fix was contributed by jeremfg to the XAPI project, so that when XAPI calls usb_reset.py with the -r switch it does not fail anymore. This fixes passing through both a PCI device and an USB device to a VM, and could also fix other USB passthrough issues that raised the same error: "usage: usb_reset.py attach [-h] -d DOMID -p PID [-r RESET_ONLY] device\nusb_reset.py attach: error: argument -r: expected one argument\n".

                      Related thread: https://xcp-ng.org/forum/topic/3594/pci-passthrough-usb-passthrough-does-not-work-together

                      Related issues:

                      • https://github.com/xcp-ng/xcp/issues/108
                      • https://github.com/xcp-ng/xcp/issues/511

                      I have built patched XAPI packages for XCP-ng 8.2 that are available for testing.

                      How to update (XCP-ng 8.2 only)

                      yum update xapi-core xapi-tests xapi-xe --enablerepo=xcp-ng-testing
                      xe-toolstack-restart
                      

                      You should get version-release 1.249.9-1.2.xcpng8.2

                      What to test

                      USB passthrough:

                      • What used to work should still work
                      • What did not work, if the error message in the logs is the one quoted above, should now work... Or maybe fail further in cases that haven't been tested yet?

                      Test window before release

                      None defined at the moment. As it's not a security update, I'll wait for more updates to be ready before I push the next train officially. But feedback is always useful as soon as it can be provided

                      AdrianFretwell created this issue in xcp-ng/xcp

                      closed Starting a VM with USB passthrough results in Internal Server Error #108

                      jeremfg created this issue in xcp-ng/xcp

                      closed USB+PCI Passthrough combined, vm boot fails #511

                      1 Reply Last reply Reply Quote 0
                      • stormiS Offline
                        stormi Vates 🪐 XCP-ng Team
                        last edited by

                        I created a dedicated thread for the testing of Guest Secure Boot support: https://xcp-ng.org/forum/post/41541

                        See you there.

                        And a reminder about the current update candidates that are in testing in the current thread:

                        • A bugfix kernel update
                        • A bugfix for USB passthrough (component: XAPI)

                        ... with my interest being geared mainly towards regression testing.

                        1 Reply Last reply Reply Quote 0
                        • stormiS Offline
                          stormi Vates 🪐 XCP-ng Team
                          last edited by stormi

                          New toolstack (XAPI) update candidate for 8.2

                          Based on Citrix's hotfix XS82E031. Also includes the USB passthrough bugfix mentioned above in this thread.

                          What changed

                          Fixes

                          • USB passthrough fix
                          • Reduced log verbosity for stunnel, to prevent xapi-ssl.log from growing so fast that it could fill the /var/log partition entirely in some cases (users from HA-lizard had reported such behaviour and we were waiting for this upstream fix from the XAPI project to be included in a hotfix).
                          • Fix xe vm-reset-powerstate for VMs with GPU passthrough that are stuck in paused state.
                          • Other fixes for rare issues (see hotfix description).

                          Features

                          The hotfix from Citrix also comes with a few improvements. Quoting (the highlight in bold characters is mine):

                          • Adds a default boot order for VMs.
                          • Improved error messaging for when the graphics card is not configured for SRIOV.
                          • Remove HTTP access to the management network static web page. This web page can now only be accessed through HTTPS.
                          • Adds additional snapshots of glocktop data to the bugtool output.

                          How to update (XCP-ng 8.2 only)

                          yum clean metadata --enablerepo=xcp-ng-testing
                          yum update forkexecd message-switch xapi-core xapi-tests xapi-xe xcp-rrdd xenopsd xenopsd-cli xenopsd-xc --enablerepo=xcp-ng-testing
                          xe-toolstack-restart # or reboot to be 100% sure everything restarted
                          

                          What to test

                          No obvious regressions, and if possible the changes described above.

                          Test window before release

                          A few weeks, but the quicker the better, as this kind of message tends to be forgotten over time.

                          Other update candidates still in testing phase

                          The kernel bugfix update is still in testing phase. Many thanks to those who already tested it, and I'm still eager for feedback from others: https://xcp-ng.org/forum/post/41241

                          ethanjosephscottE H 2 Replies Last reply Reply Quote 0
                          • ethanjosephscottE Offline
                            ethanjosephscott @stormi
                            last edited by

                            stormi
                            Got these applied too fast.
                            Http does seem disabled
                            stunnel logging does seem drastically reduced well know more as time goes on.
                            I do see a boot order section for VM properties and tested this out be booting into a livecd on a VM.
                            I ran the bugtool but without knowing what was added I can't confirm or deny this one.

                            1 Reply Last reply Reply Quote 1
                            • H Offline
                              HeMaN @stormi
                              last edited by HeMaN

                              stormi said in Updates announcements and testing:

                              Have a installation without any of the fixed bugs, but Installed the updates on my system and did the toolstack restart.

                              No issues to report this far.

                              1 Reply Last reply Reply Quote 2
                              • stormiS Offline
                                stormi Vates 🪐 XCP-ng Team
                                last edited by

                                There are at least two blocking issues with this update candidate, so we'll retain it until they are fixed:

                                • HTTP 403 errors on port 443. Easily reproduced: just load XCP-ng's web page over HTTPS, most images and scripts don't load. We debugged it and reported it to the XAPI project: https://github.com/xapi-project/xen-api/issues/4517
                                • HA Lizard users reported issues connecting to XAPI. I don't know yet whether the fix belongs in XAPI or in HA Lizard itself. Wait and see.
                                stormi created this issue in xapi-project/xen-api

                                closed Bogus HTTP 403 errors after hotfix XS82E031 for valid HTTPS requests #4517

                                H 1 Reply Last reply Reply Quote 0
                                • stormiS Offline
                                  stormi Vates 🪐 XCP-ng Team
                                  last edited by

                                  New security updates (xen)

                                  Citrix security bulletin: https://support.citrix.com/article/CTX325319

                                  Impact: privileged code in a guest VM may crash or compromise a host.

                                  Test on XCP-ng 8.2

                                  yum clean metadata --enablerepo=xcp-ng-testing
                                  yum update xen-dom0-libs xen-dom0-tools xen-hypervisor xen-libs xen-tools --enablerepo=xcp-ng-testing
                                  reboot
                                  

                                  Version for xen packages: 4.13.1-9.12.1.xcpng8.2

                                  What to test

                                  The main goal is to avoid obvious regressions, so test whatever you want. The closer to your actual use of XCP-ng, the better.

                                  Test window before official release of the updates

                                  24h.

                                  J gskgerG C H 4 Replies Last reply Reply Quote 1
                                  • J Offline
                                    JeffBerntsen Top contributor @stormi
                                    last edited by

                                    stormi Running well for me. I've tested startup, shutdown, and migration of Windows and Linux VMs with no obvious regressions.

                                    1 Reply Last reply Reply Quote 1
                                    • gskgerG Offline
                                      gskger Top contributor @stormi
                                      last edited by

                                      stormi No issue with updating my two host playlab. Just run some simple tests with Debian VMs (create, live migrate with/-out 7.20.0-9 guest tools, start/stop/reboot, snapshot with/-out RAM and revert, online-/offline storage migrate from/to shared and local SR, restore from backup). Restored a Windows 10 VM from backup as well and moved it around a bit. Everything works as expected.

                                      1 Reply Last reply Reply Quote 1
                                      • C Offline
                                        cg
                                        last edited by

                                        Any info about support of Windows Server 2022. RTM (final) version has been released ~2 weeks ago.

                                        stormiS 1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          cnaumer @stormi
                                          last edited by

                                          stormi Also installed on our test-lab and booting, migrating of RockyLinux and Windows VMs works as expected.

                                          1 Reply Last reply Reply Quote 1
                                          • stormiS Offline
                                            stormi Vates 🪐 XCP-ng Team @cg
                                            last edited by

                                            cg I've not heard of it yet on Citrix side. Meanwhile the template for 2019 should be enough. IIRC Darkbeldin has tested Windows Server 2022 regularly during the pre-release phase.

                                            C 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post