Continuous vm replication or VM copy through XOA fails on WAN
-
We have two environment of XCP-ng, lets say DC and DR connected over WAN.
DC and DR have multiple 3-4 XCP-ng hosts(XCP-ng 8.0) each.
We are using XO built from source. (5.42 build, xo-server 5.55.0, xo-web 5.55.0)
We are using XO for following:- Continuous VM replication of VM from DC to DR XCP-ng host.
This failed with the error: Error: VDI_IO_ERROR(Device I/O errors)
As per readings and recommendations from various threads(GH and forum) related specifically to this VDI_IO_ERROR, I have added following line in config.toml on xoa machine.
guessVhdsize = true
But this have not helped to resolve the issue.
Copying/continuous replication of VM within(intra) XCP-ng hosts of DC or DR environment works fine.
But the same operations fails when we perform them between DC and DR XCP-ng hosts.
Following errors are found in xensource.log of destination xcp-ng host:
Importing raw VDI R:<id>|vhd_tool_wrapper] vhd-tool failed, returning VDI_IO_ERROR
Importing raw VDI R:<id>|vhd_tool_wrapper] vhd-tool output: vhd-tool: Non-zero size required (either a pre-existing destination file or#012 specified via --destination-size on the command line)Importing raw VDI R:<id>|import] Caught exception: VDI_IO_ERROR: [ Device I/O errors ]
Importing raw VDI R:<id>|taskhelper] the status of R:<id> is failure; cannot set it to `failure
VDI.import D****|backtrace] Importing raw VDI R:<id> failed with exception Server_error(VDI_IO_ERROR, [ Device I/O errors ])
VDI.import D****|backtrace] Raised Server_error(VDI_IO_ERROR, [ Device I/O errors ])
VDI.import D****|backtrace] 1/12 xapi @ xcp-10 Raised at file ocaml/xapi/vhd_tool_wrapper.ml, line 59
VDI.import D****|backtrace] 2/12 xapi @ xcp-10 Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
VDI.import D****|backtrace] 3/12 xapi @ xcp-10 Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
VDI.import D****|backtrace] 4/12 xapi @ xcp-10 Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
VDI.import D****|backtrace] 5/12 xapi @ xcp-10 Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
VDI.import D****|backtrace] 6/12 xapi @ xcp-10 Called from file ocaml/xapi/import_raw_vdi.ml, line 81
VDI.import D****|backtrace] 7/12 xapi @ xcp-10 Called from file ocaml/xapi/import_raw_vdi.ml, line 105
VDI.import D****|backtrace] 8/12 xapi @ xcp-10 Called from file ocaml/xapi/server_helpers.ml, line 80
VDI.import D****|backtrace] 9/12 xapi @ xcp-10 Called from file ocaml/xapi/server_helpers.ml, line 99
VDI.import D****|backtrace] 10/12 xapi @ xcp-10 Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
VDI.import D****|backtrace] 11/12 xapi @ xcp-10 Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
VDI.import D****|backtrace] 12/12 xapi @ xcp-10 Called from file lib/backtrace.ml, line 177
VDI.import D:****|backtrace]If anybody faced similar issue and found any solution for it kindly reply to this.
- Continuous VM replication of VM from DC to DR XCP-ng host.
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