XOA Update patches fails



  • 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)"
    }
    


  • 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? 😃





  • 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



  • @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.



  • Yes, DNS is configured correctly on my PIF

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


  • Admin

    @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?



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


  • Admin

    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.


Log in to reply