Migration vSphere to Hyper-V error 32768

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
ivan.omelchenko
Posts: 3
Joined: Mon Apr 29, 2024 7:47 am

Mon Apr 29, 2024 8:31 am

Hello colleagues,
I have problem with migration one server vSphere 7.0 to Hyper-V .
I migrated 20 Servers without any problem, but with one server there was a problem.
System-> Microsoft Windows Server 2016 one disk on 2Tb converting to VM Gen 1.
After successful conversion, I got the following message:
Attach Disk to virtual machine...
ErrorCode 32768
Conversion failed.
The VM is created but no virtual disk, the disk only has a capacity of 980 GB.
I have tried 3 times and have the same problem.
Please help me with this problem.

log:
4/27 17:22:12.781 2c94 Facility ???INFO: WrapperHyperV::connect: Host - \\------\root\virtualization\v2
4/27 17:22:14.158 2c94 Facility ???INFO: WrapperHyperV::init_version: HyperV version: 10.0.20348
4/27 17:22:14.230 2c94 Facility ???WARNING: WrapperESXI::disconnect: m_proxy->Logout fail - 12
4/27 17:22:14.230 2c94 Facility ???ERROR: getErrorFromSOAP: soap_sprint_fault - SOAP 1.1 fault "":ServerFaultCode [no subcode]
"The session is not authenticated."
Detail:
4/27 17:22:14.288 2c94 Facility ???INFO: WrapperESXI::connect: m_url - https://-.-.-.-/sdk
4/27 17:22:14.319 2c94 Facility ???INFO: WrapperESXI::connect: fullName - , key - 52472133-2688-dd40-1772-f99766a1fe6c
4/27 17:22:14.758 2c94 Facility ???INFO: VMConverter::HyperVConverter::AddVirtualDisk: add_disk_synthetic __pathVirtualSystem - \\---------\root\virtualization\v2:Msvm_VirtualSystemSettingData.InstanceID="Microsoft:C93506CA-C64C-42EB-909C-E4D4C637E69A", controller - \\--------\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:C93506CA-C64C-42EB-909C-E4D4C637E69A\\83F8638B-8DCA-4152-9EDA-2CA8B33039B4\\0", numLoc - 0
4/27 17:22:14.830 2c94 Facility ???INFO: VMConverter::HyperVConverter::AddVirtualDisk: add_disk_synthetic 1 \\--------\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:C93506CA-C64C-42EB-909C-E4D4C637E69A\\83F8638B-8DCA-4152-9EDA-2CA8B33039B4\\0\\0\\D"
4/27 17:22:15.053 2c94 Facility ???ERROR: WrapperHyperV::add_disk_virtual: AddResourceSettings returnValue.iVal = 4096
4/27 17:22:16.072 2c94 Facility ???
INFO: WrapperHyperV::waitJob:
instance of Msvm_ConcreteJob
{
Cancellable = FALSE;
Caption = "Adding Resource";
CommunicationStatus = NULL;
DeleteOnCompletion = FALSE;
Description = "Adding Resource";
DetailedStatus = NULL;
ElapsedTime = "00000000000000.167121:000";
ElementName = "Adding Resource";
ErrorCode = 32768;
ErrorDescription = "'-----' failed to add device 'Virtual Hard Disk'. (Virtual machine ID C93506CA-C64C-42EB-909C-E4D4C637E69A)\n\nFailed to open attachment 'C:\\ClusterStorage\\----\\-----\\Virtual Hard Disks\\Server-000001.vhd'. Error: 'The file or directory is corrupted and unreadable.'.\n\n'WEZAP10': Cannot get information for attachment 'C:\\ClusterStorage\\-----\\-----\\Virtual Hard Disks\\Server-000001.vhd'. (Virtual machine ID C93506CA-C64C-42EB-909C-E4D4C637E69A)\n\nFailed to open attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'. Error: 'The file or directory is corrupted and unreadable.'.";
ErrorSummaryDescription = "Failed to add device 'Virtual Hard Disk'.\n\nFailed to open attachment 'C:\\ClusterStorage\\wezap10\\WEZAP10\\Virtual Hard Disks\\Server-000001.vhd'. Error: 'The file or directory is corrupted and unreadable.'.\n\nCannot get information for attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'.\n\nFailed to open attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'. Error: 'The file or directory is corrupted and unreadable.'.";
HealthState = 5;
InstallDate = "16010101000000.000000-000";
InstanceID = "467959D4-9778-4394-99F3-6E04359C206A";
JobRunTimes = 1;
JobState = 10;
JobStatus = "Job is completed with error";
JobType = 30;
LocalOrUtcTime = 2;
Name = "Adding Resource";
Notify = "";
OperatingStatus = NULL;
OperationalStatus = {17, 6};
OtherRecoveryAction = "";
Owner = "-------";
PercentComplete = 0;
PrimaryStatus = NULL;
Priority = 0;
RecoveryAction = 2;
RunDay = NULL;
RunDayOfWeek = N
<overflow>
yperV::waitJob:
instance of Msvm_ConcreteJob
{
Cancellable = FALSE;
Caption = "Adding Resource";
CommunicationStatus = NULL;
DeleteOnCompletion = FALSE;
Description = "Adding Resource";
DetailedStatus = NULL;
ElapsedTime = "00000000000000.167121:000";
ElementName = "Adding Resource";
ErrorCode = 32768;
ErrorDescription = "'-------' failed to add device 'Virtual Hard Disk'. (Virtual machine ID C93506CA-C64C-42EB-909C-E4D4C637E69A)\n\nFailed to open attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'. Error: 'The file or directory is corrupted and unreadable.'.\n\n'WEZAP10': Cannot get information for attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'. (Virtual machine ID C93506CA-C64C-42EB-909C-E4D4C637E69A)\n\nFailed to open attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'. Error: 'The file or directory is corrupted and unreadable.'.";
ErrorSummaryDescription = "Failed to add device 'Virtual Hard Disk'.\n\nFailed to open attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'. Error: 'The file or directory is corrupted and unreadable.'.\n\nCannot get information for attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'.\n\nFailed to open attachment 'C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd'. Error: 'The file or directory is corrupted and unreadable.'.";
HealthState = 5;
InstallDate = "16010101000000.000000-000";
InstanceID = "467959D4-9778-4394-99F3-6E04359C206A";
JobRunTimes = 1;
JobState = 10;
JobStatus = "Job is completed with error";
JobType = 30;
LocalOrUtcTime = 2;
Name = "Adding Resource";
Notify = "";
OperatingStatus = NULL;
OperationalStatus = {17, 6};
OtherRecoveryAction = "";
Owner = "--------";
PercentComplete = 0;
PrimaryStatus = NULL;
Priority = 0;
RecoveryAction = 2;
RunDay = NULL;
RunDayOfWeek = N4/27 17:22:16.072 2c94 Facility ???INFO: WrapperHyperV::waitJob: JobState 10
4/27 17:22:16.072 2c94 Facility ???INFO: VMConverter::HyperVConverter::AddVirtualDisk: add_disk_virtual path
C:\\ClusterStorage\\------\\-----\\Virtual Hard Disks\\Server-000001.vhd 0
4/27 17:22:16.072 2c94 Facility ???ERROR: CPPConverting::ConverterHyperV: Error attach ErrorCode: 32768
4/27 17:22:16.072 2c94 Facility ???INFO: WrapperESXI::connect: m_url - https://-.-.-.-0/sdk
4/27 17:22:16.103 2c94 Facility ???INFO: WrapperESXI::connect: fullName - , key - 52f2f229-de77-ac01-d062-ce52dc879583
4/27 17:22:16.103 2c94 Facility ???ERROR: CPPConverting::Convert: FAILED
4/27 21:27:06.281 366c Facility ???WARNING: WrapperESXI::disconnect: m_proxy->Logout fail - 12
4/27 21:27:06.281 366c Facility ???ERROR: getErrorFromSOAP: soap_sprint_fault - SOAP 1.1 fault "":ServerFaultCode [no subcode]
"The session is not authenticated."
Detail:
Last edited by ivan.omelchenko on Tue Apr 30, 2024 7:38 am, edited 1 time in total.
yaroslav (staff)
Staff
Posts: 2391
Joined: Mon Nov 18, 2019 11:11 am

Mon Apr 29, 2024 10:05 am

Try merging the snapshots for that VM and restart the V2V converter as an administrator. It ran into an authentication issue.
ivan.omelchenko
Posts: 3
Joined: Mon Apr 29, 2024 7:47 am

Mon Apr 29, 2024 2:40 pm

Thank you for antwortet!
was started convertor always with Admin rights.
Snapshot i needed for safety return when migration don`t successful.
I did it always before start migration and don`t have any problem with another machines.
Can be problem with disk: they have 2TB capacity and version VM Gen 1?
yaroslav (staff)
Staff
Posts: 2391
Joined: Mon Nov 18, 2019 11:11 am

Mon Apr 29, 2024 3:14 pm

Hi,

Generation is being picked automatically. As a workaround, you can convert individual disks for that VM and recreate that VM.
ivan.omelchenko
Posts: 3
Joined: Mon Apr 29, 2024 7:47 am

Mon Apr 29, 2024 3:31 pm

Hi
Thank you for information.
yaroslav (staff)
Staff
Posts: 2391
Joined: Mon Nov 18, 2019 11:11 am

Mon Apr 29, 2024 4:23 pm

You are always welcome. Let me know how it goes!
Post Reply