You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Granwille Strauss <gr...@namhost.com.INVALID> on 2025/11/18 12:36:09 UTC

Failed to convert .vmdk

Hello

I registered a new template via CloudStack UI, URL: 
https://cloud-images.ubuntu.com/releases/jammy/release/ubuntu-22.04-server-cloudimg-amd64.vmdk 


And afterwards attempted to boot a new VM from it, but resulted in this 
error:

> 2025-11-18 14:00:30,752 WARN [utils.script.Script] 
> (agentRequest-Handler-1:[]) (logid:65d003b3) Execution of process 
> [970156] for command [qemu-img convert -O qcow2 -U --image-opts 
> driver=qcow2,file.filename=/mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk 
> /var/lib/libvirt/images/8fe2699a-e064-4129-9279-ebe6c06b7293 ] failed.
>
> 2025-11-18 14:00:30,752 WARN  [utils.script.Script] 
> (agentRequest-Handler-1:[]) (logid:65d003b3) Process [970156] for 
> command [qemu-img convert -O qcow2 -U --image-opts 
> driver=qcow2,file.filename=/mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk 
> /var/lib/libvirt/images/8fe2699a-e064-4129-9279-ebe6c06b7293 ] 
> encountered the error: [qemu-img: Could not open 
> 'driver=qcow2,file.filename=/mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk': 
> Image is not in qcow2 format].
>
> 2025-11-18 14:00:30,753 ERROR [kvm.storage.LibvirtStorageAdaptor] 
> (agentRequest-Handler-1:[]) (logid:65d003b3) Failed to convert 
> /mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk 
> to /var/lib/libvirt/images/8fe2699a-e064-4129-9279-ebe6c06b7293 the 
> error was: qemu-img: Could not open 
> 'driver=qcow2,file.filename=/mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk': 
> Image is not in qcow2 format

Am I missing something? CloudStack UI literally gives me the option to 
register VMDK format via the UI.

-- 
Regards / Groete

<https://www.namhost.com> 	Granwille Strauss  // Senior Systems Admin

*e:* granwille@namhost.com
*m:* +264 81 323 1260 <tel:+264813231260>
*w:* www.namhost.com <https://www.namhost.com/>

<https://www.facebook.com/namhost> <https://twitter.com/namhost> 
<https://www.instagram.com/namhostinternetservices/> 
<https://www.linkedin.com/company/namhost> 
<https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA>

<https://www.namhost.com/competition?r=signature>

Namhost Internet Services (Pty) Ltd ,

                     24 Black Eagle Rd, Hermanus, 7210, RSA
                 


The content of this message is confidential. If you have received it by 
mistake, please inform us by an email reply and then delete the message. 
It is forbidden to copy, forward, or in any way reveal the contents of 
this message to anyone without our explicit consent. The integrity and 
security of this email cannot be guaranteed over the Internet. 
Therefore, the sender will not be held liable for any damage caused by 
the message. *Please note that Namhost Internet Services (Pty) Ltd will 
never change its banking details via email*. Always verify our account 
information directly with our offices and your bank before making 
payment, as we will not accept liability for any loss arising from 
payments made to fraudulent accounts- we recommend first making a test 
payment to us. Although we take reasonable precautions to prevent 
malware and viruses, we cannot guarantee that this email is free from 
harmful content, and we accept no responsibility for any damage or loss 
caused by such content. For our full privacy policy and disclaimers, 
please go to https://www.namhost.com/privacy-policy


Re: Failed to convert .vmdk

Posted by Wei ZHOU <us...@gmail.com>.
Hi,

It is a good idea. You can try with qcow2 and raw (.img), both should work.


-Wei



On Tue, Nov 18, 2025 at 1:38 PM Granwille Strauss
<gr...@namhost.com.invalid> wrote:

> Hello
>
> I registered a new template via CloudStack UI, URL:
> https://cloud-images.ubuntu.com/releases/jammy/release/ubuntu-22.04-server-cloudimg-amd64.vmdk
>
>
> And afterwards attempted to boot a new VM from it, but resulted in this
> error:
>
> 2025-11-18 14:00:30,752 WARN  [utils.script.Script]
> (agentRequest-Handler-1:[]) (logid:65d003b3) Execution of process
> [970156] for command [qemu-img convert -O qcow2 -U --image-opts
> driver=qcow2,file.filename=/mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk
> /var/lib/libvirt/images/8fe2699a-e064-4129-9279-ebe6c06b7293 ] failed.
>
> 2025-11-18 14:00:30,752 WARN  [utils.script.Script]
> (agentRequest-Handler-1:[]) (logid:65d003b3) Process [970156] for command
> [qemu-img convert -O qcow2 -U --image-opts
> driver=qcow2,file.filename=/mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk
> /var/lib/libvirt/images/8fe2699a-e064-4129-9279-ebe6c06b7293 ] encountered
> the error: [qemu-img: Could not open
> 'driver=qcow2,file.filename=/mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk':
> Image is not in qcow2 format].
>
> 2025-11-18 14:00:30,753 ERROR [kvm.storage.LibvirtStorageAdaptor]
> (agentRequest-Handler-1:[]) (logid:65d003b3) Failed to convert
> /mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk
> to /var/lib/libvirt/images/8fe2699a-e064-4129-9279-ebe6c06b7293 the error
> was: qemu-img: Could not open
> 'driver=qcow2,file.filename=/mnt/0a456ed7-de87-3956-a372-2886da3d8999/6daf7341-3f1b-366d-b068-24d206cab7f0.vmdk':
> Image is not in qcow2 format
>
> Am I missing something? CloudStack UI literally gives me the option to
> register VMDK format via the UI.
> --
> Regards / Groete
>
> <https://www.namhost.com> Granwille Strauss  //  Senior Systems Admin
>
> *e:* granwille@namhost.com
> *m:* +264 81 323 1260 <+264813231260>
> *w:* www.namhost.com
>
> <https://www.facebook.com/namhost> <https://twitter.com/namhost>
> <https://www.instagram.com/namhostinternetservices/>
> <https://www.linkedin.com/company/namhost>
> <https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA>
>
> <https://www.namhost.com/competition?r=signature>
>
> Namhost Internet Services (Pty) Ltd ,
>
>                     24 Black Eagle Rd, Hermanus, 7210, RSA
>
>
>
> The content of this message is confidential. If you have received it by
> mistake, please inform us by an email reply and then delete the message. It
> is forbidden to copy, forward, or in any way reveal the contents of this
> message to anyone without our explicit consent. The integrity and security
> of this email cannot be guaranteed over the Internet. Therefore, the sender
> will not be held liable for any damage caused by the message. *Please
> note that Namhost Internet Services (Pty) Ltd will never change its banking
> details via email*. Always verify our account information directly with
> our offices and your bank before making payment, as we will not accept
> liability for any loss arising from payments made to fraudulent accounts-
> we recommend first making a test payment to us. Although we take reasonable
> precautions to prevent malware and viruses, we cannot guarantee that this
> email is free from harmful content, and we accept no responsibility for any
> damage or loss caused by such content. For our full privacy policy and
> disclaimers, please go to https://www.namhost.com/privacy-policy
>
>