vatesfr / xen-orchestra

The global orchestration solution to manage and backup XCP-ng and XenServer.
https://xen-orchestra.com
Other
767 stars 262 forks source link

[Backup NG] Restore Full Backup Failing #4182

Closed bdonnahue closed 5 years ago

bdonnahue commented 5 years ago

Context

Expected behavior

The backup file would create a new vm on the specified pool

Current behavior

The restore task fails around 21%/22% with the following:


  "code": "IMPORT_ERROR",
  "params": [
    "INTERNAL_ERROR: [ Unix.Unix_error(Unix.ECONNRESET, \"read\", \"\") ]"
  ],
  "url": "https://10.4.3.101/import/?sr_id=OpaqueRef%3A10647018-dd93-49bf-8c93-dae93bce3b90&session_id=OpaqueRef%3A614fb4d4-1771-4a2c-bd82-1516bbaffd2c&task_id=OpaqueRef%3Ab7287833-acc4-4175-b92f-33de33b69383",
  "task": {
    "uuid": "227790b8-9f3e-ecb6-faca-e948a5391da0",
    "name_label": "[XO] VM import",
    "name_description": "",
    "allowed_operations": [],
    "current_operations": {},
    "created": "20190502T17:44:43Z",
    "finished": "20190502T20:03:32Z",
    "status": "failure",
    "resident_on": "OpaqueRef:f1612a5b-2180-47fd-93b9-23ffe74072c5",
    "progress": 1,
    "type": "<none/>",
    "result": "",
    "error_info": [
      "IMPORT_ERROR",
      "INTERNAL_ERROR: [ Unix.Unix_error(Unix.ECONNRESET, \"read\", \"\") ]"
    ],
    "other_config": {
      "object_creation": "complete"
    },
    "subtask_of": "OpaqueRef:NULL",
    "subtasks": [],
    "backtrace": "(((process\"xapi @ xcpngdesktop\")(filename lib/backtrace.ml)(line 210))((process\"xapi @ xcpngdesktop\")(filename ocaml/xapi/import.ml)(line 1549))((process\"xapi @ xcpngdesktop\")(filename ocaml/xapi/server_helpers.ml)(line 80)))"
  },
  "pool_master": {
    "uuid": "2aeb71ed-3554-42a7-9627-e702be097504",
    "name_label": "xcpngdesktop",
    "name_description": "Default install",
    "memory_overhead": 955224064,
    "allowed_operations": [
      "vm_migrate",
      "provision",
      "vm_resume",
      "evacuate",
      "vm_start"
    ],
    "current_operations": {},
    "API_version_major": 2,
    "API_version_minor": 11,
    "API_version_vendor": "XenSource",
    "API_version_vendor_implementation": {},
    "enabled": true,
    "software_version": {
      "product_version": "7.6.0",
      "product_version_text": "7.6",
      "product_version_text_short": "7.6",
      "platform_name": "XCP",
      "platform_version": "2.7.0",
      "product_brand": "XCP-ng",
      "build_number": "release/lima/master/8",
      "hostname": "localhost",
      "date": "2018-09-14",
      "dbv": "0.0.1",
      "xapi": "1.20",
      "xen": "4.7.6-6.2.1.xcp",
      "linux": "4.4.0+10",
      "xencenter_min": "2.11",
      "xencenter_max": "2.11",
      "network_backend": "openvswitch",
      "db_schema": "5.203"
    },
    "other_config": {
      "agent_start_time": "1556524257.",
      "boot_time": "1556524199.",
      "iscsi_iqn": "iqn.2019-04.com.example:2efd081e"
    },
    "capabilities": [
      "xen-3.0-x86_64",
      "xen-3.0-x86_32p",
      "hvm-3.0-x86_32",
      "hvm-3.0-x86_32p",
      "hvm-3.0-x86_64",
      ""
    ],
    "cpu_configuration": {},
    "sched_policy": "credit",
    "supported_bootloaders": [
      "pygrub",
      "eliloader"
    ],
    "resident_VMs": [
      "OpaqueRef:88df9700-bdc7-4246-b07c-7f751195e450",
      "OpaqueRef:cae70af5-2f7d-49a6-8bba-203a7289585a"
    ],
    "logging": {},
    "PIFs": [
      "OpaqueRef:a2b68d56-f8d5-4473-a2e9-9befcbfa7fe8"
    ],
    "suspend_image_sr": "OpaqueRef:10647018-dd93-49bf-8c93-dae93bce3b90",
    "crash_dump_sr": "OpaqueRef:10647018-dd93-49bf-8c93-dae93bce3b90",
    "crashdumps": [
      "OpaqueRef:40463194-f7a1-4a27-b1ec-dee6c1c1a77e"
    ],
    "patches": [],
    "updates": [],
    "PBDs": [
      "OpaqueRef:7864caa9-9491-498b-bcaf-6530c2708d37",
      "OpaqueRef:72355248-3906-4df6-92d0-a0b2621c4150",
      "OpaqueRef:6370bd0d-bf18-464a-9c98-a6b14270a7d3",
      "OpaqueRef:5ed02139-920c-40ab-86b4-18d37f7520f3",
      "OpaqueRef:5a57f711-0007-4813-8350-dfeac039f876",
      "OpaqueRef:1f7e915e-281c-4240-bf75-ba7c0b89a14d"
    ],
    "host_CPUs": [
      "OpaqueRef:c2e10fce-bcb8-40cb-8ec1-f88c02c0eb4a",
      "OpaqueRef:0daf2b0b-f13a-4e53-bc4f-4d8fe32ad03a",
      "OpaqueRef:dc0a567e-7871-43bb-a3bb-d2f235567e83",
      "OpaqueRef:0aea6172-6fff-4331-9cbc-885bb176d9f5"
    ],
    "cpu_info": {
      "cpu_count": "4",
      "socket_count": "1",
      "vendor": "AuthenticAMD",
      "speed": "3493.526",
      "modelname": "AMD A10-9700 RADEON R7, 10 COMPUTE CORES 4C+6G",
      "family": "21",
      "model": "101",
      "stepping": "1",
      "flags": "fpu de tsc msr pae mce cx8 apic mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm constant_tsc rep_good nopl nonstop_tsc extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy abm sse4a misalignsse 3dnowprefetch xop fma4 tbm bpext arat vmmcall fsgsbase bmi1 avx2 bmi2 xsaveopt",
      "features": "fed8320b-178bfbff-2fabbfff-2fd3fbff",
      "features_pv": "1789c3f5-f6f83203-23d1cbf5-042109e3-00000001-00000129-00000000-00000000-00000000-00000000",
      "features_hvm": "178bfbff-f6f83203-2fd3fbff-04218df7-00000001-000001a9-00000000-00000000-00000000-00000000"
    },
    "hostname": "xcpngdesktop",
    "address": "10.4.3.101",
    "metrics": "OpaqueRef:4aaebbf7-1512-4438-b065-343c68c23acc",
    "license_params": {
      "restrict_vswitch_controller": "false",
      "restrict_lab": "false",
      "restrict_stage": "false",
      "restrict_storagelink": "false",
      "restrict_storagelink_site_recovery": "false",
      "restrict_web_selfservice": "false",
      "restrict_web_selfservice_manager": "false",
      "restrict_hotfix_apply": "false",
      "restrict_export_resource_data": "false",
      "restrict_read_caching": "false",
      "restrict_cifs": "false",
      "restrict_health_check": "false",
      "restrict_xcm": "false",
      "restrict_vm_memory_introspection": "false",
      "restrict_batch_hotfix_apply": "false",
      "restrict_management_on_vlan": "false",
      "restrict_ws_proxy": "false",
      "restrict_vlan": "false",
      "restrict_qos": "false",
      "restrict_pool_attached_storage": "false",
      "restrict_netapp": "false",
      "restrict_equalogic": "false",
      "restrict_pooling": "false",
      "enable_xha": "true",
      "restrict_marathon": "false",
      "restrict_email_alerting": "false",
      "restrict_historical_performance": "false",
      "restrict_wlb": "false",
      "restrict_rbac": "false",
      "restrict_dmc": "false",
      "restrict_checkpoint": "false",
      "restrict_cpu_masking": "false",
      "restrict_connection": "false",
      "platform_filter": "false",
      "regular_nag_dialog": "false",
      "restrict_vmpr": "false",
      "restrict_vmss": "false",
      "restrict_intellicache": "false",
      "restrict_gpu": "false",
      "restrict_dr": "false",
      "restrict_vif_locking": "false",
      "restrict_storage_xen_motion": "false",
      "restrict_vgpu": "false",
      "restrict_integrated_gpu_passthrough": "false",
      "restrict_vss": "false",
      "restrict_guest_agent_auto_update": "false",
      "restrict_pci_device_for_auto_update": "false",
      "restrict_xen_motion": "false",
      "restrict_guest_ip_setting": "false",
      "restrict_ad": "false",
      "restrict_ssl_legacy_switch": "false",
      "restrict_nested_virt": "false",
      "restrict_live_patching": "false",
      "restrict_set_vcpus_number_live": "false",
      "restrict_pvs_proxy": "false",
      "restrict_igmp_snooping": "false",
      "restrict_rpu": "false",
      "restrict_pool_size": "false",
      "restrict_cbt": "false",
      "restrict_usb_passthrough": "false",
      "restrict_network_sriov": "false",
      "restrict_corosync": "true"
    },
    "ha_statefiles": [],
    "ha_network_peers": [],
    "blobs": {},
    "tags": [],
    "external_auth_type": "",
    "external_auth_service_name": "",
    "external_auth_configuration": {},
    "edition": "xcp-ng",
    "license_server": {
      "address": "localhost",
      "port": "27000"
    },
    "bios_strings": {
      "bios-vendor": "American Megatrends Inc.",
      "bios-version": "F22",
      "system-manufacturer": "Gigabyte Technology Co., Ltd.",
      "system-product-name": "AB350M-DS3H",
      "system-version": "Default string",
      "system-serial-number": "Default string",
      "oem-1": "Xen",
      "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d",
      "oem-3": "Default string",
      "hp-rombios": ""
    },
    "power_on_mode": "",
    "power_on_config": {},
    "local_cache_sr": "OpaqueRef:NULL",
    "chipset_info": {
      "iommu": "true"
    },
    "PCIs": [
      "OpaqueRef:ffafedc4-fe52-4fb5-83c5-9b4ad67e8ff9",
      "OpaqueRef:de2b6f70-4593-4295-8308-600ced7a2817",
      "OpaqueRef:d706e9d3-3c6d-438e-886b-7b2883d1b403",
      "OpaqueRef:9dddab59-7f17-4fcd-a0cd-c9492b5cd541",
      "OpaqueRef:958043d9-5e3a-493e-9e35-74ad0c056934",
      "OpaqueRef:7f3357dc-6a1f-46d5-9ff5-a6c3e10e5655",
      "OpaqueRef:6b629d14-b01b-4d94-9091-95bae8e2b194"
    ],
    "PGPUs": [
      "OpaqueRef:25867081-5be8-4b70-8a82-643799df4b8f"
    ],
    "PUSBs": [],
    "ssl_legacy": true,
    "guest_VCPUs_params": {},
    "display": "enabled",
    "virtual_hardware_platform_versions": [
      0,
      1,
      2
    ],
    "control_domain": "OpaqueRef:cae70af5-2f7d-49a6-8bba-203a7289585a",
    "updates_requiring_reboot": [],
    "features": [],
    "iscsi_iqn": "iqn.2019-04.com.example:2efd081e",
    "multipathing": false
  },
  "SR": {
    "uuid": "95347350-5cef-050d-97a0-b24404b063a5",
    "name_label": "Local storage",
    "name_description": "",
    "allowed_operations": [
      "vdi_enable_cbt",
      "vdi_list_changed_blocks",
      "unplug",
      "plug",
      "pbd_create",
      "vdi_disable_cbt",
      "update",
      "pbd_destroy",
      "vdi_resize",
      "vdi_clone",
      "vdi_data_destroy",
      "scan",
      "vdi_snapshot",
      "vdi_mirror",
      "vdi_create",
      "vdi_destroy",
      "vdi_set_on_boot"
    ],
    "current_operations": {},
    "VDIs": [
      "OpaqueRef:30e90e9b-a01a-455d-8062-d765254f1aff"
    ],
    "PBDs": [
      "OpaqueRef:5a57f711-0007-4813-8350-dfeac039f876"
    ],
    "virtual_allocation": 10737418240,
    "physical_utilisation": 10770972672,
    "physical_size": 455534968832,
    "type": "lvm",
    "content_type": "user",
    "shared": false,
    "other_config": {
      "i18n-original-value-name_label": "Local storage",
      "i18n-key": "local-storage"
    },
    "tags": [],
    "sm_config": {
      "allocation": "thick",
      "use_vhd": "true",
      "devserial": "scsi-35000c500a382f4da"
    },
    "blobs": {},
    "local_cache_enabled": false,
    "introduced_by": "OpaqueRef:NULL",
    "clustered": false,
    "is_tools_sr": false
  },
  "message": "IMPORT_ERROR(INTERNAL_ERROR: [ Unix.Unix_error(Unix.ECONNRESET, \"read\", \"\") ])",
  "name": "XapiError",
  "stack": "XapiError: IMPORT_ERROR(INTERNAL_ERROR: [ Unix.Unix_error(Unix.ECONNRESET, \"read\", \"\") ])\n    at Function.wrap (/root/Downloads/xen-orchestra/packages/xen-api/src/_XapiError.js:16:11)\n    at _default (/root/Downloads/xen-orchestra/packages/xen-api/src/_getTaskResult.js:11:28)\n    at Xapi._addRecordToCache (/root/Downloads/xen-orchestra/packages/xen-api/src/index.js:795:37)\n    at events.forEach.event (/root/Downloads/xen-orchestra/packages/xen-api/src/index.js:816:13)\n    at Array.forEach (<anonymous>)\n    at Xapi._processEvents (/root/Downloads/xen-orchestra/packages/xen-api/src/index.js:806:11)\n    at /root/Downloads/xen-orchestra/packages/xen-api/src/index.js:960:13\n    at Generator.next (<anonymous>)\n    at asyncGeneratorStep (/root/Downloads/xen-orchestra/packages/xen-api/dist/index.js:58:103)\n    at _next (/root/Downloads/xen-orchestra/packages/xen-api/dist/index.js:60:194)\n    at tryCatcher (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/promise.js:512:31)\n    at Promise._settlePromise (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/promise.js:569:18)\n    at Promise._settlePromise0 (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/promise.js:614:10)\n    at Promise._settlePromises (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/promise.js:694:18)\n    at _drainQueueStep (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/async.js:138:12)\n    at _drainQueue (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/async.js:131:9)\n    at Async._drainQueues (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/async.js:147:5)\n    at Immediate.Async.drainQueues (/root/Downloads/xen-orchestra/node_modules/bluebird/js/release/async.js:17:14)\n    at runCallback (timers.js:810:20)\n    at tryOnImmediate (timers.js:768:5)\n    at processImmediate [as _immediateCallback] (timers.js:745:5)"
}```
bdonnahue commented 5 years ago

Adding some logs from the xcp-ng host

May  2 09:35:35 xcpngdesktop xapi: [debug|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|mscgen] xapi=>xapi [label="session.slave_login"];
May  2 09:35:35 xcpngdesktop xapi: [debug|xcpngdesktop|70258 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.slave_login D:0bcf77a731c3 created by task D:d77915ac9a4f
May  2 09:35:35 xcpngdesktop xapi: [ info|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|import] VM.import: SR = '95347350-5cef-050d-97a0-b24404b063a5 (Local storage)'; force = false; full_restore = false
May  2 09:35:35 xcpngdesktop xapi: [ info|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|taskhelper] task [XO] VM import R:35643063bf2c forwarded (trackid=94aa1c007102ee3a61e007f4fbd9e7f9)
May  2 09:35:35 xcpngdesktop xapi: [debug|xcpngdesktop|70261 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.create D:666145ac5d9c created by task D:d77915ac9a4f
May  2 09:35:35 xcpngdesktop xapi: [ info|xcpngdesktop|70261 UNIX /var/lib/xcp/xapi|dispatch:VDI.create D:666145ac5d9c|taskhelper] task VDI.create R:f5109cc8fc8a (uuid:9fb2ea92-0413-fa73-7d84-de2cdea816ef) created (trackid=197a74199ed4e62e78b956d32f84b4d6) by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [debug|xcpngdesktop|70279 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VM.create D:c4f826bf6b01 created by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [ info|xcpngdesktop|70279 UNIX /var/lib/xcp/xapi|dispatch:VM.create D:c4f826bf6b01|taskhelper] task VM.create R:26c1b59f369b (uuid:1faff972-8113-382d-a5ca-794fa73d4c6c) created (trackid=197a74199ed4e62e78b956d32f84b4d6) by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [debug|xcpngdesktop|70280 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:network.get_by_name_label D:69c9ac7d7122 created by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [debug|xcpngdesktop|70281 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VBD.create D:fed50b66dbb8 created by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [ info|xcpngdesktop|70281 UNIX /var/lib/xcp/xapi|dispatch:VBD.create D:fed50b66dbb8|taskhelper] task VBD.create R:236b54fdb716 (uuid:93ca8121-522b-dd3e-2142-4698a33bbd21) created (trackid=197a74199ed4e62e78b956d32f84b4d6) by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [debug|xcpngdesktop|70282 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VBD.create D:6dbf5b11a657 created by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [ info|xcpngdesktop|70282 UNIX /var/lib/xcp/xapi|dispatch:VBD.create D:6dbf5b11a657|taskhelper] task VBD.create R:34072dbff8e8 (uuid:f48e6973-9fe8-5ca0-6ea6-78ed5bf01917) created (trackid=197a74199ed4e62e78b956d32f84b4d6) by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [debug|xcpngdesktop|70283 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VIF.create D:2ac46c8f693d created by task D:d77915ac9a4f
May  2 09:35:39 xcpngdesktop xapi: [ info|xcpngdesktop|70283 UNIX /var/lib/xcp/xapi|dispatch:VIF.create D:2ac46c8f693d|taskhelper] task VIF.create R:51fce47d4618 (uuid:ab55f6d4-94e4-e6dc-5218-e0021f1c3fc7) created (trackid=197a74199ed4e62e78b956d32f84b4d6) by task D:d77915ac9a4f
May  2 09:35:40 xcpngdesktop xapi: [debug|xcpngdesktop|70285 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VBD.create D:840558d19b83 created by task D:d77915ac9a4f
May  2 09:35:40 xcpngdesktop xapi: [ info|xcpngdesktop|70285 UNIX /var/lib/xcp/xapi|dispatch:VBD.create D:840558d19b83|taskhelper] task VBD.create R:bfb0246d6ed4 (uuid:8d82011a-6d16-62b8-6602-7f71656d996a) created (trackid=197a74199ed4e62e78b956d32f84b4d6) by task D:d77915ac9a4f
May  2 09:35:40 xcpngdesktop xapi: [debug|xcpngdesktop|70286 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VBD.get_uuid D:c924d34ef5f6 created by task D:d77915ac9a4f
May  2 09:35:40 xcpngdesktop xapi: [debug|xcpngdesktop|70287 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VM.get_uuid D:0eb848989e21 created by task D:d77915ac9a4f
May  2 09:35:40 xcpngdesktop xapi: [debug|xcpngdesktop|70288 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VBD.plug D:02fa811efe17 created by task D:d77915ac9a4f
May  2 09:35:40 xcpngdesktop xapi: [ info|xcpngdesktop|70288 UNIX /var/lib/xcp/xapi|dispatch:VBD.plug D:02fa811efe17|taskhelper] task VBD.plug R:94368ee5f625 (uuid:8ed667e8-8dda-f804-8c43-18006a93a6be) created (trackid=197a74199ed4e62e78b956d32f84b4d6) by task D:d77915ac9a4f
May  2 09:36:05 xcpngdesktop xapi: [debug|xcpngdesktop|70370 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:d5f58a4cbc56 created by task D:d77915ac9a4f
May  2 09:36:05 xcpngdesktop xapi: [debug|xcpngdesktop|70371 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:af1caaae76f3 created by task D:d77915ac9a4f
May  2 09:36:35 xcpngdesktop xapi: [debug|xcpngdesktop|70378 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:a73ece3dd88e created by task D:d77915ac9a4f
May  2 09:36:35 xcpngdesktop xapi: [debug|xcpngdesktop|70379 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:be9a4462b7ba created by task D:d77915ac9a4f
May  2 09:37:05 xcpngdesktop xapi: [debug|xcpngdesktop|70391 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:8f0adc2a3642 created by task D:d77915ac9a4f
May  2 09:37:05 xcpngdesktop xapi: [debug|xcpngdesktop|70392 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:74eada4cff82 created by task D:d77915ac9a4f
May  2 09:37:35 xcpngdesktop xapi: [debug|xcpngdesktop|70400 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:43794e55eb88 created by task D:d77915ac9a4f
May  2 09:37:35 xcpngdesktop xapi: [debug|xcpngdesktop|70401 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:6e13993534f0 created by task D:d77915ac9a4f
May  2 09:38:05 xcpngdesktop xapi: [debug|xcpngdesktop|70407 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:dcb8bf71e8ac created by task D:d77915ac9a4f
May  2 09:38:06 xcpngdesktop xapi: [debug|xcpngdesktop|70408 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:3392a94a25e0 created by task D:d77915ac9a4f
May  2 09:38:35 xcpngdesktop xapi: [debug|xcpngdesktop|70415 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:f11a45c6f0e9 created by task D:d77915ac9a4f
May  2 09:38:36 xcpngdesktop xapi: [debug|xcpngdesktop|70416 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:505e1c066c09 created by task D:d77915ac9a4f
May  2 09:39:05 xcpngdesktop xapi: [debug|xcpngdesktop|70429 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:e5a2c199bc0c created by task D:d77915ac9a4f
May  2 09:39:06 xcpngdesktop xapi: [debug|xcpngdesktop|70430 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid D:7426f7b82f99 created by task D:d77915ac9a4f
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] [XO] VM import R:35643063bf2c failed with exception Server_error(IMPORT_ERROR, [ INTERNAL_ERROR: [ Unix.Unix_error(Unix.ECONNRESET, "read", "") ] ])
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] Raised Server_error(IMPORT_ERROR, [ INTERNAL_ERROR: [ Unix.Unix_error(Unix.ECONNRESET, "read", "") ] ])
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] 1/7 xapi @ xcpngdesktop Raised at file lib/backtrace.ml, line 210
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] 2/7 xapi @ xcpngdesktop Called from file ocaml/xapi/import.ml, line 1549
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] 3/7 xapi @ xcpngdesktop Called from file ocaml/xapi/server_helpers.ml, line 80
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] 4/7 xapi @ xcpngdesktop Called from file ocaml/xapi/server_helpers.ml, line 99
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] 5/7 xapi @ xcpngdesktop Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] 6/7 xapi @ xcpngdesktop Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace] 7/7 xapi @ xcpngdesktop Called from file lib/backtrace.ml, line 177
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|backtrace]
May  2 11:50:57 xcpngdesktop xapi: [debug|xcpngdesktop|70257 INET :::80|VM.import D:d77915ac9a4f|mscgen] xapi=>xapi [label="session.logout"];
May  2 11:50:57 xcpngdesktop xapi: [debug|xcpngdesktop|74466 UNIX /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.logout D:4ae5290efbf5 created by task D:d77915ac9a4f
May  2 11:50:57 xcpngdesktop xapi: [error|xcpngdesktop|70257 INET :::80||backtrace] VM.import D:d77915ac9a4f failed with exception Server_error(IMPORT_ERROR, [ INTERNAL_ERROR: [ Unix.Unix_error(Unix.ECONNRESET, "read", "") ] ])
olivierlambert commented 5 years ago

This is an issue related to your host and not Xen Orchestra. If it's XCP-ng, feel free to check your XAPI logs. If you have XCP-ng pro support, I strongly suggest to create a support ticket there. Alternatively, you can try on XCP-ng Forum!