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

    XCP-ng 8.3 updates announcements and testing

    Scheduled Pinned Locked Moved News
    127 Posts 25 Posters 8.2k Views 39 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.
    • P Offline
      ph7
      last edited by

      Can't migrate VHD between pools

      I updated my Intel test host/pool at the New update candidates for you to test! 8 days ago.

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

      I then ran the New security update candidates for you to test! 2 days ago

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

      I was no longer able to migrate a VHD from my Intel "test" host/pool to my AMD "production" host/pool
      My thought was I had to wait for the "release" update.

      When the update was published, on my "production" host I ran New update candidates for you to test! and New security update candidates for you to test!
      (why didn't I just run yum update ??)
      Still no migration

      Tried to update my hosts

      [10:23 x1 ~]# yum update
      Inlästa insticksmoduler: fastestmirror
      Loading mirror speeds from cached hostfile
      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
      No packages marked for update
      
      [11:03 x2 ~]# yum update
      Inlästa insticksmoduler: fastestmirror
      Loading mirror speeds from cached hostfile
      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
      No packages marked for update
      

      I then checked the software versions and there is a diff. in
      git_id , date , xapi_build and db_schema

      [10:23 x1 ~]# xe host-list params=software-version
      software-version (MRO)    : product_version: 8.3.0; product_version_text: 8.3; product_version_text_short: 8.3; platform_name: XCP; platform_version: 3.4.0; product_brand: XCP-ng; build_number: 8.3.0; git_id: 0; hostname: localhost; date: 20250507T15:15:51Z; dbv: 0.0.1; xapi: 25.6; xapi_build: 25.6.0; xen: 4.17.5-13; linux: 4.19.0+1; xencenter_min: 2.21; xencenter_max: 2.21; network_backend: openvswitch; db_schema: 5.786
      
      [10:20 x2 ~]# xe host-list params=software-version
      software-version (MRO)    : product_version: 8.3.0; product_version_text: 8.3; product_version_text_short: 8.3; platform_name: XCP; platform_version: 3.4.0; product_brand: XCP-ng; build_number: 8.3.0; git_id: 2; hostname: localhost; date: 20250211T18:05:31Z; dbv: 0.0.1; xapi: 24.19; xapi_build: 24.19.2; xen: 4.17.5-13; linux: 4.19.0+1; xencenter_min: 2.21; xencenter_max: 2.21; network_backend: openvswitch; db_schema: 5.780
      

      What is the next step to fix this?

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

        Now I am not sure if I did run the New update candidates for you to test!
        Is there a way to force the updates?

        gduperreyG 1 Reply Last reply Reply Quote 0
        • gduperreyG Offline
          gduperrey Vates 🪐 XCP-ng Team @ph7
          last edited by

          @ph7 As David mentioned, the security updates were released yesterday. They are no longer in the candidates repository, but in the updates repository.

          Note that the updates in the testing repository have not yet been released. They include a more recent version of the XAPI. This could explain why you can no longer migrate this VHD between your test and production environments.

          Are you trying to perform a live migration or with the VM powered off?

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

            @gduperrey said in XCP-ng 8.3 updates announcements and testing:

            Are you trying to perform a live migration or with the VM powered off?

            No live migration, different pools, VDI migration only, powered off.
            Warm migration is working.

            It's OK, I can wait for the release

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              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
                          • First post
                            Last post