Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to unmount iscsi SR - SR_BACKEND_FAILURE_1200 #7595

Closed
TristisOris opened this issue Apr 25, 2024 · 1 comment
Closed

Unable to unmount iscsi SR - SR_BACKEND_FAILURE_1200 #7595

TristisOris opened this issue Apr 25, 2024 · 1 comment

Comments

@TristisOris
Copy link

TristisOris commented Apr 25, 2024

Are you using XOA or XO from the sources?

XO from the sources

Which release channel?

None

Provide your commit number

6dc18

Describe the bug

SR was mounted to pool with 2 hosts. When click "forget this sr" it disconected only from 1 host. Can't do it for 2nd.

Error message

pbd.disconnect
{
  "id": "4ac7f114-4596-f9f2-b1f5-1e82402e66b1"
}
{
  "code": "SR_BACKEND_FAILURE_1200",
  "params": [
    "",
    "SR detach failed, please refer to the log for details.",
    ""
  ],
  "task": {
    "uuid": "0c45d300-b367-048a-8abd-eebc0d0226c1",
    "name_label": "Async.PBD.unplug",
    "name_description": "",
    "allowed_operations": [],
    "current_operations": {},
    "created": "20240425T08:24:53Z",
    "finished": "20240425T08:24:54Z",
    "status": "failure",
    "resident_on": "OpaqueRef:392e5c58-473f-4729-bfb2-7cd159c8635b",
    "progress": 1,
    "type": "<none/>",
    "result": "",
    "error_info": [
      "SR_BACKEND_FAILURE_1200",
      "",
      "SR detach failed, please refer to the log for details.",
      ""
    ],
    "other_config": {},
    "subtask_of": "OpaqueRef:NULL",
    "subtasks": [],
    "backtrace": "(((process xapi)(filename ocaml/xapi-client/client.ml)(line 7))((process xapi)(filename ocaml/xapi-client/client.ml)(line 19))((process xapi)(filename ocaml/xapi-client/client.ml)(line 12956))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 35))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 134))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
  },
  "message": "SR_BACKEND_FAILURE_1200(, SR detach failed, please refer to the log for details., )",
  "name": "XapiError",
  "stack": "XapiError: SR_BACKEND_FAILURE_1200(, SR detach failed, please refer to the log for details., )
    at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/_XapiError.mjs:16:12)
    at default (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/_getTaskResult.mjs:11:29)
    at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/index.mjs:1029:24)
    at file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/index.mjs:1063:14
    at Array.forEach (<anonymous>)
    at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/index.mjs:1053:12)
    at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/index.mjs:1226:14)"
}

for 10 errors SR_BACKEND_FAILURE_1200 i also got 1 next:

sr.scan
{
  "id": "f1a514f3-2ef9-5705-7a7e-c8c23483122c"
}
{
  "code": "SR_HAS_NO_PBDS",
  "params": [
    "OpaqueRef:9273f492-e964-4485-a72f-26b7ae3eaee6"
  ],
  "task": {
    "uuid": "e40b3821-3ef8-693d-7e9c-6b108c5c3211",
    "name_label": "Async.SR.scan",
    "name_description": "",
    "allowed_operations": [],
    "current_operations": {},
    "created": "20240425T08:17:38Z",
    "finished": "20240425T08:17:38Z",
    "status": "failure",
    "resident_on": "OpaqueRef:392e5c58-473f-4729-bfb2-7cd159c8635b",
    "progress": 1,
    "type": "<none/>",
    "result": "",
    "error_info": [
      "SR_HAS_NO_PBDS",
      "OpaqueRef:9273f492-e964-4485-a72f-26b7ae3eaee6"
    ],
    "other_config": {},
    "subtask_of": "OpaqueRef:NULL",
    "subtasks": [],
    "backtrace": "(((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 261))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 4413))((process xapi)(filename lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/xapi/rbac.ml)(line 205))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 95)))"
  },
  "message": "SR_HAS_NO_PBDS(OpaqueRef:9273f492-e964-4485-a72f-26b7ae3eaee6)",
  "name": "XapiError",
  "stack": "XapiError: SR_HAS_NO_PBDS(OpaqueRef:9273f492-e964-4485-a72f-26b7ae3eaee6)
    at Function.wrap (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/_XapiError.mjs:16:12)
    at default (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/_getTaskResult.mjs:11:29)
    at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/index.mjs:1029:24)
    at file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/index.mjs:1063:14
    at Array.forEach (<anonymous>)
    at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/index.mjs:1053:12)
    at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202404191119/packages/xen-api/index.mjs:1226:14)"
}

To reproduce

dunno. Something is hang on iscsi connector. Host reboot should solve problem.

Expected behavior

No response

Screenshots

изображение

Node

18

Hypervisor

8.2.1

Additional context

No response

@olivierlambert
Copy link
Member

Hi,

It's not an XO issue, but an XCP-ng issue being unable to detach one host on the SR. It could be because there's still a process linked to it. Anyway, that's not the right place, please post on our community forum for further assistance: https://xcp-ng.org/forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants