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

    Cannot add host to an existing HA cluster

    Scheduled Pinned Locked Moved Compute
    3 Posts 2 Posters 331 Views 2 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.
    • G Offline
      goreandor
      last edited by

      Hi,

      I'm trying to add a new host to an existing cluster with HA enabled, but I am getting the error below:

      pool.mergeInto
      {
        "sources": [
          "f42c2b0d-9090-8a71-29ea-08860c618e2a"
        ],
        "target": "1242d5b9-c1f7-4fcf-ef1a-21b1967fb6cf",
        "force": true
      }
      {
        "code": "HA_IS_ENABLED",
        "params": [],
        "call": {
          "method": "pool.join_force",
          "params": [
            "192.168.99.109",
            "root",
            "* obfuscated *"
          ]
        },
        "message": "HA_IS_ENABLED()",
        "name": "XapiError",
        "stack": "XapiError: HA_IS_ENABLED()
          at Function.wrap (/opt/xo/xo-builds/xen-orchestra-202303290507/packages/xen-api/src/_XapiError.js:16:12)
          at /opt/xo/xo-builds/xen-orchestra-202303290507/packages/xen-api/src/transports/json-rpc.js:35:21"
      }
      

      Worked fine before enabling HA on the shared storage. HA is working fine as far as I can tell and I do have the cloud icon with the green "very good" on the pool. Not sure what I'm doing wrong.

      This is on fully updated XCP-NG servers and XO from source commit 53e0f.

      Appreciate any pointers.

      Thanks

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

        You need to disable HA, then add the host to the pool, and finally re-add HA.

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

          @olivierlambert Thanks. I suspected that, but thought it was me being dumb and haven't found anything on it 🙂

          Thanks

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