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

    XOA Update patches fails

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    9 Posts 3 Posters 1.7k Views 1 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.
    • B Offline
      bazzacad
      last edited by

      My pool says it has 268 patches.
      When I click Install all patches I get this error:

      3a748888-3347-457f-8276-0581a4786b97-image.png

      pool.installPatches
      {
        "hosts": [
          "261610bd-2281-446f-b5e4-59ba735bb873"
        ]
      }
      {
        "message": "Update install failed",
        "name": "Error",
        "stack": "Error: Update install failed
          at /usr/local/lib/node_modules/xo-server/src/xapi/mixins/patching.js:354:14
          at Generator.next (<anonymous>)
          at asyncGeneratorStep (/usr/local/lib/node_modules/xo-server/dist/xapi/mixins/patching.js:44:103)
          at _next (/usr/local/lib/node_modules/xo-server/dist/xapi/mixins/patching.js:46:194)
          at run (/usr/local/lib/node_modules/xo-server-xoa/node_modules/core-js/modules/es6.promise.js:75:22)
          at /usr/local/lib/node_modules/xo-server-xoa/node_modules/core-js/modules/es6.promise.js:92:30
          at flush (/usr/local/lib/node_modules/xo-server-xoa/node_modules/core-js/modules/_microtask.js:18:9)
          at _combinedTickCallback (internal/process/next_tick.js:132:7)
          at process._tickCallback (internal/process/next_tick.js:181:9)"
      }
      
      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Some questions for you --

        • Is your XOA up-to-date?

        • What version of XCP-ng / XS / CH?

        • Is this a fresh install or are you just way behind on installing updates? 😃

        1 Reply Last reply Reply Quote 0
        • DanpD Offline
          Danp Pro Support Team
          last edited by

          Looks a lot like this issue --

          https://xen-orchestra.com/forum/topic/1259/patch-server-fails

          1 Reply Last reply Reply Quote 0
          • B Offline
            bazzacad
            last edited by

            Says XOA is up-to-date
            da1cefb4-7c11-430c-a011-1b58c0fec61c-image.png

            XCP-NG = v7.6.0

            This is a fresh install is of 2 hours ago.

            DNS is configured in iDRAC
            8f8c3288-df78-4c82-9984-6c8b8f467c5f-image.png

            DanpD 1 Reply Last reply Reply Quote 0
            • DanpD Offline
              Danp Pro Support Team @bazzacad
              last edited by

              @bazzacad said in XOA Update patches fails:

              DNS is configured in iDRAC

              Pretty sure that isn't applicable. In XOA, go to the host's Network tab. Find the PIF associated with the management interface and then click the "pencil" icon to configure the IP address. If DNS isn't properly configured here, then that's likely the issue.

              FWIW, this can also be done from either XSConsole or XCP-ng Center.

              1 Reply Last reply Reply Quote 1
              • B Offline
                bazzacad
                last edited by

                Yes, DNS is configured correctly on my PIF

                204ce03e-a579-4984-adc2-d9b2394fd555-image.png

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

                  @bazzacad said in XOA Update patches fails:

                  My pool says it has 268 patches

                  Hmm. I think it's not an XOA issue but a problem on your XCP-ng host. Why do you have such high number of updates? Did you tinker the repo conf files?

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bazzacad
                    last edited by

                    Oops, sorry. I had enabled the Centos-Base repo.
                    I've disabled it now & the 268 patches are gone now.

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

                      That's why I thought. NEVER enable base repo. If you want a package from their, just enable it during the yum install command line.

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