Error converting 2012R2 "Physical" machine to AWS

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

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

Post Reply
SRJoLi
Posts: 3
Joined: Fri Dec 06, 2024 11:54 am

Fri Dec 06, 2024 12:42 pm

Hello,

I have a 2012R2 server that I'd like to migrate into my AWS environment.
The server is virtual, but I have no hypervisor access so I am performing a P2V migration.

I'm running into issues though - the conversion starts and seems to complete successfully.
I can see files being copied into the AWS S3 bucket created by Starwind V2V converter "v2v...."

I'm using the following instruction:
https://www.starwindsoftware.com/v2v-he ... vices.html

I did see:
https://www.starwindsoftware.com/v2v-he ... vices.html

Which suggests I need an "allow all" inbound rule on my default security group.
I'm assuming this doesn't need to be on the default security group but can be attached to the SG specified in the Starwind V2V configuration.
Is there a set of ports I can further lock this down to?
I am not sure if I need to make any amendment because I do end up with a VHD in the S3 bucket, but I get this failure at the end of the conversion.

End of log:
12/4 22:08:59.799 5b8 Facility ???INFO: P2V::getSectorsNext: countClusters - 4150288, dwCountBytes - 4150288
12/4 22:09:05.866 5b8 Facility ???INFO: CPPConverting::ConvertImage: Success
12/4 22:09:05.873 5b8 Facility ???WARNING: CPPConverting::ConverterAWS: Disk path is fail -
12/4 22:09:05.873 5b8 Facility ???ERROR: CPPConverting::Convert: FAILED

Has anyone experience of this error that may be able to help?

Thank you very much!
yaroslav (staff)
Staff
Posts: 3220
Joined: Mon Nov 18, 2019 11:11 am

Fri Dec 06, 2024 12:54 pm

Hi,

You need to make the changes to allow conversion.
Can I please have the entire log?
SRJoLi
Posts: 3
Joined: Fri Dec 06, 2024 11:54 am

Thu Dec 12, 2024 12:01 pm

Please find the latest log attached.
Attachments
V2V_Log-20241212-113003.txt.zip
(3.57 KiB) Downloaded 53 times
yaroslav (staff)
Staff
Posts: 3220
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 12, 2024 2:07 pm

Thanks! Could you please try repeating the conversion with the AWS root user?
SRJoLi
Posts: 3
Joined: Fri Dec 06, 2024 11:54 am

Fri Dec 13, 2024 10:44 am

Thank you - I am running this using the secret key and access key created by the root user.

Typically I am selecting all of the disks in the server, but the failure occurs after the HDD0 (system drive) has been sent to S3 but before the other drives start to convert.

I can run the following command manually using the same secret and access keys via awscli
aws ec2 import-image --description "servername" --disk-containers "file:///data/containers.json"

This command makes the uploaded VHD file of HDD0 into a Snapshot, from which I can then generate an AMI template and then I am able to launch an instance from it and boot into the OS and log in (albeit with just the C: drive and no data drives)

This is my containers.json

Code: Select all

[
  {
    "Description": "servername",
    "Format": "vhd",
    "UserBucket": {
        "S3Bucket": "v2v-converter-bucket-42c23b6e-16d9-43ac-93cb-ca78d485252",
        "S3Key": "HDD.vhd"
    }
  }
]
yaroslav (staff)
Staff
Posts: 3220
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 26, 2024 9:26 am

Thanks for your update. My colleagues are still investigating this incident. I will keep you posted.
Many thanks!
yaroslav (staff)
Staff
Posts: 3220
Joined: Mon Nov 18, 2019 11:11 am

Mon Jan 06, 2025 9:06 am

Thank you for your patience!
My colleagues mentioned that StarWind V2V Converter works only with MBR partition.
Post Reply