cloudstack/plugins
Suresh Kumar Anaparti 46f672563e
Improve migration of external VMware VMs into KVM cluster (#8815)
* Create/Export OVA file of the VM on external vCenter host, to temporary conversion location (NFS)

* Fixed ova issue on untar/extract ovf from ova file
"tar -xf" cmd on ova fails with "ovf: Not found in archive" while extracting ovf file

* Updated VMware to KVM instance migration using OVA

* Refactoring and cleanup

* test fixes

* Consider zone wide pools in the destination cluster for instance conversion

* Remove local storage pool support as temporary conversion location
- OVA export not possible as the pool is not accessible outside host, NFS pools are supported.

* cleanup unused code

* some improvements, and refactoring

* import nic unit tests

* vmware guru unit tests

* Separate clone VM and create template file for VMware migration
- Export OVA (of the cloned VM) to the conversion location takes time.
- Do any validations with cloned VM before creating the template (and fail early).
- Updated unit tests.

* Check conversion support on host before clone vm / create template on vmware (and fail early)

* minor code improvements

* Auto select the host with instance conversion capability

* Skip instance conversion supported response param for non-KVM hosts

* Show supported conversion hosts in the UI

* Skip persistence map update if network doesn't exist

* Added support to export OVA from KVM host, through ovftool (when installed in KVM host)

* Updated importvm api param 'usemsforovaexport' to 'forcemstodownloadvmfiles', to be generic

* Updated hardcoded UI messages with message labels

* Updated UI to support importvm api param - forcemstodownloadvmfiles

* Improved instance conversion support checks on ubuntu hosts, and for windows guest vms

* Use OVF template (VM disks and spec files) for instance conversion from VMware, instead of OVA file
 - this would further increase the migration performance (as it reduces the time for OVA preparation / archiving of the VM files into a single file)

* OVF export tool parallel threads code improvements

* Updated 'convert.vmware.instance.to.kvm.timeout' config default value to 3 hrs

* Config values check & code improvements

* Updated import log, with time taken and vm details

* Support for parallel downloads of VMware VM disk files while exporting OVF from MS, and other changes below.
- Skip clone for powered off VMs
- Fixes to support standalone host (with its default datacenter)
- Some code improvements

* rebase fixes

* rebase fixes

* minor improvement

* code improvements - threads configuration, and api parameter changes to import vm files

* typo fix in error msg
2024-06-27 21:14:13 +05:30
..
acl Updates to HPE-Primera and Pure FlashArray Drivers to use Host-based VLUN Assignments (#8889) 2024-06-25 10:35:39 +05:30
affinity-group-processors Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
alert-handlers Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
api api: listApis should return params based on caller (#8973) 2024-06-11 11:28:08 +05:30
backup [Veeam] Check for failures in the restore process (#7224) 2024-06-26 00:41:38 +05:30
ca/root-ca Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
database Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
dedicated-resources Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
deployment-planners Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
drs/cluster Add advance settings to fine tune DRS imbalance calculation (#8521) 2024-02-13 11:18:53 +05:30
event-bus Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
ha-planners/skip-heurestics Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
host-allocators/random Fix allocation of VMs with multiple clusters (#8611) 2024-06-14 13:54:01 +03:00
hypervisors Improve migration of external VMware VMs into KVM cluster (#8815) 2024-06-27 21:14:13 +05:30
integrations CKS/calico: set arp_ignore and arp_announce to 0 in k8s controller/nodes (#9186) 2024-06-26 12:18:50 +05:30
metrics Do not retrieve VM's stats on normal VM listing (#8782) 2024-06-05 17:45:28 +05:30
network-elements vxlan: do not create duplicated network for private gateway (#9232) 2024-06-19 09:44:49 +03:00
outofbandmanagement-drivers Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
shutdown plugins/shutdown: fix triggerShutdown scheduling and response (#9276) 2024-06-21 10:12:16 +05:30
storage Temporarily backup StorPool volume before expunge (#8843) 2024-06-26 13:58:04 +05:30
storage-allocators/random Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
user-authenticators Accept a role ID on linking an account to LDAP (#8236) 2024-06-26 01:26:28 +05:30
user-two-factor-authenticators Updating pom.xml version numbers for release 4.18.3.0-SNAPSHOT 2024-04-17 11:11:57 -03:00
pom.xml Merge release branch 4.18 to 4.19 2024-04-24 11:10:00 +02:00