On Fri, May 13, 2022 at 5:43 PM rickey john <rickeyjohn1...@gmail.com> wrote:
>
> I am trying to import a ubuntu 18 os ovirt vm ova template.
> For this i am creating task with below command aws ec2 import-image --region 
> ap-south-1 --description "Ovirt VM" --license-type BYOL --disk-containers 
> "file://containers.json" aws ec2 describe-import-image-tasks --region 
> ap-south-1 --import-task-ids import-ami-0755c8cd52d08ac88
>
> But unfortunately it is failing with "StatusMessage": "ClientError: No valid 
> partitions. Not a valid volume." error.
>
> can someone please guide the steps to export and  import ovirt vm ova into 
> aws ec2 instance?

oVirt OVA disk are using qcow2 format. Does aws tool support this format?

You can try to extract the OVA file (which is a tar file):

    tar xf ovirt.ova

And then convert the disks to raw format:

    cd extracted-ova
    qemu-img convert -f qcow2 -O raw disk1.qcow2 disk1.raw

And tey to import the extracted OVA using ther raw images.

This will not be very efficient but it will help to debug this issue.

Nir
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/V5HNZ5ZTI4322ORADQXOTK7DNTWYXXDO/

Reply via email to