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

    Unable to remove non-existent SR

    Scheduled Pinned Locked Moved Solved Management
    5 Posts 3 Posters 163 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.
    • Tristis OrisT Offline
      Tristis Oris Top contributor
      last edited by Tristis Oris

      Pool been restored from meta backup.
      Now i have offline copy of dvd, local, removable SRs mounted to pool, along with online which mounted to each host in pool.
      fb79bb2f-e7f1-4721-a511-fcfaedbbdc97-изображение.png

      Can't remove them

      sr.destroy
      {
        "id": "2398ad1d-3bac-bbb3-b8f9-f6cecfa2b64d"
      }
      {
        "code": "SR_HAS_NO_PBDS",
        "params": [
          "OpaqueRef:8980f0f4-bc70-17fb-a33c-305b2b687b7c"
        ],
        "call": {
          "duration": 19,
          "method": "SR.destroy",
          "params": [
            "* session id *",
            "OpaqueRef:8980f0f4-bc70-17fb-a33c-305b2b687b7c"
          ]
        },
        "message": "SR_HAS_NO_PBDS(OpaqueRef:8980f0f4-bc70-17fb-a33c-305b2b687b7c)",
        "name": "XapiError",
        "stack": "XapiError: SR_HAS_NO_PBDS(OpaqueRef:8980f0f4-bc70-17fb-a33c-305b2b687b7c)
          at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202601281247/packages/xen-api/_XapiError.mjs:16:12)
          at file:///opt/xo/xo-builds/xen-orchestra-202601281247/packages/xen-api/transports/json-rpc.mjs:38:21
          at runNextTicks (node:internal/process/task_queues:64:5)
          at processImmediate (node:internal/timers:472:9)
          at process.callbackTrampoline (node:internal/async_hooks:130:17)"
      }
      
      sr.stats
      {
        "id": "826c01bc-df0b-e813-bd33-ab52b85c5cf8",
        "granularity": "seconds"
      }
      {
        "message": "Cannot read properties of undefined (reading 'interval')",
        "name": "TypeError",
        "stack": "TypeError: Cannot read properties of undefined (reading 'interval')
          at XapiStats.getSrStats (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xo-server/src/xapi-stats.mjs:509:56)
          at Task.runInside (/opt/xo/xo-builds/xen-orchestra-202602091212/@vates/task/index.js:175:22)
          at Task.run (/opt/xo/xo-builds/xen-orchestra-202602091212/@vates/task/index.js:159:20)
          at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202602091212/packages/xo-server/src/xo-mixins/api.mjs:469:18)"
      }
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        You need to forget them, not remove.

        Tristis OrisT 1 Reply Last reply Reply Quote 0
        • Tristis OrisT Offline
          Tristis Oris Top contributor @olivierlambert
          last edited by

          @olivierlambert i know, but i can't)

          b5526066-3bcc-4b25-a7ba-eccb9bd0be2f-изображение.png

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

            Hi @Tristis-Oris Have you tried this option on the secondary menu?

            0de7d6ae-0cc7-414a-8aa8-75e23c0f1a2a-image.png

            Tristis OrisT 1 Reply Last reply Reply Quote 0
            • Tristis OrisT Offline
              Tristis Oris Top contributor @Danp
              last edited by

              @Danp damned, i forget about this button) Now it works, thanks.

              1 Reply Last reply Reply Quote 0
              • Tristis OrisT Tristis Oris marked this topic as a question
              • Tristis OrisT Tristis Oris has marked this topic as solved

              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