Hello,
Version:
XCP-NG 8.3.0 on an HP DL380 G9
I'm exporting my vm using this command:
xe vm-export vm=2129ae0c-a46f-5a07-2d5f-3a9d7d1baf42 filename=/run/sr-mount/a7f6df31-412f-d5e9-4163-8af75b1df8ad/myVMtoExport.xva
But after few minutes I'm getting this error which is not clear to me
The server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem.
message: Unix.Unix_error(Unix.EIO, "read", "")
I don't really understand where to look at, in the Xensource logs I have the same message but doesn't give me a clue what could be the issue.
My VM is working correctly I can start it up and use it normally. So I don't understand where could be the issue.
I have tested to run this export both with the machine runinng and the machine stopped in both case I have the same issue.
Xensource logs.
Feb 3 00:18:29 xenserver-singapore xapi: [debug||468 |xapi events D:a6cda345829c|dummytaskhelper] task timeboxed_rpc D:59c515615584 created by task D:a6cda345829c
Feb 3 00:18:29 xenserver-singapore xapi: [debug||103857 /var/lib/xcp/xapi|post_root|dummytaskhelper] task dispatch:event.from D:ecf675861053 created by task D:a6cda345829c
Feb 3 00:18:31 xenserver-singapore xapi: [ info||103858 /var/lib/xcp/xapi|post_cli|cli] xe vm-export vm=2129ae0c-a46f-5a07-2d5f-3a9d7d1baf42 filename=/run/sr-mount/a7f6df31-412f-d5e9-4163-8af75b1df8ad/myVMtoExport.xva username=root password=(omitted)
Feb 3 00:18:31 xenserver-singapore xapi: [ info||103858 /var/lib/xcp/xapi|session.login_with_password D:0931d04b6244|xapi_session] Session.create trackid=9fb57b0b73643570129b41898af5ace9 pool=false uname=root originator=cli is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 3 00:18:31 xenserver-singapore xapi: [debug||103859 /var/lib/xcp/xapi|post_root|dummytaskhelper] task dispatch:pool.get_all D:0ab57cda82a5 created by task D:0931d04b6244
[…]
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] Export of VM R:073ca66fb5e4 failed with exception Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] Raised Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 1/18 xapi Raised at file unix.ml, line 258
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 2/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/unixext.ml, line 476
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 3/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-unix/unixext.ml, line 490
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 4/18 xapi Called from file ocaml/xapi/stream_vdi.ml, line 296
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 5/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 6/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 7/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 8/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 9/18 xapi Called from file ocaml/xapi/stream_vdi.ml, line 263
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 10/18 xapi Called from file list.ml, line 110
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 11/18 xapi Called from file ocaml/xapi/export.ml, line 707
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 12/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 13/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 14/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 15/18 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 16/18 xapi Called from file ocaml/xapi/server_helpers.ml, line 75
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 17/18 xapi Called from file ocaml/xapi/server_helpers.ml, line 97
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace] 18/18 xapi Called from file ocaml/libs/log/debug.ml, line 250
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|VM.export D:a9ace20058a5|backtrace]
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] VM.export D:a9ace20058a5 failed with exception Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] Raised Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 1/9 xapi Raised at file ocaml/libs/log/debug.ml, line 271
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 2/9 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 3/9 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 4/9 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 5/9 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 6/9 xapi Called from file ocaml/xapi/xapi_http.ml, line 257
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 7/9 xapi Called from file ocaml/xapi/server_helpers.ml, line 75
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 8/9 xapi Called from file ocaml/xapi/server_helpers.ml, line 97
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace] 9/9 xapi Called from file ocaml/libs/log/debug.ml, line 250
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|handler:http/get_export D:cfa528131e78|backtrace]
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] handler:http/get_export D:cfa528131e78 failed with exception Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] Raised Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 1/10 xapi Raised at file ocaml/libs/log/debug.ml, line 271
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 2/10 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 3/10 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 4/10 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 5/10 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 6/10 xapi Called from file ocaml/xapi/rbac.ml, line 229
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 7/10 xapi Called from file ocaml/xapi/rbac.ml, line 239
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 8/10 xapi Called from file ocaml/xapi/server_helpers.ml, line 75
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 9/10 xapi Called from file ocaml/xapi/server_helpers.ml, line 97
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace] 10/10 xapi Called from file ocaml/libs/log/debug.ml, line 250
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80|xapi_http_session_check D:dc664bf0073e|backtrace]
Feb 3 00:22:24 xenserver-singapore xapi: [ info||103860 :::80|xapi_http_session_check D:dc664bf0073e|taskhelper] task Export of VM R:073ca66fb5e4 forwarded
Feb 3 00:22:24 xenserver-singapore xapi: [debug||103860 :::80|xapi_http_session_check D:dc664bf0073e|taskhelper] the status of R:073ca66fb5e4 is failure; cannot set it to `failure
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] xapi_http_session_check D:dc664bf0073e failed with exception Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] Raised Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] 1/8 xapi Raised at file ocaml/libs/log/debug.ml, line 271
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] 2/8 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] 3/8 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] 4/8 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] 5/8 xapi Called from file ocaml/xapi/xapi_http.ml, line 114
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] 6/8 xapi Called from file ocaml/xapi/server_helpers.ml, line 75
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] 7/8 xapi Called from file ocaml/xapi/server_helpers.ml, line 97
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace] 8/8 xapi Called from file ocaml/libs/log/debug.ml, line 250
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 HTTP 127.0.0.1->:::80|get_export|backtrace]
Feb 3 00:22:24 xenserver-singapore xapi: [debug||103860 HTTP 127.0.0.1->:::80|get_export|xapi_http] Leaving RBAC-handler in xapi_http after: INTERNAL_ERROR: [ Unix.Unix_error(Unix.EIO, "read", "") ]
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] get_export failed with exception Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] Raised Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 1/8 xapi Raised at file ocaml/libs/log/debug.ml, line 271
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 2/8 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 3/8 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 4/8 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 5/8 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 6/8 xapi Called from file ocaml/xapi/xapi_http.ml, line 364
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 7/8 xapi Called from file ocaml/xapi/xapi_http.ml, line 370
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 8/8 xapi Called from file ocaml/libs/log/debug.ml, line 250
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace]
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||http_internal_errors] Responding with 500 Internal Error due to Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] Raised Unix.Unix_error(Unix.EIO, "read", "")
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace] 1/1 xapi Raised at file (Thread 103860 has no backtrace table. Was with_backtraces called?, line 0
Feb 3 00:22:24 xenserver-singapore xapi: [error||103860 :::80||backtrace]
Feb 3 00:22:24 xenserver-singapore xapi: [ info||103858 /var/lib/xcp/xapi|session.logout D:639c98ef4e1a|xapi_session] Session.destroy trackid=9fb57b0b73643570129b41898af5ace9
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|cli] Converting exception INTERNAL_ERROR: [ Unix.Unix_error(Unix.EIO, "read", "") ] into a CLI response
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] Raised Server_error(INTERNAL_ERROR, [ Unix.Unix_error(Unix.EIO, "read", "") ])
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 1/12 xapi Raised at file ocaml/xapi-cli-server/cli_operations.ml, line 5569
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 2/12 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 3/12 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 4/12 xapi Called from file ocaml/xapi-cli-server/cli_operations.ml, line 3264
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 5/12 xapi Called from file ocaml/xapi-cli-server/cli_operations.ml, line 3318
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 6/12 xapi Called from file ocaml/xapi-cli-server/cli_operations.ml, line 3328
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 7/12 xapi Called from file ocaml/xapi-cli-server/cli_operations.ml, line 5979
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 8/12 xapi Called from file ocaml/xapi-cli-server/xapi_cli.ml, line 203
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 9/12 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 10/12 xapi Called from file ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml, line 39
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 11/12 xapi Called from file ocaml/xapi-cli-server/xapi_cli.ml, line 173
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace] 12/12 xapi Called from file lib/backtrace.ml, line 177
Feb 3 00:22:24 xenserver-singapore xapi: [error||103858 /var/lib/xcp/xapi|post_cli|backtrace]
Feb 3 00:22:52 xenserver-singapore xapi: [debug||103999 /var/lib/xcp/xapi|post_root|dummytaskhelper] task dispatch:session.logout D:fbe10c055f6a created by task D:04f66e8e9f3b
Feb 3 00:22:52 xenserver-singapore xapi: [ info||103999 /var/lib/xcp/xapi|session.logout D:38b18bd3e736|xapi_session] Session.destroy trackid=252eff3f40d674d751f860653cd0403a
Feb 3 00:22:52 xenserver-singapore xapi: [debug||104000 /var/lib/xcp/xapi|post_root|dummytaskhelper] task dispatch:session.slave_login D:394e12272834 created by task D:04f66e8e9f3b
Feb 3 00:22:52 xenserver-singapore xapi: [ info||104000 /var/lib/xcp/xapi|session.slave_login D:552a39cb718b|xapi_session] Session.create trackid=c945eaa1e1349d16aa7e3bb33fd90bbb pool=true uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
Any idea that could point in the correct direction or a workaround to backup this VM would be greatly appreciated.
With kind regards.