ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Vmware datacenter, KVM cluster on CloudStack
OS / ENVIRONMENT
N/A
SUMMARY
On VMware vCenter datacenters with a big number of VMs the API listVmwareDcVms takes a while to complete. It was tested on VMware datacenters containing 500-600 VMs taking ~13 minutes to complete. When invoked from the UI, the Vmware VMs listing displays a 'Request failed' error at around 10 minutes even though the API continues running in the background:

STEPS TO REPRODUCE
- Go to Import-Export Instances
- Select Vmware as the source hypervisor and action: Migrate instances to KVM
- Choose KVM destination cluster
- Provide vCenter information
- List VMware Instances
EXPECTED RESULTS
The VMware vCenter VMs list
ACTUAL RESULTS
Request failed (API doesn't fail but the results are not displayed on the UI)