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

    XCP-ng 8.3 updates announcements and testing

    Scheduled Pinned Locked Moved News
    211 Posts 31 Posters 21.9k Views 45 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.
    • F Offline
      flakpyro @gduperrey
      last edited by

      @gduperrey im getting the following trying to update:

      yum clean metadata && yum check-update
      Loaded plugins: fastestmirror
      Cleaning repos: xcp-ng-base xcp-ng-updates
      4 metadata files removed
      3 sqlite files removed
      0 metadata files removed
      Loaded plugins: 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
      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 !!! 
      xcp-ng-updates/primary_db      FAILED                                          
      http://mirrors.xcp-ng.org/8/8.3/updates/x86_64/repodata/0a94f9d57be162987a7e5162b4471809af2ee0897e97cc24187077fb58804380-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found-:--:-- ETA 
      Trying other mirror.
      To address this issue please refer to the below wiki article 
      
      https://wiki.centos.org/yum-errors
      
      If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
      
      (1/2): xcp-ng-base/primary_db                                                                                                                                           | 3.9 MB  00:00:02     
      xcp-ng-updates/primary_db      FAILED                                          
      http://mirrors.xcp-ng.org/8/8.3/updates/x86_64/repodata/0a94f9d57be162987a7e5162b4471809af2ee0897e97cc24187077fb58804380-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found-:--:-- ETA 
      Trying other mirror.
      http://mirrors.xcp-ng.org/8/8.3/updates/x86_64/repodata/0a94f9d57be162987a7e5162b4471809af2ee0897e97cc24187077fb58804380-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
      Trying other mirror.
      
      
       One of the configured repositories failed (XCP-ng Updates Repository),
       and yum doesn't have enough cached data to continue. At this point the only
       safe thing yum can do is fail. There are a few ways to work "fix" this:
      
           1. Contact the upstream for the repository and get them to fix the problem.
      
           2. Reconfigure the baseurl/etc. for the repository, to point to a working
              upstream. This is most often useful if you are using a newer
              distribution release than is supported by the repository (and the
              packages for the previous distribution release still work).
      
           3. Run the command with the repository temporarily disabled
                  yum --disablerepo=xcp-ng-updates ...
      
           4. Disable the repository permanently, so yum won't use it by default. Yum
              will then just ignore the repository until you permanently enable it
              again or use --enablerepo for temporary usage:
      
                  yum-config-manager --disable xcp-ng-updates
              or
                  subscription-manager repos --disable=xcp-ng-updates
      
           5. Configure the failing repository to be skipped, if it is unavailable.
              Note that yum will try to contact the repo. when it runs most commands,
              so will have to try and fail each time (and thus. yum will be be much
              slower). If it is a very temporary problem though, this is often a nice
              compromise:
      
                  yum-config-manager --save --setopt=xcp-ng-updates.skip_if_unavailable=true
      
      failure: repodata/0a94f9d57be162987a7e5162b4471809af2ee0897e97cc24187077fb58804380-primary.sqlite.bz2 from xcp-ng-updates: [Errno 256] No more mirrors to try.
      http://mirrors.xcp-ng.org/8/8.3/updates/x86_64/repodata/0a94f9d57be162987a7e5162b4471809af2ee0897e97cc24187077fb58804380-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
      
      

      Perhaps mirrors are still syncing?

      gduperreyG A 2 Replies Last reply Reply Quote 0
      • gduperreyG Offline
        gduperrey Vates 🪐 XCP-ng Team @flakpyro
        last edited by

        @flakpyro Yes, it always takes a little time for the mirrors to synchronize.

        I'm getting correct feedback from the main repository (https://updates.xcp-ng.org/) with the correct updates available.

        1 Reply Last reply Reply Quote 0
        • M Offline
          manilx @gduperrey
          last edited by

          @gduperrey I wonder why now I have to run those commands on my hosts each time for the updates to show:

          yum clean all
          rm -rf /var/cache/yum
          

          Not fun

          M 2 Replies Last reply Reply Quote 0
          • G Offline
            Greg_E @gduperrey
            last edited by

            @gduperrey

            Uggg... Just after I upgraded 8.2.1 to 8.3.x and did updates. Guess I have more waiting for me for later today or tomorrow.

            1 Reply Last reply Reply Quote 0
            • A Offline
              archw @flakpyro
              last edited by

              @flakpyro
              I'm good now!

              F 1 Reply Last reply Reply Quote 1
              • F Offline
                flakpyro @archw
                last edited by

                Updated around 43 hosts without issue.

                1 Reply Last reply Reply Quote 1
                • G Offline
                  Greg_E
                  last edited by

                  I'm doing the latest production level updates announced yesterday... My pool has never migrated VMs as fast as it is now.

                  RollingPoolUpdate.png

                  That was migrating several at a time, moving VMs back to "balanced" at the end is moving them at about half that speed one at a time. This is more than double what I was able to do with the same hardware on 8.2.1. It looks like it is actually capping at the maximum 10gbps speeds that the x710 cards and my switch can handle, that's never happened, not even on my lab which has been on v8.3 for over a year.

                  (note to self, might be time to upgrade those x520 cards in the lab to x710)

                  Next month's Windows updates might be interesting, hope this increase holds for that process too.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    manilx @manilx
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      manilx @manilx
                      last edited by

                      said in XCP-ng 8.3 updates announcements and testing:

                      @gduperrey I wonder why now I have to run those commands on my hosts each time for the updates to show:

                      yum clean all
                      rm -rf /var/cache/yum
                      

                      Not fun

                      @gduperrey Can you explain why this is happening and how to get updates showing automatically again?

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

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

                        yum clean all

                        I can't explain it. I can't say what's going on on your system, especially with so little information.

                        Personally, I run the following commands all the time:

                        yum clean metadata ; yum update
                        

                        I very rarely need to use yum clean all, and I don't remember having to do an additional rm. And yet, I run the above commands a lot during testing campaigns.

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          manilx @gduperrey
                          last edited by

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

                          yum clean metadata ; yum update

                          OK, I'll try this next time.

                          P.S I've updated the 2 hosts via XO all teh time from 8.3 beta. Always showed patches available in XO. Started with the previous 8.3 updates that they didn't show and I had to run those commands.

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

                            @manilx We recently upgraded our Koji build system. This may have caused disruptions in this recent update release yesterday, where an XML file was generated multiple times. This has now been fixed and should not happen again. This may explain the issue encountered this time, particularly with the notification of updates via XO.

                            Note that normally yum metadata expires after a few hours and so it should normally return to normal on its own.

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