apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.1k stars 1.11k forks source link

Unable to create a instance on hyper-v host #8738

Closed kedupuganti-kub closed 8 months ago

kedupuganti-kub commented 8 months ago
ISSUE TYPE
COMPONENT NAME

Hyper-v

CLOUDSTACK VERSION

4.19

CONFIGURATION
OS / ENVIRONMENT
SUMMARY

Hyperv installed and cloudstack agent installed in hyper-v and it is attached to cloudstack managment successfully. I have created Primary storage as SMB and secondary as SMB. All the componets are got attached and it is in green.

I am trying to create one instance with ubunutu 22 and windows server 2019 in hyperv through cloudstack but i'm getting the below error " Hypervisor Hyperv does not support rootdisksize override"

Can any one help us on this.

STEPS TO REPRODUCE

I am trying to create one instance with ubunutu 22 and windows server 2019 in hyperv through cloudstack but i'm getting the below error " Hypervisor Hyperv does not support rootdisksize override"

EXPECTED RESULTS

Hyper-v instance creating thorugh cloudstack

ACTUAL RESULTS

Hyperv installed and cloudstack agent installed in hyper-v and it is attached to cloudstack managment successfully. I have created Primary storage as SMB and secondary as SMB. All the componets are got attached and it is in green.

I am trying to create one instance with ubunutu 22 and windows server 2019 in hyperv through cloudstack but i'm getting the below error " Hypervisor Hyperv does not support rootdisksize override"

boring-cyborg[bot] commented 8 months ago

Thanks for opening your first issue here! Be sure to follow the issue template!

DaanHoogland commented 8 months ago

@kedupuganti-kub I am not sure if there are active hyperv users at the moment. There are no hyperv maintainers. We'll try to help of course. First thing to check: Are the systemvms up and running?

weizhouapache commented 8 months ago

this seems to be caused by #7692

https://github.com/apache/cloudstack/blob/9a73a2f9e1433103373e7bd9da8b5feef4479feb/server/src/main/java/com/cloud/vm/UserVmManagerImpl.java#L665-L671

as @DaanHoogland said, the plugin is not well-maintained.

kedupuganti-kub commented 8 months ago

I have tried to https://github.com/apache/cloudstack/pull/7692 tried in this way

but the problem here the error which i am getting is 22 port on hyperv and saying that "kvm is not installed in the host" as i am looking for the hyperv integration.

Could you please help me i need to deliver this to client with hyperv

DaanHoogland commented 8 months ago

@kedupuganti-kub are your systemvms up and connected?

kedupuganti-kub commented 8 months ago

No Daan no systemvms is not running. But agent is started in the hyperv and it is added to cluster.

I have another KVM cluster in that it is running.