Problems import vm Vmware to Xcp-ng from import Vmware and OVA
-
Hello.
I'm migrating my latest ESXi server, and since the XO update in the last commit, I can't import VMs from the XO tool or by importing OVAs.
Xen Orchestra, commit 0a0ae
Master, commit ddc9blog error:
{ "id": "0mkpqc8rl", "properties": { "name": "importing vms 323", "userId": "8f8faf6a-10d1-4d19-b4b4-1a3cc3160011", "total": 1, "done": 0, "progress": 0 }, "start": 1769103152480, "status": "failure", "updatedAt": 1769103158620, "tasks": [ { "id": "55qd0sxt1qs", "properties": { "name": "importing vm 323", "done": 1, "progress": 100 }, "start": 1769103152480, "status": "failure", "tasks": [ { "id": "nfilsz8xbk", "properties": { "name": "connecting to 192.168.90.51" }, "start": 1769103152480, "status": "success", "end": 1769103152722, "result": { "_events": {}, "_eventsCount": 0 } }, { "id": "dw7wwunqox5", "properties": { "name": "get metadata of 323" }, "start": 1769103152722, "status": "success", "end": 1769103153037, "result": { "name_label": "PostfixTestDavid", "memory": 3166699520, "nCpus": 4, "guestToolsInstalled": false, "guestId": "debian6_64Guest", "guestFullName": [ "Debian GNU/Linux 6 (64-bit)" ], "firmware": "bios", "powerState": "poweredOff", "disks": [ { "capacity": 21474836480, "isFull": true, "uid": "fd68d003", "fileName": "PostfixTestDavid-flat.vmdk", "parentId": "ffffffff", "vmdkFormat": "VMFS", "nameLabel": "PostfixTestDavid-flat.vmdk", "usingVsan": false, "datastore": "StorageVM_04", "path": "PostfixTestDavid", "diskPath": "PostfixTestDavid/PostfixTestDavid.vmdk", "descriptionLabel": "", "node": "scsi0:0" } ], "networks": [ { "label": "Guest", "macAddress": "00:50:56:a6:46:87", "isGenerated": false } ], "vmId": "323" } }, { "id": "y66ov437opm", "properties": { "name": "creating VM on XCP side" }, "start": 1769103153037, "status": "success", "end": 1769103153334, "result": { "uuid": "c9242431-95b4-d7c5-5a2f-9cc914f5d6ed", "allowed_operations": [ "create_vtpm", "destroy", "metadata_export", "export", "make_into_template", "changing_NVRAM", "changing_shadow_memory", "changing_static_range", "changing_dynamic_range", "migrate_send", "start_on", "start", "copy", "clone", "snapshot" ], "current_operations": {}, "name_label": "PostfixTestDavid", "name_description": "from esxi -- source guest id :debian6_64Guest -- template used:CentOS Stream 9", "power_state": "Halted", "user_version": 1, "is_a_template": false, "is_default_template": false, "suspend_VDI": "OpaqueRef:NULL", "resident_on": "OpaqueRef:NULL", "scheduled_to_be_resident_on": "OpaqueRef:NULL", "affinity": "OpaqueRef:NULL", "memory_overhead": 31457280, "memory_target": 0, "memory_static_max": 3166699520, "memory_dynamic_max": 3166699520, "memory_dynamic_min": 3166699520, "memory_static_min": 2147483648, "VCPUs_params": {}, "VCPUs_max": 4, "VCPUs_at_startup": 4, "actions_after_softreboot": "soft_reboot", "actions_after_shutdown": "destroy", "actions_after_reboot": "restart", "actions_after_crash": "restart", "consoles": [], "VIFs": [], "VBDs": [], "VUSBs": [], "crash_dumps": [], "VTPMs": [], "PV_bootloader": "", "PV_kernel": "", "PV_ramdisk": "", "PV_args": "", "PV_bootloader_args": "", "PV_legacy_args": "", "HVM_boot_policy": "BIOS order", "HVM_boot_params": { "order": "cdn" }, "HVM_shadow_multiplier": 1, "platform": { "cores-per-socket": "1", "vga": "std", "videoram": "8", "viridian": "false", "device_id": "0001", "device-model": "qemu-upstream-compat", "secureboot": "false", "nx": "true", "acpi": "1", "apic": "true", "pae": "true", "hpet": "true" }, "PCI_bus": "", "other_config": { "mac_seed": "2c8bcffe-aee3-c6b0-9525-58f6a19e63e8", "vgpu_pci": "", "base_template_name": "Other install media", "install-methods": "cdrom" }, "domid": -1, "domarch": "", "last_boot_CPU_flags": {}, "is_control_domain": false, "metrics": "OpaqueRef:8f1660a9-e72c-46a7-1ff5-40c786746b29", "guest_metrics": "OpaqueRef:NULL", "last_booted_record": "", "recommendations": "<restrictions><restriction field=\"memory-static-max\" max=\"137438953472\" /><restriction field=\"vcpus-max\" max=\"32\" /><restriction property=\"number-of-vbds\" max=\"255\" /><restriction property=\"number-of-vifs\" max=\"7\" /><restriction field=\"has-vendor-device\" value=\"false\" /></restrictions>", "xenstore_data": {}, "ha_always_run": false, "ha_restart_priority": "", "is_a_snapshot": false, "snapshot_of": "OpaqueRef:NULL", "snapshots": [], "snapshot_time": "19700101T00:00:00Z", "transportable_snapshot_id": "", "blobs": {}, "tags": [], "blocked_operations": {}, "snapshot_info": {}, "snapshot_metadata": "", "parent": "OpaqueRef:NULL", "children": [], "bios_strings": {}, "protection_policy": "OpaqueRef:NULL", "is_snapshot_from_vmpp": false, "snapshot_schedule": "OpaqueRef:NULL", "is_vmss_snapshot": false, "appliance": "OpaqueRef:NULL", "start_delay": 0, "shutdown_delay": 0, "order": 0, "VGPUs": [], "attached_PCIs": [], "suspend_SR": "OpaqueRef:NULL", "version": 0, "generation_id": "0:0", "hardware_platform_version": 0, "has_vendor_device": false, "requires_reboot": false, "reference_label": "", "domain_type": "hvm", "NVRAM": {}, "pending_guidances": [], "pending_guidances_recommended": [], "pending_guidances_full": [], "groups": [] } }, { "id": "539oscxzftt", "properties": { "name": "build disks and snapshots chains for 323" }, "start": 1769103153481, "status": "success", "end": 1769103153481, "result": { "scsi0:0": [ { "capacity": 21474836480, "isFull": true, "uid": "fd68d003", "fileName": "PostfixTestDavid-flat.vmdk", "parentId": "ffffffff", "vmdkFormat": "VMFS", "nameLabel": "PostfixTestDavid-flat.vmdk", "usingVsan": false, "datastore": "StorageVM_04", "path": "PostfixTestDavid", "diskPath": "PostfixTestDavid/PostfixTestDavid.vmdk", "descriptionLabel": "", "node": "scsi0:0" } ] } }, { "id": "35yj1qpe7d2", "properties": { "name": "Import of disks scsi0:0" }, "start": 1769103153481, "status": "failure", "infos": [ { "message": "Importing disk in vhd format, with block of 2097152 bytes" }, { "message": "no reference disk found, fall back a full import" } ], "warnings": [ { "message": { "succeeded": {} } } ], "end": 1769103158587, "result": { "message": "stream has ended without data, was looking for 134 bytes", "name": "Error", "stack": "Error: stream has ended without data, was looking for 134 bytes\n at readChunkStrict (/opt/xo/xo-builds/xen-orchestra-202601151504/@vates/read-chunk/index.js:83:13)" } } ], "infos": [ { "message": "No previously transfered VM found, do a full transfer" } ], "end": 1769103158618, "result": { "message": "stream has ended without data, was looking for 134 bytes", "name": "Error", "stack": "Error: stream has ended without data, was looking for 134 bytes\n at readChunkStrict (/opt/xo/xo-builds/xen-orchestra-202601151504/@vates/read-chunk/index.js:83:13)" } } ], "end": 1769103158620, "result": { "succeeded": {}, "message": "stream has ended without data, was looking for 134 bytes", "name": "Error", "stack": "Error: stream has ended without data, was looking for 134 bytes\n at readChunkStrict (/opt/xo/xo-builds/xen-orchestra-202601151504/@vates/read-chunk/index.js:83:13)" } }I have XO running with a proxy password using Nginx.
I don't think that has anything to do with it, right?Thanks!!!!
-
@guillemrebull in your xo logs, you should have a line like nbdkit logs of ${diskPath} are in ${tmpDir}
could you copy here the file in tmpDir ( something like /tmp/xo-serverYYYY/stderr ) ?
-
@florent I'm working with Guillem, this is the stderr of the latest attempt, the error seems to be an "SSL: Unknown SSL Error", I checked the "Skip SSL check" option when connecting to vmware.
nbdkit: debug: nbdkit 1.44.3 nbdkit: debug: TLS disabled: nbdkit was not compiled with GnuTLS support nbdkit: debug: service mode: TCP/IP nbdkit: debug: NBD URI: nbd://localhost:11009 nbdkit: debug: registering plugin /usr/local/lib/nbdkit/plugins/nbdkit-vddk-plugin.so nbdkit: debug: registered plugin /usr/local/lib/nbdkit/plugins/nbdkit-vddk-plugin.so (name vddk) nbdkit: debug: vddk: load nbdkit: debug: request processing: vddk (plugin, first) nbdkit: debug: vddk: config key=compression, value=fastlz nbdkit: debug: vddk: config key=thumbprint, value=51:AB:94:63:47:D9:91:2F:9F:F0:E5:2C:DF:21:0A:11:80:9F:91:9F nbdkit: debug: vddk: config key=server, value=192.168.90.51 nbdkit: debug: vddk: config key=user, value=root nbdkit: debug: vddk: config key=password, value=+/tmp/xo-server3xoqzo/params nbdkit: debug: vddk: config key=libdir, value=/usr/local/lib/vddk/vmware-vix-disklib-distrib nbdkit: debug: vddk: config key=vm, value=moref=361 nbdkit: debug: vddk: config key=file, value= nbdkit: debug: vddk: config key=file, value=[StorageVM_01] portal-clone/portal-clone.vmdk nbdkit: debug: vddk: config_complete nbdkit: debug: using thread model: parallel nbdkit: debug: vddk: get_ready nbdkit: debug: if nbdkit crashes when you open a connection, read this link for workarounds: https://issues.redhat.com/browse/RHEL-54377 nbdkit: debug: bound to IP address <any>:11009 (2 socket(s)) nbdkit: debug: vddk: after_fork nbdkit: debug: VDDK call: VixDiskLib_InitEx (6, 5, &debug_fn, &error_fn, &error_fn, /usr/local/lib/vddk/vmware-vix-disklib-distrib, NULL) nbdkit: debug: OBJLIB-LIB: Objlib initialized. nbdkit: debug: VixDiskLib: Attempting to locate advanced transport module in "/usr/local/lib/vddk/vmware-vix-disklib-distrib". nbdkit: debug: VixDiskLib: Advanced transport plugin /usr/local/lib/vddk/vmware-vix-disklib-distrib/lib64/libdiskLibPlugin.so was successfully loaded into vixDiskLib. nbdkit: debug: VixDiskLib: Enabling advanced transport modes. nbdkit: debug: DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory. nbdkit: debug: [msg.dictionary.load.openFailed] Cannot open file "/etc/vmware/config": No such file or directory. nbdkit: debug: PREF Optional preferences file not found at /etc/vmware/config. Using default values. nbdkit: debug: Could not expand environment variable HOME. nbdkit: debug: Could not expand environment variable HOME. nbdkit: debug: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. nbdkit: debug: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory. nbdkit: debug: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. nbdkit: debug: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory. nbdkit: debug: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory. nbdkit: debug: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values. nbdkit: debug: DictionaryLoad: Cannot open file "~/.vmware/config": No such file or directory. nbdkit: debug: [msg.dictionary.load.openFailed] Cannot open file "~/.vmware/config": No such file or directory. nbdkit: debug: PREF Optional preferences file not found at ~/.vmware/config. Using default values. nbdkit: debug: DictionaryLoad: Cannot open file "~/.vmware/preferences": No such file or directory. nbdkit: debug: [msg.dictionary.load.openFailed] Cannot open file "~/.vmware/preferences": No such file or directory. nbdkit: debug: PREF Optional preferences file not found at ~/.vmware/preferences. Using default values. nbdkit: debug: lib/ssl: OpenSSL using default provider nbdkit: debug: lib/ssl: Client usage nbdkit: debug: lib/ssl: protocol list tls1.2,tls1.3 nbdkit: debug: lib/ssl: protocol min 0x303 max 0x304 nbdkit: debug: lib/ssl: protocol list tls1.2,tls1.3 (openssl flags 0x16000000) nbdkit: debug: lib/ssl: cipher list ECDHE+AESGCM:RSA+AESGCM:ECDHE+AES:RSA+AES nbdkit: debug: lib/ssl: cipher suites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384 nbdkit: debug: lib/ssl: curves list prime256v1:secp384r1:secp521r1 nbdkit: debug: lib/ssl: Server usage nbdkit: debug: lib/ssl: protocol list tls1.2,tls1.3 nbdkit: debug: lib/ssl: protocol min 0x303 max 0x304 nbdkit: debug: lib/ssl: protocol list tls1.2,tls1.3 (openssl flags 0x16000000) nbdkit: debug: lib/ssl: cipher list ECDHE+AESGCM:RSA+AESGCM:ECDHE+AES:RSA+AES nbdkit: debug: lib/ssl: cipher suites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384 nbdkit: debug: lib/ssl: curves list prime256v1:secp384r1:secp521r1 nbdkit: debug: VixDiskLib: Initialize transport modes. nbdkit: debug: 2026-01-23T09:02:37.598+01:00 info -[39734] [Originator@6876 sub=Libs] OBJLIB-LIB: Objlib initialized. nbdkit: debug: 2026-01-23T09:02:37.598+01:00 info -[39734] [Originator@6876 sub=Libs] [NFC VERBOSE]NFC connection accept timeout: 180000 milliseconds nbdkit: debug: 2026-01-23T09:02:37.598+01:00 info -[39734] [Originator@6876 sub=Libs] [NFC VERBOSE]NFC request timeout: 180000 milliseconds nbdkit: debug: 2026-01-23T09:02:37.598+01:00 info -[39734] [Originator@6876 sub=Libs] [NFC VERBOSE]NFC read timeout: 60000 milliseconds nbdkit: debug: 2026-01-23T09:02:37.598+01:00 info -[39734] [Originator@6876 sub=Libs] [NFC VERBOSE]NFC write timeout: 600000 milliseconds nbdkit: debug: 2026-01-23T09:02:37.598+01:00 info -[39734] [Originator@6876 sub=Libs] [NFC VERBOSE]NFC fssrvr request timeout: 0 milliseconds nbdkit: debug: 2026-01-23T09:02:37.598+01:00 info -[39734] [Originator@6876 sub=Libs] [NFC VERBOSE]NFC fssrvr write timeout: 0 milliseconds nbdkit: debug: 2026-01-23T09:02:37.598+01:00 info -[39734] [Originator@6876 sub=Libs] [NFC VERBOSE]NFC max recv retries: 1 nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] [msg.dictionary.load.openFailed] Cannot open file "/etc/vmware/config": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] PREF Optional preferences file not found at /etc/vmware/config. Using default values. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] Could not expand environment variable HOME. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] Could not expand environment variable HOME. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] DictionaryLoad: Cannot open file "~/.vmware/config": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] [msg.dictionary.load.openFailed] Cannot open file "~/.vmware/config": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] PREF Optional preferences file not found at ~/.vmware/config. Using default values. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] DictionaryLoad: Cannot open file "~/.vmware/preferences": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] [msg.dictionary.load.openFailed] Cannot open file "~/.vmware/preferences": No such file or directory. nbdkit: debug: 2026-01-23T09:02:37.599+01:00 info -[39734] [Originator@6876 sub=Libs] PREF Optional preferences file not found at ~/.vmware/preferences. Using default values. nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: OpenSSL using default provider nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: Client usage nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: protocol list tls1.2,tls1.3 nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: protocol min 0x303 max 0x304 nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: protocol list tls1.2,tls1.3 (openssl flags 0x16000000) nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: cipher list ECDHE+AESGCM:RSA+AESGCM:ECDHE+AES:RSA+AES nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: cipher suites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384 nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: curves list prime256v1:secp384r1:secp521r1 nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: Server usage nbdkit: debug: 2026-01-23T09:02:37.600+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: protocol list tls1.2,tls1.3 nbdkit: debug: 2026-01-23T09:02:37.601+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: protocol min 0x303 max 0x304 nbdkit: debug: 2026-01-23T09:02:37.601+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: protocol list tls1.2,tls1.3 (openssl flags 0x16000000) nbdkit: debug: 2026-01-23T09:02:37.601+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: cipher list ECDHE+AESGCM:RSA+AESGCM:ECDHE+AES:RSA+AES nbdkit: debug: 2026-01-23T09:02:37.601+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: cipher suites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384 nbdkit: debug: 2026-01-23T09:02:37.601+01:00 info -[39734] [Originator@6876 sub=Libs] lib/ssl: curves list prime256v1:secp384r1:secp521r1 nbdkit: debug: 2026-01-23T09:02:37.690+01:00 info -[39734] [Originator@6876 sub=Libs] [NFC INFO]Nfc_Init: Poll not initialized. nbdkit: debug: VixDiskLib: Available transport modes: file:san:hotadd:nbdssl:nbd. nbdkit: debug: VMware VixDiskLib (9.0.1) Release build-24964809 nbdkit: debug: VixDiskLib: PhoneHome is disabled. nbdkit: debug: accepted connection nbdkit: vddk[1]: debug: vddk: preconnect nbdkit: vddk[1]: debug: newstyle negotiation: flags: global 0x3 nbdkit: vddk[1]: debug: newstyle negotiation: client flags: 0x1 nbdkit: vddk[1]: debug: newstyle negotiation: NBD_OPT_EXPORT_NAME: client requested export '[StorageVM_01] portal-clone/portal-clone.vmdk' nbdkit: vddk[1]: debug: vddk: open readonly=1 exportname="[StorageVM_01] portal-clone/portal-clone.vmdk" tls=0 nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_AllocateConnectParams () nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_ConnectEx (h->params, 1, NULL, NULL, &connection) nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_ConnectEx: Establish connection using (null). nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLibConnectInt: Establish connection. nbdkit: vddk[1]: debug: VixDiskLib: Resolve host. nbdkit: vddk[1]: debug: 2026-01-23T09:02:39.519+01:00 warning -[39743] [Originator@6876 sub=transport] SAN transport mode requires a snapshot. nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Open (connection, [StorageVM_01] portal-clone/portal-clone.vmdk, 36, &handle) nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLibOpenInternal: Open disk '[StorageVM_01] portal-clone/portal-clone.vmdk'. nbdkit: vddk[1]: debug: NBD_ClientOpen: attempting to create connection to FASTLZ-ha-nfcssl://[StorageVM_01] portal-clone/portal-clone.vmdk@192.168.90.51:902!52 e6 61 d4 ac 81 ae 7e-7c 37 80 74 e3 6c a7 50 nbdkit: vddk[1]: debug: NbdPopulateSslVerifyParam:Set up SSL verification for host 192.168.90.51 with thumbprint 51:AB:94:63:47:D9:91:2F:9F:F0:E5:2C:DF:21:0A:11:80:9F:91:9F nbdkit: vddk[1]: debug: NFC Sync IO session is established for '[StorageVM_01] portal-clone/portal-clone.vmdk'. nbdkit: vddk[1]: debug: NbdNfcSetResourcePoolTag: Setting resource pool tag only supports AIO session. nbdkit: vddk[1]: debug: Opening file [StorageVM_01] portal-clone/portal-clone.vmdk (FASTLZ-ha-nfcssl://[StorageVM_01] portal-clone/portal-clone.vmdk@192.168.90.51:902!52 e6 61 d4 ac 81 ae 7e-7c 37 80 74 e3 6c a7 50) nbdkit: vddk[1]: debug: Nbd_ClientSetCallback: Set callback on '[StorageVM_01] portal-clone/portal-clone.vmdk' with type 0. nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_GetTransportMode (handle) nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_GetTransportMode: Retrieve transport mode. nbdkit: vddk[1]: debug: transport mode: nbdssl nbdkit: vddk[1]: debug: vddk: open returned handle 0x7f1f60001480 nbdkit: vddk[1]: debug: vddk: prepare readonly=1 nbdkit: vddk[1]: debug: vddk: get_size nbdkit: debug: VDDK call: VixDiskLib_QueryAllocatedBlocks (handle, 0, 128 sectors, 128 sectors) nbdkit: debug: VixDiskLib: VixDiskLib_QueryAllocatedBlocks: Query allocated blocks. nbdkit: debug: DISKLIB-LINK : DiskLinkGetAllocatedSectorChunks: Failed to get allocated sector chunks: NBD_ERR_GENERIC nbdkit: debug: DISKLIB-LIB_MISC : DiskLibGetAllocatedSectorChunksInRangeInt: failed to get allocated sector bitmap: NBD_ERR_GENERIC nbdkit: debug: VixDiskLib: Detected DiskLib error 290 (NBD_ERR_GENERIC). nbdkit: debug: VixDiskLib: VixDiskLibQueryBlockList: Fail to query blocks (offset 0, chunkSize 128, chunkNumber 1). Error 1 (Unknown error) (DiskLib error 290: NBD_ERR_GENERIC) at 606. nbdkit: debug: can_extents: VixDiskLib_QueryAllocatedBlocks test failed, extents support will be disabled: original error: Unknown error nbdkit: debug: VDDK call: VixDiskLib_GetInfo (handle, info) nbdkit: debug: VixDiskLib: VixDiskLib_GetInfo: Retrieve disk info. nbdkit: error: [NFC ERROR]NfcFssrvrGetDDBMessage: Received unexpected message: NFC_SESSION_COMPLETE from server. Expected message: NFC_FSSRVR_DDBGET nbdkit: debug: Unable to get DDB value for key isDigest. DiskLibError : The operation completed successfully (0x0) nbdkit: debug: DISKLIB-LIB_MISC : DiskLib_IsDigest: Failed to get DDB digest flag: NBD_ERR_DISKLIB nbdkit: error: SSL: Unknown SSL Error nbdkit: debug: SSL Error: error:0A000126:SSL routines::unexpected eof while reading nbdkit: error: [NFC ERROR]NfcNetTcpSetError: Success nbdkit: error: [NFC ERROR]NfcNetTcpRead: bRead: -1. errno: 0. nbdkit: error: [NFC ERROR]NfcNet_Recv: requested 264, received only 0 bytes nbdkit: error: [NFC ERROR]NfcGetMessage: NfcNet_Recv failed: NFC_NETWORK_ERROR nbdkit: error: [NFC ERROR]NfcFssrvrGetDDBMessage: Failed to receive reply for NFC_FSSRVR_DDBGET message: The operation experienced a network error (NFC_NETWORK_ERROR) nbdkit: debug: Unable to get DDB value for key iofilters. DiskLibError : The operation completed successfully (0x0) nbdkit: debug: DISKLIB-LIB : Failed to get the IO filter list. nbdkit: debug: DISKLIB-LIB : Failed to get info : NBD_ERR_DISKLIB (4898). nbdkit: debug: VixDiskLib: Detected DiskLib error 4898 (NBD_ERR_DISKLIB). nbdkit: debug: VixDiskLib: VixDiskLib_GetInfo: Failed to retrieve disk info. Error 1 (Unknown error) (DiskLib error 4898: NBD_ERR_DISKLIB) at 8039. nbdkit: debug: VDDK call: VixDiskLib_GetErrorText (1) nbdkit: error: VixDiskLib_GetInfo: Unknown error nbdkit: debug: VDDK call: VixDiskLib_FreeErrorText () nbdkit: vddk[1]: debug: vddk: close nbdkit: debug: VDDK call: VixDiskLib_Wait (handle) nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Close (handle) nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Close: Close disk '[StorageVM_01] portal-clone/portal-clone.vmdk'. nbdkit: vddk[1]: debug: SSL: syscall error 0: Success nbdkit: vddk[1]: error: [NFC ERROR]NfcNetTcpSetError: Success nbdkit: vddk[1]: error: [NFC ERROR]NfcNetTcpWrite: bWritten: -1. Errno: 0. nbdkit: vddk[1]: error: [NFC ERROR]NfcSendMessage: NfcNet_Send failed: NFC_NETWORK_ERROR nbdkit: vddk[1]: error: [NFC ERROR]NfcFssrvrSendDDBMessage: Failed to send NFC_FSSRVR_DDBGET message: The operation experienced a network error (NFC_NETWORK_ERROR) nbdkit: vddk[1]: debug: Unable to get DDB value for key isDigest. DiskLibError : The operation completed successfully (0x0) nbdkit: vddk[1]: debug: DISKLIB-LIB_MISC : DiskLib_IsDigest: Failed to get DDB digest flag: NBD_ERR_DISKLIB nbdkit: vddk[1]: debug: SSL: syscall error 0: Success nbdkit: vddk[1]: error: [NFC ERROR]NfcNetTcpSetError: Success nbdkit: vddk[1]: error: [NFC ERROR]NfcNetTcpWrite: bWritten: -1. Errno: 0. nbdkit: vddk[1]: error: [NFC ERROR]NfcSendMessage: NfcNet_Send failed: NFC_NETWORK_ERROR nbdkit: vddk[1]: error: [NFC ERROR]NfcFssrvr_Close: Failed to send close message: The operation experienced a network error (NFC_NETWORK_ERROR) nbdkit: vddk[1]: debug: SSL: syscall error 0: Success nbdkit: vddk[1]: error: [NFC ERROR]NfcNetTcpSetError: Success nbdkit: vddk[1]: error: [NFC ERROR]NfcNetTcpWrite: bWritten: -1. Errno: 0. nbdkit: vddk[1]: error: [NFC ERROR]NfcSendMessage: NfcNet_Send failed: NFC_NETWORK_ERROR nbdkit: vddk[1]: debug: VixDiskLib: Disk Open Time: 2139 milliseconds. nbdkit: vddk[1]: debug: VixDiskLib: Disk Close Time: 1 milliseconds. nbdkit: vddk[1]: debug: VixDiskLib: Disk IO Time: 0 milliseconds. nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_Disconnect (connection) nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_Disconnect: Disconnect. nbdkit: vddk[1]: debug: VixDiskLib: Backup Failure Function: VixDiskLib_QueryAllocatedBlocks nbdkit: vddk[1]: debug: VixDiskLib: Backup Failure Error: 1 nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters. nbdkit: vddk[1]: debug: VDDK call: VixDiskLib_FreeConnectParams (params) nbdkit: vddk[1]: debug: VixDiskLib: VixDiskLib_FreeConnectParams: Free connection parameters. nbdkit: debug: vddk: cleanup nbdkit: debug: vddk: unload plugin nbdkit: debug: VDDK call: VixDiskLib_Exit () nbdkit: debug: VixDiskLib: VixDiskLib_Exit: Unmatched Init calls so far: 1. nbdkit: debug: OBJLIB-LIB: ObjLib cleanup done. -
@olivluca it looks like a network issue , can XO access the vsphere/esxi through NBD ?
-
@florent port 902 is accessible, however if I try port 443 I see that it has an expired certificate
Edit: I regenerated the certificate on the esxi host, now it's no longer expired but it's still self signed. Same error when trying to import the vm.
-
@olivluca even with the self signed toggled on ?
-
@florent where?
-
@olivluca skip ssl check in the import form
-
@florent said in Problems import vm Vmware to Xcp-ng from import Vmware and OVA:
@olivluca skip ssl check in the import form
I already did that. In fact it connects and I can get a list of VMs to import.
-
@olivluca Did you ever find a solution to this?
Experiencing similar issues -
@ItzJay nope, i had to export the machine from vmware and import it in xo
-
@olivluca what are your base os ? because on a XOA, I thik gnutls ins installed, so nbdkit is compiled with tls supports
-
@florent By base OS you mean the based Debian XOA appliance?
-
@ItzJay said in Problems import vm Vmware to Xcp-ng from import Vmware and OVA:
@florent By base OS you mean the based Debian XOA appliance?
yes , I was not sure it was a XOA. If it's a xoa, how old is it ? would it be ok to open a ticket so we can check it on monday ?
-
root@xo-server:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm root@xo-server:~# dpkg -l | grep gnutls ii libcurl3-gnutls:amd64 7.88.1-10+deb12u12 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour) ii libgnutls30:amd64 3.7.9-2 amd64 GNU TLS library - main runtime library ii libsrt1.5-gnutls:amd64 1.5.1-1 amd64 Secure Reliable Transport UDP streaming library (GnuTLS flavour)
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