Unable to remove non-existent SR
-
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.

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)" } -
You need to forget them, not remove.
-
@olivierlambert i know, but i can't)

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

-
@Danp damned, i forget about this button) Now it works, thanks.
-
T Tristis Oris marked this topic as a question
-
T 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