vatesfr / xen-orchestra

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

Error on vm.copy #4311

Closed sawyernetworks closed 1 year ago

sawyernetworks commented 5 years ago

I'm attempting to copy/move a 1.8TB VM from local storage to my 7TB iSCSI NAS SR.

vm.copy
{
  "vm": "d61823bd-e904-1e3c-be67-c7a400f36252",
  "sr": "5203feac-0248-137e-b855-2e3af04e9836",
  "name": "Dataserver1 NAS1",
  "compress": false,
  "id": "d61823bd-e904-1e3c-be67-c7a400f36252"
}
{
  "message": "VDI_COPY_FAILED(End_of_file)",
  "stack": "XapiError: VDI_COPY_FAILED(End_of_file)
    at wrapError (/opt/xen-orchestra/packages/xen-api/src/index.js:112:9)
    at _call.catch.error (/opt/xen-orchestra/packages/xen-api/src/index.js:1038:18)
    at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
    at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
    at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)",
  "code": "VDI_COPY_FAILED",
  "params": [
    "End_of_file"
  ],
  "method": "VM.copy"
}
julien-f commented 5 years ago

This appears to be a XenServer issue more than an XO issue.

What version of XenServer/XCP-ng are you using?

sawyernetworks commented 5 years ago

I'm using XenServer 7.4. I can copy other smaller VMs with no problem. I though it might be a size limitation issue.

sawyernetworks commented 5 years ago

I just tried it again, same error

vm.copy
{
  "vm": "d61823bd-e904-1e3c-be67-c7a400f36252",
  "sr": "5203feac-0248-137e-b855-2e3af04e9836",
  "name": "Dataserver1 Copy",
  "compress": false,
  "id": "d61823bd-e904-1e3c-be67-c7a400f36252"
}
{
  "message": "VDI_COPY_FAILED(End_of_file)",
  "stack": "XapiError: VDI_COPY_FAILED(End_of_file)
    at wrapError (/opt/xen-orchestra/packages/xen-api/src/index.js:112:9)
    at _call.catch.error (/opt/xen-orchestra/packages/xen-api/src/index.js:1038:18)
    at run (/opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:75:22)
    at /opt/xen-orchestra/node_modules/core-js/modules/es6.promise.js:92:30
    at flush (/opt/xen-orchestra/node_modules/core-js/modules/_microtask.js:18:9)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)",
  "code": "VDI_COPY_FAILED",
  "params": [
    "End_of_file"
  ],
  "method": "VM.copy"
} 
julien-f commented 5 years ago

That may be, but Xen Orchestra has nothing to do in the copy, it simply gives the order to XenServer to do it but does nothing by itself.

sawyernetworks commented 5 years ago

So I tried Backup NG replicating another 3TB VM to my 7TB iSCSI NAS. It runs for about an hour and fails. This is strange because all the VMs were originally on the NAS and I copied them to the XenServer via XO for better drive performance.

