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

    Update XCP NG 8.2 with xen orchestra failed

    Scheduled Pinned Locked Moved Management
    12 Posts 3 Posters 2.4k Views 3 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
      freek110
      last edited by olivierlambert

      Hello,

      I get at one xcp server a error if i want to update it.

      The error is:

      -1(Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1, , Traceback (most recent call last):
        File "/etc/xapi.d/plugins/xcpngutils/__init__.py", line 101, in wrapper
          return func(*args, **kwds)
        File "/etc/xapi.d/plugins/updater.py", line 96, in decorator
          return func(*args, **kwargs)
        File "/etc/xapi.d/plugins/updater.py", line 157, in update
          raise error
      CalledProcessError: Command '['yum', 'update', '--disablerepo=*', '--enablerepo=xcp-ng-base,xcp-ng-updates', '-y']' returned non-zero exit status 1
      )
      

      The other two xcp ng servers there were no problem.
      XCp-NG version 8.2

      I update with xen orchetsra sources and thru xcp ng server.

      Greetings,

      Albert

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

        You probably have the base repo enabled. I strongly suggest to look at https://xcp-ng.org/docs/additionalpackages.html

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          freek110 @olivierlambert
          last edited by

          @olivierlambert
          Oke thank you, i'll check this.

          1 Reply Last reply Reply Quote 0
          • G Offline
            gojjily
            last edited by

            I am having the same issue, and my base repos are not enabled.
            How do I resolve this issue?

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

              Please provide the result of yum update

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                gojjily @olivierlambert
                last edited by olivierlambert

                @olivierlambert

                Dependencies Resolved
                
                ===============================================================================================================================
                 Package                                    Arch            Version                              Repository               Size
                ===============================================================================================================================
                Updating:
                 forkexecd                                  x86_64          1.18.1-2.1.xcpng8.2                  xcp-ng-updates          1.2 M
                 gpumon                                     x86_64          0.18.0-4.3.xcpng8.2                  xcp-ng-updates          1.3 M
                 guest-templates-json                       noarch          1.9.6-1.2.xcpng8.2                   xcp-ng-updates           29 k
                 guest-templates-json-data-linux            noarch          1.9.6-1.2.xcpng8.2                   xcp-ng-updates           19 k
                 guest-templates-json-data-other            noarch          1.9.6-1.2.xcpng8.2                   xcp-ng-updates           12 k
                 guest-templates-json-data-windows          noarch          1.9.6-1.2.xcpng8.2                   xcp-ng-updates           14 k
                 kernel                                     x86_64          4.19.19-7.0.15.1.xcpng8.2            xcp-ng-updates           30 M
                 linux-firmware                             noarch          20190314-8.1.xcpng8.2                xcp-ng-updates           39 M
                 message-switch                             x86_64          1.23.2-4.1.xcpng8.2                  xcp-ng-updates          2.3 M
                 microcode_ctl                              x86_64          2:2.1-26.xs25.1.xcpng8.2             xcp-ng-updates          6.4 M
                 qemu                                       x86_64          2:4.2.1-4.6.3.1.xcpng8.2             xcp-ng-updates           16 M
                 rrdd-plugins                               x86_64          1.10.8-5.2.xcpng8.2                  xcp-ng-updates          3.8 M
                 sm                                         x86_64          2.30.8-2.1.xcpng8.2                  xcp-ng-updates          619 k
                 sm-rawhba                                  x86_64          2.30.8-2.1.xcpng8.2                  xcp-ng-updates           32 k
                 sudo                                       x86_64          1.8.23-10.el7_9.3                    xcp-ng-updates          843 k
                 varstored-guard                            x86_64          0.6.2-2.xcpng8.2                     xcp-ng-updates          2.2 M
                 xapi-core                                  x86_64          1.249.28-1.2.xcpng8.2                xcp-ng-updates           18 M
                 xapi-tests                                 x86_64          1.249.28-1.2.xcpng8.2                xcp-ng-updates          3.8 M
                 xapi-xe                                    x86_64          1.249.28-1.2.xcpng8.2                xcp-ng-updates          837 k
                 xcp-networkd                               x86_64          0.56.2-2.xcpng8.2                    xcp-ng-updates          3.3 M
                 xcp-ng-release                             x86_64          8.2.1-9                              xcp-ng-updates          104 k
                 xcp-ng-release-config                      x86_64          8.2.1-9                              xcp-ng-updates          108 k
                 xcp-ng-release-presets                     x86_64          8.2.1-9                              xcp-ng-updates           10 k
                 xcp-rrdd                                   x86_64          1.33.2-1.1.xcpng8.2                  xcp-ng-updates          1.5 M
                 xen-dom0-libs                              x86_64          4.13.5-9.35.1.xcpng8.2               xcp-ng-updates          628 k
                 xen-dom0-tools                             x86_64          4.13.5-9.35.1.xcpng8.2               xcp-ng-updates          2.4 M
                 xen-hypervisor                             x86_64          4.13.5-9.35.1.xcpng8.2               xcp-ng-updates          2.4 M
                 xen-libs                                   x86_64          4.13.5-9.35.1.xcpng8.2               xcp-ng-updates           39 k
                 xen-tools                                  x86_64          4.13.5-9.35.1.xcpng8.2               xcp-ng-updates           27 k
                 xenopsd                                    x86_64          0.150.14-1.1.xcpng8.2                xcp-ng-updates           79 k
                 xenopsd-cli                                x86_64          0.150.14-1.1.xcpng8.2                xcp-ng-updates          1.3 M
                 xenopsd-xc                                 x86_64          0.150.14-1.1.xcpng8.2                xcp-ng-updates          4.0 M
                
                Transaction Summary
                ===============================================================================================================================
                Upgrade  32 Packages
                
                Total size: 142 M
                Total download size: 5.4 M
                Is this ok [y/d/N]:
                
                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Everything looks fine to me 🤔

                  G 1 Reply Last reply Reply Quote 0
                  • G Offline
                    gojjily @olivierlambert
                    last edited by gojjily

                    @olivierlambert right, so what is the solution.
                    Yum update works fine, but I can't install the pool patches yet via Xen Orchestra

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

                      If I had the solution I would give it, but I can't guess all the potential variable in your setup.

                      We recently improve the update plugin, so double check:

                      1. your XO is fully up to date
                      2. your XCP-ng is also fully up to date
                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        freek110
                        last edited by

                        It was now working... so all the host are working fine.

                        When is the stable version of 8.3 going to be live?

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

                          Before the end of the year 🙂

                          1 Reply Last reply Reply Quote 1
                          • olivierlambertO olivierlambert moved this topic from Xen Orchestra on

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post