VDI_COPY_FAILED: Failed to find parent
-
Good-day Folks,
Today I attempted to move a VDI from one NFS SR to another NFS SR and it failed with the following error:
vdi.migrate { "id": "c6967c64-01a3-4910-9783-78c36629c080", "sr_id": "921094bf-12a3-78a2-f470-a2b6ad342647" } { "code": "VDI_COPY_FAILED", "params": [ "warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 3 more times... warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 2 more times... warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 1 more time... Fatal error: exception Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\") " ], "task": { "uuid": "4c1c4a91-f5a3-8a7d-6b55-e9bbca5f8fb0", "name_label": "Async.VDI.pool_migrate", "name_description": "", "allowed_operations": [], "current_operations": {}, "created": "20250103T13:40:48Z", "finished": "20250103T13:41:06Z", "status": "failure", "resident_on": "OpaqueRef:e11885bb-3b4d-41f1-3db9-688b9fbc71ae", "progress": 1, "type": "<none/>", "result": "", "error_info": [ "VDI_COPY_FAILED", "warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 3 more times... warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 2 more times... warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 1 more time... Fatal error: exception Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\") " ], "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 11330))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 146))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/rbac.ml)(line 191))((process xapi)(filename ocaml/xapi/rbac.ml)(line 200))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 75)))" }, "message": "VDI_COPY_FAILED(warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 3 more times... warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 2 more times... warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 1 more time... Fatal error: exception Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\") )", "name": "XapiError", "stack": "XapiError: VDI_COPY_FAILED(warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 3 more times... warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 2 more times... warning: caught Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\"); will retry 1 more time... Fatal error: exception Failure(\"Failed to find parent (tried [ ] with search_path /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a/.; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /dev/mapper; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a; /var/run/sr-mount/30d873a3-3523-1952-e923-bcaa02b9255a)\") ) at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12) at default (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_getTaskResult.mjs:13:29) at Xapi._addRecordToCache (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1076:24) at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1110:14 at Array.forEach (<anonymous>) at Xapi._processEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1100:12) at Xapi._watchEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1273:14)" }
Is this
30d873a3-3523-1952-e923-bcaa02b9255a
the UUID of the parent being referenced in the error message? If so, I can manually browse through the NFS path and see if I can find it. That said, I can confirm that both SRs are online and working, and I have completed other VDI migrations without much issue.