VMware Import - Support external VMware VMs in any folders/subfolders other than the root folder of datacenter (from KVM hosts)#10411
Conversation
…than the root folder ('vm') of datacenter
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10411 +/- ##
============================================
- Coverage 15.15% 15.15% -0.01%
+ Complexity 11318 11316 -2
============================================
Files 5413 5413
Lines 474670 474702 +32
Branches 57890 57894 +4
============================================
- Hits 71953 71945 -8
- Misses 394668 394711 +43
+ Partials 8049 8046 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12489 |
kiranchavala
left a comment
There was a problem hiding this comment.
LGTM, Tested the vmware to kvm from a external centre which has a vm inside a folder and the import was successful
root@ref-trl-7982-k-Mu24-kiran-chavala-kvm1:~# ps -ef |grep ovf
root 18670 16195 67 07:07 ? 00:00:59 /root/bin/ovftool.bin --noSSLVerify vi://Administrator%40vsphere.local:P%40ssword123@10.0.34.155/Trillian/vm/newfolder/New Virtual Machine /mnt/218f7f40-87f7-31c2-a8b1-ca376dcff488/3809aae0-1a97-4a2b-abfc-0e9841aa68e9/
root@ref-trl-7982-k-Mu24-kiran-chavala-kvm1:~# grep "VM path" /var/log/cloudstack/agent/agent.log
2025-02-18 07:07:13,762 INFO [resource.wrapper.LibvirtConvertInstanceCommandWrapper] (agentRequest-Handler-3:null) (logid:ae63321c) VM path: vm/newfolder
…s other than the root folder ('vm') of datacenter (apache#10411)"
This reverts commit b9ebc7b.
…than the root folder ('vm') of datacenter (apache#10411)
Description
This PR adds import/migration support for external VMware VMs in any folders/subfolders other than the root folder ('vm') of datacenter, from KVM hosts (using ovftool).
Fixes #10400
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manually tested the VMware VMs import for the VMs created in root folder ('vm'), folder & subfolder.
How did you try to break this feature and the system with this change?