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

    XCP-ng 8.3 updates announcements and testing

    Scheduled Pinned Locked Moved News
    142 Posts 26 Posters 8.8k Views 40 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.
    • A Online
      Andrew Top contributor @ph7
      last edited by

      @ph7 @gduperrey With current updates: Cold (VM off) migration works for me. Live migration, when forced due to incompatible CPU fails (badly, host toolstack restart required).

      With the VM off, normal VM/VDI migration worked for me in the following process (VM power on after each migration, and then off again, as a test):

      • XCP 8.2 Intel (Pool 1) -> XCP 8.2 Intel (Pool 2) -> XCP 8.3 Intel (Pool 3) -> XCP 8.3 AMD (Pool 4) -> XCP 8.3 Intel (Pool 3)

      Note: Each host/pool uses local storage. Software versions on hosts match for the same version of XCP. @ph7, looks like you need to yum clean all and yum update again.

      P 1 Reply Last reply Reply Quote 1
      • P Offline
        ph7 @Andrew
        last edited by

        @Andrew

        looks like you need to yum clean all and yum update again.

        Tried it but it didn't work
        And I ran the rm -rf /var/cache/yum

        [13:09 x2 ~]# yum clean all
        Inlästa insticksmoduler: fastestmirror
        Rensar förråd: xcp-ng-base xcp-ng-updates
        Cleaning up everything
        Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
        Cleaning up list of fastest mirrors
        
        [13:14 x2 ~]# rm -rf /var/cache/yum
        
        [13:14 x2 ~]# yum update
        Inlästa insticksmoduler: fastestmirror
        Determining fastest mirrors
        Excluding mirror: updates.xcp-ng.org
         * xcp-ng-base: mirrors.xcp-ng.org
        Excluding mirror: updates.xcp-ng.org
         * xcp-ng-updates: mirrors.xcp-ng.org
        xcp-ng-base/signature                     |  473 B  00:00:00     
        xcp-ng-base/signature                     | 3.0 kB  00:00:00 !!! 
        xcp-ng-updates/signature                  |  473 B  00:00:00     
        xcp-ng-updates/signature                  | 3.0 kB  00:00:00 !!! 
        (1/2): xcp-ng-updates/primary_db          | 238 kB  00:00:00     
        (2/2): xcp-ng-base/primary_db             | 3.9 MB  00:00:00     
        No packages marked for update
        

        And rebooted

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          ph7 @ph7
          last edited by

          Cold migration doesn't work, but Warm migration does.
          No panic, I can wait for the release

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

            Just to be sure, is there an issue for us to investigate here, or expected failure due to version mismatch?

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              ph7 @stormi
              last edited by

              @stormi
              If You are asking me, I can run the New update candidates for you to test! on my "production" home lab server if the testing repo still exist

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

                Yes update candidates that were not urgent security fixes are still in the xcp-ng-testing repository (and more is coming soon, today or on
                monday).

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  ph7 @stormi
                  last edited by

                  @stormi
                  I ran the xcp-ng-testing and now the migration seems to work

                  25871203-4dbe-4e92-ba30-60efb2bf903d-image.png

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

                    New update update candidates for you to test!

                    Unless major issues are found, this should be the last wave of update candidates before we publish everything as official updates for XCP-ng 8.3.

                    • cifs-utils: update and rebuild based on the sources for the RHEL9 package. This fixes several low priority CVEs (in the context of XCP-ng) and will make future vulnerability patching easier.
                    • curl: update to version 8.9.1, based on RHEL 10 package, and apply an additional fix for CVE-2024-8096 (low impact in XCP-ng context).
                    • intel-e1000e: major driver update, backported from Linux kernel 5.10.179, to fix issues with recent hardware.
                    • kernel: Fix support of dynamic tracepoints when debugging the dom0 Linux kernel with the perf tool
                    • ncurses: Revert -devel package ABI to version 5 to avoid potential library conflicts in packages built against it
                    • openssh: rebuild against updated ncurses package
                    • python3-docutils: new dependency of cifs-utils
                    • samba:
                      • Fix CVE-2016-2124, a flaw on SMB1 auth. An attacker could retrieve the password by using NT1.
                      • Fix CVE-2021-44142, an out-of-bounds heap read write vulnerability that allows remote attackers to execute arbitrary code by using VFS_fruit module.
                    • systemtap: rebuild against updated ncurses package
                    • xapi: Remove pvsproxy.service from the list of units restarted on xcp-rrdd update. The service in question attempts to start a proprietary component from XenServer that isn't present in XCP-ng, which led to displaying a not so pretty error in the logs.
                    • xcp-ng-release: Enable missing xcp-rrdd plugins by default. Yes, failure to do so was what caused the empty stats issue you have been seeing in previous update candidates.
                    • xen: rebuild against updated ncurses package
                    • xo-lite: Update to 0.10.1.

                    Test on XCP-ng 8.3

                    From an up-to-date host:

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

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

                    Versions

                    • cifs-utils: 7.1-2.1
                    • curl: 8.9.1-5.1.xcpng8.3
                    • intel-e1000e: 5.10.179-1.xcpng8.3
                    • kernel: 4.19.19-8.0.38.2.xcpng8.3
                    • ncurses: 6.4-6.20240309.xcpng8.3
                    • openssh: 7.4p1-23.3.3.xcpng8.3
                    • python3-docutils: 0.14-1.el7
                    • samba: 4.10.16-25.1.xcpng8.3
                    • systemtap: 4.0-5.2.xcpng8.3
                    • xapi: 25.6.0-1.5.xcpng8.3
                    • xcp-ng-release: 8.3.0-32
                    • xen: 4.17.5-10.1.xcpng8.3
                    • xo-lite: 0.10.1-1.xcpng8.3

                    What to test

                    Normal use and anything else you want to test. The closer to your actual use of XCP-ng, the better.

                    Special focus:

                    • We updated the e1000e driver. If you have Intel PCI-Express network chipsets, please test this update and verify that network connectivity and features that you depend on work as expected.
                    • SMB shares and SRs.
                    • yum still appearing to work correctly after the update.
                    • SSH connection to hosts.
                    • Stats. But I'm sure that's the first thing several among you will test already.

                    Test window before official release of the updates

                    Around one week, unless major issues are found.

                    F A P 3 Replies Last reply Reply Quote 0
                    • F Offline
                      flakpyro @stormi
                      last edited by

                      @stormi Updated both of my test hosts.

                      Machine 1:
                      Intel Xeon E-2336
                      SuperMicro board.

                      Machine 2:
                      Minisforum MS-01
                      i9-13900H
                      32 GB Ram
                      Using Intel X710 onboard NIC

                      Everything rebooted and came up fine. The MS-01 i test with uses i40e and intel-igc not the e1000 driver. The other machine with the SuperMicro board uses igb so im afraid i'm not much help in testing that driver.

                      yum commands did seem to work from the small handful i ran.

                      And yes, stats do indeed work again 🙂

                      I never noticed the issue with Server 2025 and hanging on reboot since the updates from last week. Were you able to see anything in the dump files i sent?

                      G stormiS 2 Replies Last reply Reply Quote 2
                      • G Offline
                        Greg_E @flakpyro
                        last edited by

                        @flakpyro

                        Off topic, how does XCP handle the E and P cores in that 13900 machine? That was one of the considerations that made me skip these Intel processors in favor of AMD.

                        I'll get mine updated as soon as possible, on going work to clean out my tech room so it can get cut in half for class space. Goodbye future expansion if we need it!

                        F olivierlambertO 2 Replies Last reply Reply Quote 0
                        • A Online
                          Andrew Top contributor @stormi
                          last edited by

                          @stormi Minor issue: e1000e does not show driver version with ethtool:

                          # ethtool -i eth0
                          driver: e1000e
                          version:
                          firmware-version: 0.1-4
                          expansion-rom-version:
                          bus-info: 0000:00:1f.6
                          supports-statistics: yes
                          supports-test: yes
                          supports-eeprom-access: yes
                          supports-register-dump: yes
                          supports-priv-flags: yes
                          
                          stormiS 1 Reply Last reply Reply Quote 2
                          • F Offline
                            flakpyro @Greg_E
                            last edited by

                            @Greg_E It seems to handle it fine, i have 2 of these systems running without issue with 8.3!

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

                              @flakpyro No, I'm waiting for more feedback from the devs. All I have from them for now is it looks like either a firmware or a passthrough issue. I don't think we have changed anything to fix it.

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

                                @Andrew Thanks for noticing that. CC @ThierryEscande

                                A 1 Reply Last reply Reply Quote 0
                                • A Online
                                  Andrew Top contributor @stormi
                                  last edited by

                                  @stormi @ThierryEscande I issued a PR for intel-e1000e to add the version for ethtool.

                                  stormiS 1 Reply Last reply Reply Quote 1
                                  • P Offline
                                    ph7 @stormi
                                    last edited by ph7

                                    @stormi
                                    My old i7 with e1000e is working fine (except the version not shoving)

                                    1 Reply Last reply Reply Quote 1
                                    • olivierlambertO Offline
                                      olivierlambert Vates 🪐 Co-Founder CEO @Greg_E
                                      last edited by

                                      @Greg_E It works but it's not designed to work. I'm personally use a system like this at home (Protectli) and no issues so far after a rather intensive use.

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

                                        @Andrew What does a regular linux distro output as a version for the driver? I've been told there's no version in the source code, so does it output anything?

                                        B A 2 Replies Last reply Reply Quote 0
                                        • B Offline
                                          blankOutreach @stormi
                                          last edited by

                                          @stormi It shows the kernel version, exactly what uname -r would.

                                          1 Reply Last reply Reply Quote 0
                                          • A Online
                                            Andrew Top contributor @stormi
                                            last edited by

                                            @stormi From Debian 11:

                                            # ethtool -i enp0s25
                                            driver: e1000e
                                            version: 5.10.0-34-amd64
                                            firmware-version: 0.2-4
                                            expansion-rom-version:
                                            bus-info: 0000:00:19.0
                                            supports-statistics: yes
                                            supports-test: yes
                                            supports-eeprom-access: yes
                                            supports-register-dump: yes
                                            supports-priv-flags: yes
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post