You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "patrick-jpg-668 (via GitHub)" <gi...@apache.org> on 2025/12/06 07:54:04 UTC

[D] Convert Hyper-V Instance to Template [cloudstack]

GitHub user patrick-jpg-668 created a discussion: Convert Hyper-V Instance to Template

Hi all,

My setup uses KVM with Ceph storage. The only approach I’ve found so far is to convert Hyper-V VHDX files to QCOW2 and then upload them to CloudStack as templates. Some of my instances are very large, ranging from 100 GB up to over 1 TB. I’ve tried uploading a converted 100 GB QCOW2, but it always times out (around an hour). Is there any parameter or global configuration I can adjust to increase or bypass this timeout?

I'm on version 21... thanks much.


GitHub link: https://github.com/apache/cloudstack/discussions/12203

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Convert Hyper-V Instance to Template [cloudstack]

Posted by "prashanthr2 (via GitHub)" <gi...@apache.org>.
GitHub user prashanthr2 added a comment to the discussion: Convert Hyper-V Instance to Template

@patrick-jpg-668  I think you are saying that based on https://github.com/apache/cloudstack/issues/7301 . The global setting is described as timeout for volume upload. But I remember this comes into play when uploading the template or ISO as well. 

I would start with increasing the value of this global setting to see if it makes any difference ( it doesn't have any side effect). If there is still an issue look at the management server log (/var/log/cloudstack/management/management-server.log) and /var/log/cloud.log from the SSVM to figure out what is causing the timeout.  You can upload these logs here and I can take a look if needed



GitHub link: https://github.com/apache/cloudstack/discussions/12203#discussioncomment-15208927

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Convert Hyper-V Instance to Template [cloudstack]

Posted by David Sekne <da...@webtasy.com>.
Hi Patrick,

We have done a lot of cross platform migrations (thousands) on our side 
from hyper-v, vmware to proxmox, ovirt, ACS. We also need to have 
minimum downtime for each migration. The simplest approach for this for 
us has always been with a shared NFS between the platforms.

Our procedure is then something like this:
1. Live migrate the running VM's disk to the shared NFS
2. Shutdown VM
3. Convert disk if needed (you need to convert it coming from hyper-v). 
This should be run from the NFS server itself.
4. Attach the disk to a new VM on the new platform (or import in the 
case of ACS)
5. Start the VM
6. Live migrate the disk again to the final storage

This would typically mean just minutes of downtime per VM (its longer if 
you need to convert the disk).

I am not a bi fan of the "upload disk via https" on any of the platforms 
as it is always too slow and will likely timeout (our disks are up to 4Tb).

Regards,

On 12/9/25 16:44, patrick-jpg-668 (via GitHub) wrote:
> GitHub user patrick-jpg-668 added a comment to the discussion: Convert Hyper-V Instance to Template
>
> Hi,
>
> I tried with 360min before posting here...Let me check the logs and see if able to capture anything from there. Thanks much!
>
>
> GitHub link: https://github.com/apache/cloudstack/discussions/12203#discussioncomment-15210091
>
> ----
> This is an automatically sent email for users@cloudstack.apache.org.
> To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org
>
>
-- 
David Sekne
Systems Administrator
--
DHH Infrastructure team
Webtasy, d.o.o., Slovenia
Plus Hosting Grupa d.o.o., Croatia
mCloud d.o.o., Serbia



Re: [D] Convert Hyper-V Instance to Template [cloudstack]

Posted by "patrick-jpg-668 (via GitHub)" <gi...@apache.org>.
GitHub user patrick-jpg-668 added a comment to the discussion: Convert Hyper-V Instance to Template

Hi,

I tried with 360min before posting here...Let me check the logs and see if able to capture anything from there. Thanks much!


GitHub link: https://github.com/apache/cloudstack/discussions/12203#discussioncomment-15210091

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Convert Hyper-V Instance to Template [cloudstack]

Posted by "patrick-jpg-668 (via GitHub)" <gi...@apache.org>.
GitHub user patrick-jpg-668 added a comment to the discussion: Convert Hyper-V Instance to Template

Hi, 

I saw this setting but i believe this setting is simply to remove failed template (default 60 minutes). It is not the timeout value for uploading template.

Thanks



GitHub link: https://github.com/apache/cloudstack/discussions/12203#discussioncomment-15208812

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Convert Hyper-V Instance to Template [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
GitHub user DaanHoogland added a comment to the discussion: Convert Hyper-V Instance to Template

any updates @patrick-jpg-668 ?

GitHub link: https://github.com/apache/cloudstack/discussions/12203#discussioncomment-16814292

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] Convert Hyper-V Instance to Template [cloudstack]

Posted by "prashanthr2 (via GitHub)" <gi...@apache.org>.
GitHub user prashanthr2 added a comment to the discussion: Convert Hyper-V Instance to Template

@patrick-jpg-668 Try to increase the value in the global setting upload.operation.timeout and see if that helps you

GitHub link: https://github.com/apache/cloudstack/discussions/12203#discussioncomment-15193989

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org