{
  "data": {
    "mode": "delta",
    "reportWhen": "failure"
  },
  "id": "1561618800011",
  "jobId": "623e5071-1d13-463f-abef-083113e2ba54",
  "scheduleId": "0c782ea8-1084-4505-92e2-38eca46e76bd",
  "start": 1561618800011,
  "status": "failure",
  "tasks": [
    {
      "data": {
        "type": "VM",
        "id": "233061ea-8639-1dd0-a3c2-367c07bfc961"
      },
      "id": "1561618800011:0",
      "message": "Starting backup of MSIDC18-2. (623e5071-1d13-463f-abef-083113e2ba54)",
      "start": 1561618800011,
      "status": "failure",
      "tasks": [
        {
          "id": "1561618800012",
          "message": "snapshot",
          "start": 1561618800012,
          "status": "success",
          "end": 1561618810448,
          "result": "b1606a50-abea-7c1e-3946-3fbe8965612d"
        },
        {
          "id": "1561618810449",
          "message": "add metadata to snapshot",
          "start": 1561618810449,
          "status": "success",
          "end": 1561618810466
        },
        {
          "id": "1561618810466:0",
          "message": "waiting for uptodate snapshot record",
          "start": 1561618810466,
          "status": "success",
          "end": 1561618810656
        },
        {
          "id": "1561618810657",
          "message": "start snapshot export",
          "start": 1561618810657,
          "status": "success",
          "end": 1561618810657
        },
        {
          "data": {
            "id": "5203feac-0248-137e-b855-2e3af04e9836",
            "isFull": true,
            "type": "SR"
          },
          "id": "1561618810657:1",
          "message": "export",
          "start": 1561618810657,
          "status": "failure",
          "tasks": [
            {
              "id": "1561618810665",
              "message": "transfer",
              "start": 1561618810665,
              "status": "failure",
              "end": 1561623736227,
              "result": {
                "0": {
                  "code": "ECONNRESET",
                  "errno": "ECONNRESET",
                  "syscall": "read",
                  "url": "https://192.168.0.10/import_raw_vdi/?format=vhd&vdi=OpaqueRef%3A1f468f37-b836-4aaa-aef1-386282a75934&session_id=OpaqueRef%3Ac42c8584-16f0-4a12-9059-9f5b0221fd4f&task_id=OpaqueRef%3A6eb5fed2-17a3-4cd3-914b-b4ea2db5f06d"
                },
                "event": "error",
                "host": {
                  "uuid": "516510bc-f198-4e12-a519-7e21bf0c4f49",
                  "name_label": "xenserver-MSI1",
                  "name_description": "Default install",
                  "memory_overhead": 871182336,
                  "allowed_operations": [
                    "vm_migrate",
                    "provision",
                    "vm_resume",
                    "evacuate",
                    "vm_start"
                  ],
                  "current_operations": {},
                  "API_version_major": 2,
                  "API_version_minor": 9,
                  "API_version_vendor": "XenSource",
                  "API_version_vendor_implementation": {},
                  "enabled": true,
                  "software_version": {
                    "product_version": "7.4.0",
                    "product_version_text": "7.4",
                    "product_version_text_short": "7.4",
                    "platform_name": "XCP",
                    "platform_version": "2.5.0",
                    "product_brand": "XenServer",
                    "build_number": "release/jura/master/100",
                    "hostname": "localhost",
                    "date": "2018-02-19",
                    "dbv": "2018.0223",
                    "xapi": "1.20",
                    "xen": "4.7.4-4.1",
                    "linux": "4.4.0+10",
                    "xencenter_min": "2.9",
                    "xencenter_max": "2.9",
                    "network_backend": "openvswitch",
                    "db_schema": "5.134"
                  },
                  "other_config": {
                    "agent_start_time": "1561590904.",
                    "boot_time": "1560292757.",
                    "last_blob_sync_time": "1561590716.63",
                    "iscsi_iqn": "iqn.2019-06.com.example:d1b29e5f"
                  },
                  "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:e29895b1-3b61-4187-a225-095903f6abae"
                  ],
                  "logging": {},
                  "PIFs": [
                    "OpaqueRef:9ecf9774-6c45-47a0-befd-5a66b3541dd1",
                    "OpaqueRef:82679851-a541-40ca-883a-384b95085155"
                  ],
                  "suspend_image_sr": "OpaqueRef:63317c37-1c37-4b0b-b292-d300f63e0115",
                  "crash_dump_sr": "OpaqueRef:63317c37-1c37-4b0b-b292-d300f63e0115",
                  "crashdumps": [],
                  "patches": [
                    "OpaqueRef:16e0636a-9b5f-42ee-86a6-ac03fcc470e8"
                  ],
                  "updates": [
                    "OpaqueRef:497d2053-a371-469b-8b31-1744b42b6762"
                  ],
                  "PBDs": [
                    "OpaqueRef:f257dc10-d44a-4daa-be1d-e68ded64530d",
                    "OpaqueRef:98f6f962-2c19-489c-923a-a8136e19b2bb",
                    "OpaqueRef:3ff56658-b222-459f-8395-78b2bc3fbbe0",
                    "OpaqueRef:23ffbb59-de1c-44cd-9c28-4f1246932832",
                    "OpaqueRef:22e858dd-08d1-49be-831c-f81ab06f16a2"
                  ],
                  "host_CPUs": [
                    "OpaqueRef:fb210065-2fa8-4246-b3ed-c0dc63e795ea",
                    "OpaqueRef:4c03886e-a5fe-4faf-b2e1-0858a8ba39d0",
                    "OpaqueRef:7953ff64-a617-4f70-87b9-11638eadf720",
                    "OpaqueRef:491a65a0-d0ab-4817-a892-45fbd50dac7e",
                    "OpaqueRef:b57e5158-a7b8-41ec-896f-c59aee26f263",
                    "OpaqueRef:5468d6fb-a1f9-4345-8059-491ba19ada3c",
                    "OpaqueRef:e7551c39-f9e2-4ace-9ed1-84f5b8bafb4b",
                    "OpaqueRef:427fd961-c2a2-462c-8025-10406dd4fe17",
                    "OpaqueRef:b701444b-7ba6-4977-b5cc-e584d37fcd18",
                    "OpaqueRef:c60c355c-28f7-480e-9202-a8a228da7c2a",
                    "OpaqueRef:f3feb3a6-cc22-4a80-87f1-e8d71c5a1843",
                    "OpaqueRef:ba948c63-dcba-4918-b7a2-8502393f4910"
                  ],
                  "cpu_info": {
                    "cpu_count": "12",
                    "socket_count": "1",
                    "vendor": "GenuineIntel",
                    "speed": "2200.070",
                    "modelname": "Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz",
                    "family": "6",
                    "model": "45",
                    "stepping": "7",
                    "flags": "fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush acpi mmx fxsr sse sse2 ht syscall nx lm constant_tsc arch_perfmon rep_good nopl nonstop_tsc eagerfpu pni pclmulqdq monitor est ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx hypervisor lahf_lm ida arat pln pts dtherm xsaveopt",
                    "features": "1fbee3ff-bfebfbff-00000001-2c100800",
                    "features_pv": "17c9cbf5-96b82203-2191cbf5-00000003-00000001-00000000-00000000-00000000-00000000-00000000",
                    "features_hvm": "17cbfbff-97ba2223-2d93fbff-00000003-00000001-00000000-00000000-00000000-00000000-00000000"
                  },
                  "hostname": "xenserver-MSI1",
                  "address": "192.168.0.10",
                  "metrics": "OpaqueRef:e65c90e0-df29-4873-a555-3e965d32ad3f",
                  "license_params": {
                    "sku_type": "free",
                    "version": "",
                    "serialnumber": "",
                    "sockets": "1",
                    "productcode": "",
                    "expiry": "20300101T08:00:00Z",
                    "grace": "no",
                    "license_type": "",
                    "name": "",
                    "company": "",
                    "address1": "",
                    "address2": "",
                    "city": "",
                    "state": "",
                    "postalcode": "",
                    "country": "",
                    "sku_marketing_name": "Citrix XenServer",
                    "restrict_vswitch_controller": "false",
                    "restrict_lab": "false",
                    "restrict_stage": "false",
                    "restrict_storagelink": "false",
                    "restrict_storagelink_site_recovery": "false",
                    "restrict_web_selfservice": "true",
                    "restrict_web_selfservice_manager": "true",
                    "restrict_hotfix_apply": "false",
                    "restrict_export_resource_data": "true",
                    "restrict_read_caching": "true",
                    "restrict_cifs": "true",
                    "restrict_health_check": "false",
                    "restrict_xcm": "true",
                    "restrict_vm_memory_introspection": "true",
                    "restrict_batch_hotfix_apply": "true",
                    "restrict_management_on_vlan": "false",
                    "restrict_ws_proxy": "false",
                    "restrict_vgpu_migration": "false",
                    "restrict_vlan": "false",
                    "restrict_qos": "false",
                    "restrict_pool_attached_storage": "false",
                    "restrict_netapp": "false",
                    "restrict_equalogic": "false",
                    "restrict_pooling": "false",
                    "enable_xha": "false",
                    "restrict_marathon": "false",
                    "restrict_email_alerting": "false",
                    "restrict_historical_performance": "false",
                    "restrict_wlb": "true",
                    "restrict_rbac": "true",
                    "restrict_dmc": "true",
                    "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": "true",
                    "restrict_dr": "true",
                    "restrict_vif_locking": "false",
                    "restrict_storage_xen_motion": "true",
                    "restrict_vgpu": "true",
                    "restrict_integrated_gpu_passthrough": "false",
                    "restrict_vss": "false",
                    "restrict_guest_agent_auto_update": "true",
                    "restrict_pci_device_for_auto_update": "true",
                    "restrict_xen_motion": "false",
                    "restrict_guest_ip_setting": "false",
                    "restrict_ad": "true",
                    "restrict_ssl_legacy_switch": "false",
                    "restrict_nested_virt": "true",
                    "restrict_live_patching": "true",
                    "restrict_set_vcpus_number_live": "true",
                    "restrict_pvs_proxy": "true",
                    "restrict_igmp_snooping": "true",
                    "restrict_rpu": "true",
                    "restrict_pool_size": "true",
                    "restrict_cbt": "true",
                    "restrict_usb_passthrough": "true"
                  },
                  "ha_statefiles": [],
                  "ha_network_peers": [],
                  "blobs": {},
                  "tags": [],
                  "external_auth_type": "",
                  "external_auth_service_name": "",
                  "external_auth_configuration": {},
                  "edition": "free",
                  "license_server": {
                    "address": "localhost",
                    "port": "27000"
                  },
                  "bios_strings": {
                    "bios-vendor": "Dell Inc.",
                    "bios-version": "2.4.2",
                    "system-manufacturer": "Dell Inc.",
                    "system-product-name": "PowerEdge T320",
                    "system-version": "",
                    "system-serial-number": "2FKP9Z1",
                    "oem-1": "Xen",
                    "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d",
                    "oem-3": "Dell System",
                    "oem-4": "5[0000]",
                    "oem-5": "17[FFFFFFFFFFFFFFFF]",
                    "oem-6": "17[FFFFFFFFFFFFFFFF]",
                    "oem-7": "17[FFFFFFFFFFFFFFFF]",
                    "oem-8": "17[FFFFFFFFFFFFFFFF]",
                    "hp-rombios": ""
                  },
                  "power_on_mode": "",
                  "power_on_config": {},
                  "local_cache_sr": "OpaqueRef:NULL",
                  "chipset_info": {
                    "iommu": "true"
                  },
                  "PCIs": [
                    "OpaqueRef:fcd2ca1b-0c37-47bd-a0e6-423685d61d14",
                    "OpaqueRef:f58fa241-393c-494a-9326-fb4f615bb0e6",
                    "OpaqueRef:f232e286-be5d-4575-bd55-a841272cafda",
                    "OpaqueRef:8f550283-1730-48e6-a493-44423af78038",
                    "OpaqueRef:50ada7a6-605b-4ab9-ba0b-538d81d8a774",
                    "OpaqueRef:323a4e90-4e02-46b3-89c3-3d34798296d8"
                  ],
                  "PGPUs": [
                    "OpaqueRef:e8bf49ad-5c2c-4495-a523-783d5f79a3a4"
                  ],
                  "PUSBs": [],
                  "ssl_legacy": true,
                  "guest_VCPUs_params": {},
                  "display": "enabled",
                  "virtual_hardware_platform_versions": [
                    0,
                    1,
                    2
                  ],
                  "control_domain": "OpaqueRef:e29895b1-3b61-4187-a225-095903f6abae",
                  "updates_requiring_reboot": [],
                  "features": [
                    "OpaqueRef:8aeab0fe-da5b-4f69-bb8f-190f5e44c248"
                  ]
                },
                "SR": {
                  "uuid": "5203feac-0248-137e-b855-2e3af04e9836",
                  "name_label": "NAS",
                  "name_description": "iSCSI SR [192.168.0.206 (iqn.2005-10.org.freenas.ctl:msiiscsitarget; LUN 0: a4bf012bc08900: 7 TiB (FreeNAS))]",
                  "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:f70c5bc6-af3f-42fb-8e64-bee8469d46bf",
                    "OpaqueRef:1f468f37-b836-4aaa-aef1-386282a75934",
                    "OpaqueRef:fb016531-3caf-4491-b491-49086bbfabe0",
                    "OpaqueRef:5d039857-39b8-492d-86fc-51613656fa2c"
                  ],
                  "PBDs": [
                    "OpaqueRef:f257dc10-d44a-4daa-be1d-e68ded64530d",
                    "OpaqueRef:2704bd05-b3eb-445a-8762-272efb7dd9f3"
                  ],
                  "virtual_allocation": 3332894621696,
                  "physical_utilisation": 3339441930240,
                  "physical_size": 7696568811520,
                  "type": "lvmoiscsi",
                  "content_type": "",
                  "shared": true,
                  "other_config": {},
                  "tags": [],
                  "sm_config": {
                    "allocation": "thick",
                    "use_vhd": "true",
                    "multipathable": "true",
                    "devserial": "scsi-36589cfc00000098d0a684ae058898f84"
                  },
                  "blobs": {},
                  "local_cache_enabled": false,
                  "introduced_by": "OpaqueRef:NULL",
                  "clustered": false,
                  "is_tools_sr": false
                },
                "VDI": {
                  "uuid": "274a8b0c-12ae-4101-95ef-756a019ce7cf",
                  "name_label": "Virtual Disk",
                  "name_description": "Created by XenCenter Disk Image Import",
                  "allowed_operations": [
                    "generate_config",
                    "force_unlock",
                    "update",
                    "forget",
                    "destroy",
                    "snapshot",
                    "resize",
                    "copy",
                    "clone"
                  ],
                  "current_operations": {},
                  "SR": "OpaqueRef:beaee033-10ff-46aa-aee1-26d365528a7e",
                  "VBDs": [],
                  "crash_dumps": [],
                  "virtual_size": 2190433320960,
                  "physical_utilisation": 2194719899648,
                  "type": "user",
                  "sharable": false,
                  "read_only": false,
                  "other_config": {},
                  "storage_lock": false,
                  "location": "274a8b0c-12ae-4101-95ef-756a019ce7cf",
                  "managed": true,
                  "missing": false,
                  "parent": "OpaqueRef:NULL",
                  "xenstore_data": {},
                  "sm_config": {
                    "import_task": "OpaqueRef:0e21d807-4d19-42ed-8d5f-af0273ec401b",
                    "vdi_type": "vhd",
                    "read-caching-reason-05f85b16-794e-4a0a-ab39-7f451952499a": "LICENSE_RESTRICTION",
                    "read-caching-reason-045abb6e-449f-460d-aa3f-582fd9e55bba": "LICENSE_RESTRICTION",
                    "vhd-parent": "616ddab3-6fa9-4e91-9377-b1f8a1576606",
                    "read-caching-enabled-on-045abb6e-449f-460d-aa3f-582fd9e55bba": "false",
                    "read-caching-enabled-on-05f85b16-794e-4a0a-ab39-7f451952499a": "false"
                  },
                  "is_a_snapshot": false,
                  "snapshot_of": "",
                  "snapshots": [],
                  "snapshot_time": "19700101T00:00:00Z",
                  "tags": [],
                  "allow_caching": false,
                  "on_boot": "persist",
                  "metadata_of_pool": "",
                  "metadata_latest": false,
                  "is_tools_iso": false,
                  "cbt_enabled": false
                }
              }
            }
          ],
          "end": 1561623736227,
          "result": {
            "0": {
              "code": "ECONNRESET",
              "errno": "ECONNRESET",
              "syscall": "read",
              "url": "https://192.168.0.10/import_raw_vdi/?format=vhd&vdi=OpaqueRef%3A1f468f37-b836-4aaa-aef1-386282a75934&session_id=OpaqueRef%3Ac42c8584-16f0-4a12-9059-9f5b0221fd4f&task_id=OpaqueRef%3A6eb5fed2-17a3-4cd3-914b-b4ea2db5f06d"
            },
            "event": "error",
            "host": {
              "uuid": "516510bc-f198-4e12-a519-7e21bf0c4f49",
              "name_label": "xenserver-MSI1",
              "name_description": "Default install",
              "memory_overhead": 871182336,
              "allowed_operations": [
                "vm_migrate",
                "provision",
                "vm_resume",
                "evacuate",
                "vm_start"
              ],
              "current_operations": {},
              "API_version_major": 2,
              "API_version_minor": 9,
              "API_version_vendor": "XenSource",
              "API_version_vendor_implementation": {},
              "enabled": true,
              "software_version": {
                "product_version": "7.4.0",
                "product_version_text": "7.4",
                "product_version_text_short": "7.4",
                "platform_name": "XCP",
                "platform_version": "2.5.0",
                "product_brand": "XenServer",
                "build_number": "release/jura/master/100",
                "hostname": "localhost",
                "date": "2018-02-19",
                "dbv": "2018.0223",
                "xapi": "1.20",
                "xen": "4.7.4-4.1",
                "linux": "4.4.0+10",
                "xencenter_min": "2.9",
                "xencenter_max": "2.9",
                "network_backend": "openvswitch",
                "db_schema": "5.134"
              },
              "other_config": {
                "agent_start_time": "1561590904.",
                "boot_time": "1560292757.",
                "last_blob_sync_time": "1561590716.63",
                "iscsi_iqn": "iqn.2019-06.com.example:d1b29e5f"
              },
              "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:e29895b1-3b61-4187-a225-095903f6abae"
              ],
              "logging": {},
              "PIFs": [
                "OpaqueRef:9ecf9774-6c45-47a0-befd-5a66b3541dd1",
                "OpaqueRef:82679851-a541-40ca-883a-384b95085155"
              ],
              "suspend_image_sr": "OpaqueRef:63317c37-1c37-4b0b-b292-d300f63e0115",
              "crash_dump_sr": "OpaqueRef:63317c37-1c37-4b0b-b292-d300f63e0115",
              "crashdumps": [],
              "patches": [
                "OpaqueRef:16e0636a-9b5f-42ee-86a6-ac03fcc470e8"
              ],
              "updates": [
                "OpaqueRef:497d2053-a371-469b-8b31-1744b42b6762"
              ],
              "PBDs": [
                "OpaqueRef:f257dc10-d44a-4daa-be1d-e68ded64530d",
                "OpaqueRef:98f6f962-2c19-489c-923a-a8136e19b2bb",
                "OpaqueRef:3ff56658-b222-459f-8395-78b2bc3fbbe0",
                "OpaqueRef:23ffbb59-de1c-44cd-9c28-4f1246932832",
                "OpaqueRef:22e858dd-08d1-49be-831c-f81ab06f16a2"
              ],
              "host_CPUs": [
                "OpaqueRef:fb210065-2fa8-4246-b3ed-c0dc63e795ea",
                "OpaqueRef:4c03886e-a5fe-4faf-b2e1-0858a8ba39d0",
                "OpaqueRef:7953ff64-a617-4f70-87b9-11638eadf720",
                "OpaqueRef:491a65a0-d0ab-4817-a892-45fbd50dac7e",
                "OpaqueRef:b57e5158-a7b8-41ec-896f-c59aee26f263",
                "OpaqueRef:5468d6fb-a1f9-4345-8059-491ba19ada3c",
                "OpaqueRef:e7551c39-f9e2-4ace-9ed1-84f5b8bafb4b",
                "OpaqueRef:427fd961-c2a2-462c-8025-10406dd4fe17",
                "OpaqueRef:b701444b-7ba6-4977-b5cc-e584d37fcd18",
                "OpaqueRef:c60c355c-28f7-480e-9202-a8a228da7c2a",
                "OpaqueRef:f3feb3a6-cc22-4a80-87f1-e8d71c5a1843",
                "OpaqueRef:ba948c63-dcba-4918-b7a2-8502393f4910"
              ],
              "cpu_info": {
                "cpu_count": "12",
                "socket_count": "1",
                "vendor": "GenuineIntel",
                "speed": "2200.070",
                "modelname": "Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz",
                "family": "6",
                "model": "45",
                "stepping": "7",
                "flags": "fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush acpi mmx fxsr sse sse2 ht syscall nx lm constant_tsc arch_perfmon rep_good nopl nonstop_tsc eagerfpu pni pclmulqdq monitor est ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx hypervisor lahf_lm ida arat pln pts dtherm xsaveopt",
                "features": "1fbee3ff-bfebfbff-00000001-2c100800",
                "features_pv": "17c9cbf5-96b82203-2191cbf5-00000003-00000001-00000000-00000000-00000000-00000000-00000000",
                "features_hvm": "17cbfbff-97ba2223-2d93fbff-00000003-00000001-00000000-00000000-00000000-00000000-00000000"
              },
              "hostname": "xenserver-MSI1",
              "address": "192.168.0.10",
              "metrics": "OpaqueRef:e65c90e0-df29-4873-a555-3e965d32ad3f",
              "license_params": {
                "sku_type": "free",
                "version": "",
                "serialnumber": "",
                "sockets": "1",
                "productcode": "",
                "expiry": "20300101T08:00:00Z",
                "grace": "no",
                "license_type": "",
                "name": "",
                "company": "",
                "address1": "",
                "address2": "",
                "city": "",
                "state": "",
                "postalcode": "",
                "country": "",
                "sku_marketing_name": "Citrix XenServer",
                "restrict_vswitch_controller": "false",
                "restrict_lab": "false",
                "restrict_stage": "false",
                "restrict_storagelink": "false",
                "restrict_storagelink_site_recovery": "false",
                "restrict_web_selfservice": "true",
                "restrict_web_selfservice_manager": "true",
                "restrict_hotfix_apply": "false",
                "restrict_export_resource_data": "true",
                "restrict_read_caching": "true",
                "restrict_cifs": "true",
                "restrict_health_check": "false",
                "restrict_xcm": "true",
                "restrict_vm_memory_introspection": "true",
                "restrict_batch_hotfix_apply": "true",
                "restrict_management_on_vlan": "false",
                "restrict_ws_proxy": "false",
                "restrict_vgpu_migration": "false",
                "restrict_vlan": "false",
                "restrict_qos": "false",
                "restrict_pool_attached_storage": "false",
                "restrict_netapp": "false",
                "restrict_equalogic": "false",
                "restrict_pooling": "false",
                "enable_xha": "false",
                "restrict_marathon": "false",
                "restrict_email_alerting": "false",
                "restrict_historical_performance": "false",
                "restrict_wlb": "true",
                "restrict_rbac": "true",
                "restrict_dmc": "true",
                "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": "true",
                "restrict_dr": "true",
                "restrict_vif_locking": "false",
                "restrict_storage_xen_motion": "true",
                "restrict_vgpu": "true",
                "restrict_integrated_gpu_passthrough": "false",
                "restrict_vss": "false",
                "restrict_guest_agent_auto_update": "true",
                "restrict_pci_device_for_auto_update": "true",
                "restrict_xen_motion": "false",
                "restrict_guest_ip_setting": "false",
                "restrict_ad": "true",
                "restrict_ssl_legacy_switch": "false",
                "restrict_nested_virt": "true",
                "restrict_live_patching": "true",
                "restrict_set_vcpus_number_live": "true",
                "restrict_pvs_proxy": "true",
                "restrict_igmp_snooping": "true",
                "restrict_rpu": "true",
                "restrict_pool_size": "true",
                "restrict_cbt": "true",
                "restrict_usb_passthrough": "true"
              },
              "ha_statefiles": [],
              "ha_network_peers": [],
              "blobs": {},
              "tags": [],
              "external_auth_type": "",
              "external_auth_service_name": "",
              "external_auth_configuration": {},
              "edition": "free",
              "license_server": {
                "address": "localhost",
                "port": "27000"
              },
              "bios_strings": {
                "bios-vendor": "Dell Inc.",
                "bios-version": "2.4.2",
                "system-manufacturer": "Dell Inc.",
                "system-product-name": "PowerEdge T320",
                "system-version": "",
                "system-serial-number": "2FKP9Z1",
                "oem-1": "Xen",
                "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d",
                "oem-3": "Dell System",
                "oem-4": "5[0000]",
                "oem-5": "17[FFFFFFFFFFFFFFFF]",
                "oem-6": "17[FFFFFFFFFFFFFFFF]",
                "oem-7": "17[FFFFFFFFFFFFFFFF]",
                "oem-8": "17[FFFFFFFFFFFFFFFF]",
                "hp-rombios": ""
              },
              "power_on_mode": "",
              "power_on_config": {},
              "local_cache_sr": "OpaqueRef:NULL",
              "chipset_info": {
                "iommu": "true"
              },
              "PCIs": [
                "OpaqueRef:fcd2ca1b-0c37-47bd-a0e6-423685d61d14",
                "OpaqueRef:f58fa241-393c-494a-9326-fb4f615bb0e6",
                "OpaqueRef:f232e286-be5d-4575-bd55-a841272cafda",
                "OpaqueRef:8f550283-1730-48e6-a493-44423af78038",
                "OpaqueRef:50ada7a6-605b-4ab9-ba0b-538d81d8a774",
                "OpaqueRef:323a4e90-4e02-46b3-89c3-3d34798296d8"
              ],
              "PGPUs": [
                "OpaqueRef:e8bf49ad-5c2c-4495-a523-783d5f79a3a4"
              ],
              "PUSBs": [],
              "ssl_legacy": true,
              "guest_VCPUs_params": {},
              "display": "enabled",
              "virtual_hardware_platform_versions": [
                0,
                1,
                2
              ],
              "control_domain": "OpaqueRef:e29895b1-3b61-4187-a225-095903f6abae",
              "updates_requiring_reboot": [],
              "features": [
                "OpaqueRef:8aeab0fe-da5b-4f69-bb8f-190f5e44c248"
              ]
            },
            "SR": {
              "uuid": "5203feac-0248-137e-b855-2e3af04e9836",
              "name_label": "NAS",
              "name_description": "iSCSI SR [192.168.0.206 (iqn.2005-10.org.freenas.ctl:msiiscsitarget; LUN 0: a4bf012bc08900: 7 TiB (FreeNAS))]",
              "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:f70c5bc6-af3f-42fb-8e64-bee8469d46bf",
                "OpaqueRef:1f468f37-b836-4aaa-aef1-386282a75934",
                "OpaqueRef:fb016531-3caf-4491-b491-49086bbfabe0",
                "OpaqueRef:5d039857-39b8-492d-86fc-51613656fa2c"
              ],
              "PBDs": [
                "OpaqueRef:f257dc10-d44a-4daa-be1d-e68ded64530d",
                "OpaqueRef:2704bd05-b3eb-445a-8762-272efb7dd9f3"
              ],
              "virtual_allocation": 3332894621696,
              "physical_utilisation": 3339441930240,
              "physical_size": 7696568811520,
              "type": "lvmoiscsi",
              "content_type": "",
              "shared": true,
              "other_config": {},
              "tags": [],
              "sm_config": {
                "allocation": "thick",
                "use_vhd": "true",
                "multipathable": "true",
                "devserial": "scsi-36589cfc00000098d0a684ae058898f84"
              },
              "blobs": {},
              "local_cache_enabled": false,
              "introduced_by": "OpaqueRef:NULL",
              "clustered": false,
              "is_tools_sr": false
            },
            "VDI": {
              "uuid": "274a8b0c-12ae-4101-95ef-756a019ce7cf",
              "name_label": "Virtual Disk",
              "name_description": "Created by XenCenter Disk Image Import",
              "allowed_operations": [
                "generate_config",
                "force_unlock",
                "update",
                "forget",
                "destroy",
                "snapshot",
                "resize",
                "copy",
                "clone"
              ],
              "current_operations": {},
              "SR": "OpaqueRef:beaee033-10ff-46aa-aee1-26d365528a7e",
              "VBDs": [],
              "crash_dumps": [],
              "virtual_size": 2190433320960,
              "physical_utilisation": 2194719899648,
              "type": "user",
              "sharable": false,
              "read_only": false,
              "other_config": {},
              "storage_lock": false,
              "location": "274a8b0c-12ae-4101-95ef-756a019ce7cf",
              "managed": true,
              "missing": false,
              "parent": "OpaqueRef:NULL",
              "xenstore_data": {},
              "sm_config": {
                "import_task": "OpaqueRef:0e21d807-4d19-42ed-8d5f-af0273ec401b",
                "vdi_type": "vhd",
                "read-caching-reason-05f85b16-794e-4a0a-ab39-7f451952499a": "LICENSE_RESTRICTION",
                "read-caching-reason-045abb6e-449f-460d-aa3f-582fd9e55bba": "LICENSE_RESTRICTION",
                "vhd-parent": "616ddab3-6fa9-4e91-9377-b1f8a1576606",
                "read-caching-enabled-on-045abb6e-449f-460d-aa3f-582fd9e55bba": "false",
                "read-caching-enabled-on-05f85b16-794e-4a0a-ab39-7f451952499a": "false"
              },
              "is_a_snapshot": false,
              "snapshot_of": "",
              "snapshots": [],
              "snapshot_time": "19700101T00:00:00Z",
              "tags": [],
              "allow_caching": false,
              "on_boot": "persist",
              "metadata_of_pool": "",
              "metadata_latest": false,
              "is_tools_iso": false,
              "cbt_enabled": false
            }
          }
        }
      ],
      "end": 1561623741438
    }
  ],
  "end": 1561623741438
} 
julien-f commented 5 years ago

You can try setting guessVhdSizeOnImport to true in your configuration, that may help.

sawyernetworks commented 5 years ago

I've been having issues finding the config.toml so I can change the guessVhdSizeOnImport to true.

julien-f commented 5 years ago

If you are up to date, it's not longer necessary as it's enabled by default.

sawyernetworks commented 5 years ago

I'm probably not up-to date, I'm running the community edition build of XO.

julien-f commented 5 years ago

Then I can't help you on this, please ask the community on how to update :slightly_smiling_face:

olivierlambert commented 1 year ago

No news since a while, closing :)