Converter fails to attach disks after conversion

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

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

Post Reply
pcmm
Posts: 2
Joined: Tue Jan 29, 2019 7:48 pm

Tue Jan 29, 2019 7:53 pm

We're testing v2v converters for an upcoming initiative to migrate from vmware to Hyper-V. We're finding the available converters each have their own (in some cases significant issues) Which brings me to the Starwind converter. Seems to convert quickly and reliably but 100% of the time it successfully converts the VM but also 100% of the time NEVER attaches the converted disks to the VM it creates in hyper-V 2016. Is this expected behaviour? we've done about 20 test conversion so far and while it works, this quirk is a bit unsettling and does cause a work flow slow down when converting a large number of VM's We'd like to be able to script the conversions but the failure to attach the disks as part of the conversion causes issues.
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Thu Jan 31, 2019 1:34 pm

Could you please provide us with the logs from V2V converter?
Norphus
Posts: 3
Joined: Wed Mar 27, 2019 8:56 am

Wed Mar 27, 2019 9:01 am

I have the same issue. I'm converting from ESXi 6.5 onto a Windows Server 2019 Hyper-V host. The machines get converted quite happily but each time, without fail, the vdisks fail to attach to the new VM. It doesn't matter whether it's a V2V or P2V conversion, same issue each time.

You can manually attach the disks to the new VM and it all works after that, it's just an extra step. One other bit of feedback, when the converter converts BIOS VMware machines with SCSI disks to Hyper-V VMs, it generates a G1 VM and converts the disks as SCSI disks in Hyper-V. G1 Hyper-V VMs won't boot from a SCSI controller, can the converter be set to attach the primary hard disk as an IDE disk?

I have attempted to attach some logs to this post but its saying that .log and .txt files aren't allowed so I'll put an example in the post instead

Code: Select all

