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

    [Bug?] SR_SOURCE_SPACE_INSUFFICIENT - Problems enabling HA

    Scheduled Pinned Locked Moved Unsolved XCP-ng
    5 Posts 4 Posters 51 Views 4 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.
    • J Offline
      jr-m4
      last edited by jr-m4

      Next step in our lab testing was going to be to enable HA. For this we chose to go with a 500MB Fibre Channel LUN.

      • According to the docs, the minimum requirements are 356MB. https://xcp-ng.org/blog/2024/08/22/xcp-ng-high-availability-a-guide/

      However, when I try to enable HA I will find an error in the logs saying SR_SOURCE_SPACE_INSUFFICIENT. (Full log down below).

      So my question then becomes. Are the docs out of date, or could this possibly be something else under the hood?
      Note: I'm currently waiting on the storage guy to expand the SR to 1GB.

      XO CE: 5811d
      Node: 24
      Pool: Fully updated with latest patches as of may 26, 2026

      pool.enableHa
      {
        "pool": "37e7a3b9-8c45-c7f2-7d09-249a935dd33d",
        "heartbeatSrs": [
          "3efef95a-4594-5a36-a182-f2b039d51ffa"
        ],
        "configuration": {}
      }
      {
        "code": "SR_SOURCE_SPACE_INSUFFICIENT",
        "params": [
          "OpaqueRef:601b3d23-c211-b853-0a9a-2c12e16a6567"
        ],
        "call": {
          "duration": 21,
          "method": "pool.enable_ha",
          "params": [
            "* session id *",
            [
              "OpaqueRef:601b3d23-c211-b853-0a9a-2c12e16a6567"
            ],
            {}
          ]
        },
        "message": "SR_SOURCE_SPACE_INSUFFICIENT(OpaqueRef:601b3d23-c211-b853-0a9a-2c12e16a6567)",
        "name": "XapiError",
        "stack": "XapiError: SR_SOURCE_SPACE_INSUFFICIENT(OpaqueRef:601b3d23-c211-b853-0a9a-2c12e16a6567)
          at XapiError.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12)
          at file:///opt/xen-orchestra/packages/xen-api/transports/json-rpc.mjs:38:21
          at runNextTicks (node:internal/process/task_queues:65:5)
          at processImmediate (node:internal/timers:472:9)"
      }
      

      Update: Changed title to better describe problem

      ronan-aR 1 Reply Last reply Reply Quote 0
      • J Offline
        jr-m4
        last edited by

        Update:

        We just expanded the SR to 2GB. And I'm still getting the same error.

        Write permissions were verified by creating a vdi on the SR. And that was successfull with no problem.

        1 Reply Last reply Reply Quote 0
        • J jr-m4 marked this topic as a question
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Question for @Team-OS-Platform-Release

          1 Reply Last reply Reply Quote 1
          • stormiS Offline
            stormi Vates 🪐 XCP-ng Team
            last edited by

            Forwarding to @Team-Storage

            1 Reply Last reply Reply Quote 2
            • ronan-aR Offline
              ronan-a Vates 🪐 XCP-ng Team @jr-m4
              last edited by

              @jr-m4 Hello, can you share your xensource.log file after using enable_ha call?

              1 Reply Last reply Reply Quote 0

              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