CS-4.20.0.0 KVM Volume Download RAW template instead of QCOW2
problem
Download template:
Cloudstack
WHen I attempt to upload a Qcow2 I got an error that the format is not supported.
https://M-Y-I-P.ourclouddomain.com/userdata/47705e02-ee10-434f-b04d-54ef043842f0/ROOT-22.raw
There are no errors, at all I saw the file copied to the Secondary storage via the SSVM and its just come as raw.
My understanding is the File at the secondary storage should be .qcow2 when using kvm, even if we are using CEPH as primary.
Is there a hidden setting ? Is the new normal behavior? What is the process in this case to Register a template, Should we use a RAW file in this scenario to register a Template.
Thank you
Tata Y.
versions
Cloudstack 4.20.0.0 Primary Storage CEPH IPV6 Secondary Storage NFS - EMC ipv4 Hypervisor KVM
consoleproxy.url.domain = *.ourclouddomain.com consoleproxy.sslEnabled = true secstorage.ssl.cert.domain = *.ourclouddomain.com secstorage.encrypt.copy = true
The steps to reproduce the bug
- Create a VNF from an ISO
- Configure the VNF general settings
- Download the Volume template from Volume> Download - show raw extension instead of QCOW2
What to do about it?
Cloudstack should convert the raw to Qcow2 to Copy to Secondary storage
Hello, @tatay188
From a quick code inspection, it is expected that the volume is copied as RAW on the secondary storage. Since the QCOW2 format is not the one being used on the volume, I would said that it makes sense. Is there a particular reason you would expect it to be in QCOW2 format?
Maybe @wido could expand on my answer.
I was trying to create a VNF following the Wei Guidance and videos:
Can I use the Raw to create the VNF? Or SHould I Download it Convert to QCOW2 then Proceed with the next steps.
Also do you have Any documentation about How to Create a VPC or Isolated network using the VNF instead the virtual Router - meaning no Virtual router.
Thank you you very much.
Tata Y.
On Jun 11, 2025, at 12:35 PM, João Jandre @.***> wrote:
JoaoJandre left a comment (apache/cloudstack#10963) https://github.com/apache/cloudstack/issues/10963#issuecomment-2963487214 Hello, @tatay188 https://github.com/tatay188 From a quick code inspection, it is expected that the volume is copied as RAW on the secondary storage. Since the QCOW2 format is not the one being used on the volume, I would said that it makes sense. Is there a particular reason you would expect it to be in QCOW2 format?
Maybe @wido https://github.com/wido could expand on my answer.
— Reply to this email directly, view it on GitHub https://github.com/apache/cloudstack/issues/10963#issuecomment-2963487214, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNEALOMRIYSVDCVNPGTYCD3DBLGXAVCNFSM6AAAAAB6VRBYXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNRTGQ4DOMRRGQ. You are receiving this because you were mentioned.
@tatay188 VNF is a special type of VM instance. It looks like the issues you faced are not related to VNF functionality, but regular VM/volume lifecycle.
Also do you have Any documentation about How to Create a VPC or Isolated network using the VNF instead the virtual Router - meaning no Virtual router.
I used VPC or Isolated network as the public NIC of VNF as example, is because other VMs can reach the Internet via the VR of VPC/isolated network. You can of course use shared network instead of VPC/isolated network., or do not add public NIC if VMs do not need to access the Internet
Hello Wei,
It is a special one, but Will it work using the rRAW file or I need to conver it to QCOW2?
Thank you for responding. Where do you select the VNF instead of the VR for any of them, for example for isolated network.
Tata Y.
On Jun 11, 2025, at 2:21 PM, Wei Zhou @.***> wrote:
weizhouapache left a comment (apache/cloudstack#10963) https://github.com/apache/cloudstack/issues/10963#issuecomment-2963768613 @tatay188 https://github.com/tatay188 VNF is a special type of VM instance. It looks like the issues you faced are not related to VNF functionality, but regular VM/volume lifecycle.
Also do you have Any documentation about How to Create a VPC or Isolated network using the VNF instead the virtual Router - meaning no Virtual router.
I used VPC or Isolated network as the public NIC of VNF as example, is because other VMs can reach the Internet via the VR of VPC/isolated network. You can of course use shared network instead of VPC/isolated network., or do not add public NIC if VMs do not need to access the Internet
— Reply to this email directly, view it on GitHub https://github.com/apache/cloudstack/issues/10963#issuecomment-2963768613, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNEALMXNNTO2Z74MIVCPET3DBXRJAVCNFSM6AAAAAB6VRBYXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNRTG43DQNRRGM. You are receiving this because you were mentioned.
please keep eye on #10937