The log file name: 'C:\Program Files\StarWind Software\StarWind V2V Image Converter\logs\V2V_Log-20190326-161845.log' (PID 9680)
3/26 16:18:45.093 156c Facility ???INFO: CV2V_ConverterApp::InitInstance: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Image Converter\lib
3/26 16:18:45.093 156c Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_ENGLISH
3/26 16:18:45.093 156c Facility ???INFO: CV2V_ConverterApp::InitInstance: Load language IDR_XML_RUSSIAN
3/26 16:18:45.093 156c Facility ???INFO: CV2V_ConverterApp::InitInstance: Set current language English
3/26 16:18:45.093 156c Facility ???INFO: CPS_V2V_Converter::CPS_V2V_Converter: Version MajorVersion 6, MinorVersion 2, BuildNumber 9200
3/26 16:18:45.093 156c Facility ???INFO: VMConverter::HyperVConverter::HyperVConverter: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 9f8e0000
3/26 16:18:45.093 156c Facility ???INFO: VMConverter::HyperVConverter::HyperVConverter: LoadLibrary C:\Windows\system32\wbem\wmiutils.dll - 9f8e0000
3/26 16:18:49.718 156c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXConnection
3/26 16:19:00.563 156c Facility ???INFO: WrapperESXI::connect: m_url - https://10.1.210.12/sdk
3/26 16:19:00.719 156c Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 52cc1539-ba91-eae9-abb9-bbe48fdaf720
3/26 16:19:00.735 156c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eESXInputFile
3/26 16:19:04.235 156c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eLocationTo
3/26 16:19:05.454 156c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eHYPERVConnectionTo
3/26 16:19:06.126 156c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eVMSettings
3/26 16:19:08.610 156c Facility ???INFO: ICPPage::OnWizardNext: SetActivePage - eConverting
3/26 16:19:08.610 1a04 Facility ???INFO: CPPConverting::Convert: InConvertType: 6, OutConvertType: 8
3/26 16:19:08.610 1a04 Facility ???INFO: CPPConverting::ConverterVM: VM create param: name - HAF-MB-028 (AS2015), datastore - C:\ClusterStorage\Volume2\, CPU - 8, coresPerSocket - 4, RAM - 12288, IDE - 2, SCSI - 1, firmware - 0
3/26 16:19:08.657 1a04 Facility ???INFO: WrapperHyperV::getMinMaxCPU: MaxCPU - 16, MinCPU - 1
3/26 16:19:08.672 1a04 Facility ???INFO: WrapperHyperV::getMinMaxMemory: MaxRAM - 255112, MinRAM - 1024
3/26 16:19:09.266 1a04 Facility ???INFO: VMConverter::HyperVConverter::CreateVM: add_ethernet_connection 1 \\KN-KA-VHOST-01\root\virtualization\v2:Msvm_EthernetPortAllocationSettingData.InstanceID="Microsoft:B1A1A604-47C3-47FE-9956-555F42F4A738\\59E5C850-4721-48AE-82D3-3E64FB89E87E\\C"
3/26 16:19:09.266 1a04 Facility ???INFO: CPPConverting::ConverterVM: Create VM B1A1A604-47C3-47FE-9956-555F42F4A738
3/26 16:19:09.266 1a04 Facility ???INFO: CPPConverting::ConvertImage: pathInput: [Knights Datastore] HAF-MB-028 (AS2015)/HAF-MB-028 (AS2015).vmdk, pathOutput: C:\ClusterStorage\Volume2\\HAF-MB-028 (AS2015)\HAF-MB-028 (AS2015).vhdx
3/26 16:19:09.407 1a04 Facility ???INFO: CPPConverting::ConvertImage: SslThumbprint: E4:D8:6F:91:CB:F0:79:D0:EA:D3:83:A5:79:EB:8C:6F:D1:84:3C:80
3/26 16:19:09.454 1a04 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Knights Datastore] HAF-MB-028 (AS2015)/HAF-MB-028 (AS2015).vmdk
3/26 16:19:09.454 1a04 Facility ???INFO: ESXVmdk::ParseFile: m_cVMX - [Knights Datastore] HAF-MB-028 (AS2015)/HAF-MB-028 (AS2015).vmx
3/26 16:19:09.454 1a04 Facility ???INFO: ESXVmdk::ParseFile: m_cSSLThumbprint - E4:D8:6F:91:CB:F0:79:D0:EA:D3:83:A5:79:EB:8C:6F:D1:84:3C:80
3/26 16:19:10.844 1a04 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
3/26 16:19:11.594 1a04 Facility ???INFO: MicrosoftFile::NewFile: sFilename - \\localhost\C$\ClusterStorage\Volume2\\HAF-MB-028 (AS2015)\HAF-MB-028 (AS2015).vhdx, nMaxSize - 167772160, fileType - 2
3/26 16:19:12.079 1a04 Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 0
3/26 17:51:16.680 1a04 Facility ???INFO: CPPConverting::ConvertImage: Success
3/26 17:51:16.727 1a04 Facility ???INFO: CPPConverting::ConverterVM: Disk param: fileSize - 85899345920, maxSize - 85899345920, type - 1, controllerType - 2, numLoc - 0
3/26 17:51:16.993 1a04 Facility ???INFO: VMConverter::HyperVConverter::AttachVirtualDisk: add_disk_synthetic __pathVirtualSystem - \\KN-KA-VHOST-01\root\virtualization\v2:Msvm_VirtualSystemSettingData.InstanceID="Microsoft:B1A1A604-47C3-47FE-9956-555F42F4A738", controller - \\KN-KA-VHOST-01\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:B1A1A604-47C3-47FE-9956-555F42F4A738\\D6D27B2F-ADC0-4E76-8D2F-3BC0DF2193AF\\0", numLoc - 0
3/26 17:51:17.040 1a04 Facility ???INFO: VMConverter::HyperVConverter::AttachVirtualDisk: add_disk_synthetic 1 \\KN-KA-VHOST-01\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:B1A1A604-47C3-47FE-9956-555F42F4A738\\D6D27B2F-ADC0-4E76-8D2F-3BC0DF2193AF\\0\\0\\D"
3/26 17:51:17.102 1a04 Facility ???ERROR: WrapperHyperV::add_disk_virtual: AddResourceSettings returnValue.iVal = 4096
3/26 17:51:17.102 1a04 Facility ???INFO: WrapperHyperV::waitJob: 
instance of Msvm_ConcreteJob
{
	Cancellable = FALSE;
	Caption = "Adding Resource";
	CommunicationStatus = NULL;
	DeleteOnCompletion = FALSE;
	Description = "Adding Resource";
	DetailedStatus = NULL;
	ElapsedTime = "00000000000000.018512:000";
	ElementName = "Adding Resource";
	ErrorCode = 32768;
	ErrorDescription = "'HAF-MB-028 (AS2015)' failed to add resources. (Virtual machine ID B1A1A604-47C3-47FE-9956-555F42F4A738)\n\n'HAF-MB-028 (AS2015)' encountered an unexpected error: The specified path is invalid. (0x800700A1). (Virtual machine ID B1A1A604-47C3-47FE-9956-555F42F4A738)";
	ErrorSummaryDescription = "'HAF-MB-028 (AS2015)' failed to add resources to 'HAF-MB-028 (AS2015)'.\n\nAn unexpected error occurred: The specified path is invalid. (0x800700A1).";
	HealthState = 5;
	InstallDate = "16010101000000.000000-000";
	InstanceID = "B4796D4D-E2B1-421E-919C-89A39231244E";
	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 = "KNIGHTS\\Administrator";
	PercentComplete = 0;
	PrimaryStatus = NULL;
	Priority = 0;
	RecoveryAction = 2;
	RunDay = NULL;
	RunDayOfWeek = NULL;
	RunMonth = NULL;
	RunStartInterval = NULL;
	ScheduledStartTime = "20190326175117.000000-000";
	StartTime = "20190326175117.000000-000";
	Status = "Error";
	StatusDescriptions = {"Job is completed", "Job is completed with error"};
	TimeBeforeRemoval = "00000000000500.000000:000";
	TimeOfLastStateChange = "20190326175117.000000-000";
	TimeSubmitted = "20190326175117.000000-000";
	UntilTime = NULL;
};
3/26 17:51:17.102 1a04 Facility ???INFO: VMConverter::HyperVConverter::AttachVirtualDisk: add_disk_synthetic 0 ErrorCode: 32768
3/26 17:51:17.102 1a04 Facility ???INFO: CPPConverting::ConverterVM: Attach disk ErrorCode: 32768
3/26 17:51:17.102 1a04 Facility ???INFO: CPPConverting::ConvertImage: pathInput: [Knights Datastore] HAF-MB-028 (AS2015)/HAF-MB-028 (AS2015)_1.vmdk, pathOutput: C:\ClusterStorage\Volume2\\HAF-MB-028 (AS2015)\HAF-MB-028 (AS2015)_1.vhdx
3/26 17:51:17.149 1a04 Facility ???ERROR: WrapperESXI::getSslThumbprint: IsValidResponse m_morComputeResource host false
3/26 17:51:17.149 1a04 Facility ???WARNING: VMConverter::ESXIConverter::GetSslThumbprint: getSslThumbprint fail - -1
3/26 17:51:17.149 1a04 Facility ???WARNING: WrapperESXI::disconnect: m_proxy->Logout fail - 12
3/26 17:51:17.149 1a04 Facility ???INFO: WrapperESXI::connect: m_url - https://10.1.210.12/sdk
3/26 17:51:17.305 1a04 Facility ???INFO: WrapperESXI::connect: fullName - Administrator, key - 522265c5-ee85-a09f-faf1-2c78a5827924
3/26 17:51:17.321 1a04 Facility ???INFO: VMConverter::ESXIConverter::GetSslThumbprint: Reconnect is OK
3/26 17:51:17.446 1a04 Facility ???INFO: CPPConverting::ConvertImage: SslThumbprint: E4:D8:6F:91:CB:F0:79:D0:EA:D3:83:A5:79:EB:8C:6F:D1:84:3C:80
3/26 17:51:17.477 1a04 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [Knights Datastore] HAF-MB-028 (AS2015)/HAF-MB-028 (AS2015)_1.vmdk
3/26 17:51:17.477 1a04 Facility ???INFO: ESXVmdk::ParseFile: m_cVMX - [Knights Datastore] HAF-MB-028 (AS2015)/HAF-MB-028 (AS2015).vmx
3/26 17:51:17.477 1a04 Facility ???INFO: ESXVmdk::ParseFile: m_cSSLThumbprint - E4:D8:6F:91:CB:F0:79:D0:EA:D3:83:A5:79:EB:8C:6F:D1:84:3C:80
3/26 17:51:18.868 1a04 Facility ???INFO: CPPConverting::ConvertImage: CreateInputImage: 0
3/26 17:51:19.618 1a04 Facility ???INFO: MicrosoftFile::NewFile: sFilename - \\localhost\C$\ClusterStorage\Volume2\\HAF-MB-028 (AS2015)\HAF-MB-028 (AS2015)_1.vhdx, nMaxSize - 167772160, fileType - 2
3/26 17:51:20.071 1a04 Facility ???INFO: CPPConverting::ConvertImage: CreateOutputImage: 0
3/26 19:04:44.388 1a04 Facility ???INFO: CPPConverting::ConvertImage: Success
3/26 19:04:44.435 1a04 Facility ???INFO: CPPConverting::ConverterVM: Disk param: fileSize - 85899345920, maxSize - 85899345920, type - 1, controllerType - 2, numLoc - 1
3/26 19:04:44.685 1a04 Facility ???INFO: VMConverter::HyperVConverter::AttachVirtualDisk: add_disk_synthetic __pathVirtualSystem - \\KN-KA-VHOST-01\root\virtualization\v2:Msvm_VirtualSystemSettingData.InstanceID="Microsoft:B1A1A604-47C3-47FE-9956-555F42F4A738", controller - \\KN-KA-VHOST-01\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:B1A1A604-47C3-47FE-9956-555F42F4A738\\D6D27B2F-ADC0-4E76-8D2F-3BC0DF2193AF\\0", numLoc - 1
3/26 19:04:44.748 1a04 Facility ???INFO: VMConverter::HyperVConverter::AttachVirtualDisk: add_disk_synthetic 1 \\KN-KA-VHOST-01\root\virtualization\v2:Msvm_ResourceAllocationSettingData.InstanceID="Microsoft:B1A1A604-47C3-47FE-9956-555F42F4A738\\D6D27B2F-ADC0-4E76-8D2F-3BC0DF2193AF\\0\\1\\D"
3/26 19:04:44.826 1a04 Facility ???ERROR: WrapperHyperV::add_disk_virtual: AddResourceSettings returnValue.iVal = 4096
3/26 19:04:44.841 1a04 Facility ???INFO: WrapperHyperV::waitJob: 
instance of Msvm_ConcreteJob
{
	Cancellable = FALSE;
	Caption = "Adding Resource";
	CommunicationStatus = NULL;
	DeleteOnCompletion = FALSE;
	Description = "Adding Resource";
	DetailedStatus = NULL;
	ElapsedTime = "00000000000000.018530:000";
	ElementName = "Adding Resource";
	ErrorCode = 32768;
	ErrorDescription = "'HAF-MB-028 (AS2015)' failed to add resources. (Virtual machine ID B1A1A604-47C3-47FE-9956-555F42F4A738)\n\n'HAF-MB-028 (AS2015)' encountered an unexpected error: The specified path is invalid. (0x800700A1). (Virtual machine ID B1A1A604-47C3-47FE-9956-555F42F4A738)";
	ErrorSummaryDescription = "'HAF-MB-028 (AS2015)' failed to add resources to 'HAF-MB-028 (AS2015)'.\n\nAn unexpected error occurred: The specified path is invalid. (0x800700A1).";
	HealthState = 5;
	InstallDate = "16010101000000.000000-000";
	InstanceID = "56EDCDFA-A44B-4302-B288-91F4BE4B21A6";
	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 = "KNIGHTS\\Administrator";
	PercentComplete = 0;
	PrimaryStatus = NULL;
	Priority = 0;
	RecoveryAction = 2;
	RunDay = NULL;
	RunDayOfWeek = NULL;
	RunMonth = NULL;
	RunStartInterval = NULL;
	ScheduledStartTime = "20190326190444.000000-000";
	StartTime = "20190326190444.000000-000";
	Status = "Error";
	StatusDescriptions = {"Job is completed", "Job is completed with error"};
	TimeBeforeRemoval = "00000000000500.000000:000";
	TimeOfLastStateChange = "20190326190444.000000-000";
	TimeSubmitted = "20190326190444.000000-000";
	UntilTime = NULL;
};
3/26 19:04:44.841 1a04 Facility ???INFO: VMConverter::HyperVConverter::AttachVirtualDisk: add_disk_synthetic 0 ErrorCode: 32768
3/26 19:04:44.841 1a04 Facility ???INFO: CPPConverting::ConverterVM: Attach disk ErrorCode: 32768
3/26 19:04:44.841 1a04 Facility ???INFO: CPPConverting::ConverterVM: Success
3/27 8:57:06.726 156c Facility ???WARNING: WrapperESXI::disconnect: m_proxy->Logout fail - 12
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Fri Mar 29, 2019 10:02 am

Hi Norphus,
Thank you for the logs.
We are working on this issue. It will be fixed in the new builds of StarWind V2V Converter.
Norphus
Posts: 3
Joined: Wed Mar 27, 2019 8:56 am

Thu Jul 11, 2019 8:43 am

Oleg(staff) wrote:Hi Norphus,
Thank you for the logs.
We are working on this issue. It will be fixed in the new builds of StarWind V2V Converter.
Any idea when a new build is coming? I have two virtual farms to convert from VMware to Hyper-V over the next couple of weeks and a fix to this issue, while not entirely essential, would be appreciated.
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Fri Jul 12, 2019 9:23 am

Hi Norphus,
Could you please log a support case using this form?
Please refer to this thread.
Norphus
Posts: 3
Joined: Wed Mar 27, 2019 8:56 am

Wed Jul 17, 2019 11:14 am

Starwind have supplied me with the latest build and this issue, along with the mounting of G1 boot drives as SCSI instead of IDE, has been resolved. Thanks to Oleg for his help.
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Wed Jul 17, 2019 11:44 am

You are welcome :)
Post Reply