Added vddk support in vmware to kvm migrations#12970
Added vddk support in vmware to kvm migrations#12970harikrishna-patnala wants to merge 21 commits intoapache:4.22from
Conversation
b95cfb7 to
7dc5d50
Compare
|
@blueorangutan package |
|
@harikrishna-patnala 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 Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.22 #12970 +/- ##
============================================
+ Coverage 17.60% 17.62% +0.01%
- Complexity 15688 15711 +23
============================================
Files 5919 5919
Lines 532005 532451 +446
Branches 65060 65138 +78
============================================
+ Hits 93683 93822 +139
- Misses 427755 428038 +283
- Partials 10567 10591 +24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@harikrishna-patnala 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. |
|
@blueorangutan package |
|
@harikrishna-patnala 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. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17380 |
|
@blueorangutan package |
agent/conf/agent.properties
Outdated
| # Instance conversion VIRT_V2V_TMPDIR env var | ||
| #convert.instance.env.virtv2v.tmpdir= | ||
|
|
||
| # LIBGUESTFS backend to use for VMware to KVM conversion via VDDK (default: direct) |
There was a problem hiding this comment.
should keep other possible options in the comment (other than direct) ?
There was a problem hiding this comment.
if direct is the only option supported for vddk, can remove this config?
api/src/main/java/org/apache/cloudstack/api/command/admin/vm/ImportVmCmd.java
Outdated
Show resolved
Hide resolved
...ain/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtConvertInstanceCommandWrapper.java
Outdated
Show resolved
Hide resolved
...ain/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtConvertInstanceCommandWrapper.java
Outdated
Show resolved
Hide resolved
...ain/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtConvertInstanceCommandWrapper.java
Outdated
Show resolved
Hide resolved
...ain/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtConvertInstanceCommandWrapper.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/apache/cloudstack/vm/UnmanagedVMsManagerImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/apache/cloudstack/vm/UnmanagedVMsManagerImpl.java
Outdated
Show resolved
Hide resolved
api/src/main/java/org/apache/cloudstack/api/command/admin/vm/ImportVmCmd.java
Show resolved
Hide resolved
...ypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
Outdated
Show resolved
Hide resolved
aa710bd to
782f8fe
Compare
|
@blueorangutan package |
|
@sureshanaparti thanks for all the reviews, I've addressed them |
|
@blueorangutan package |
|
@harikrishna-patnala 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. |
...ain/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtConvertInstanceCommandWrapper.java
Show resolved
Hide resolved
...ain/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtConvertInstanceCommandWrapper.java
Outdated
Show resolved
Hide resolved
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17479 |
server/src/test/java/org/apache/cloudstack/vm/UnmanagedVMsManagerImplTest.java
Outdated
Show resolved
Hide resolved
|
@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. |
Description
This PR introduces the VDDK implementation as part of VMware to KVM migration which reduces the migration time by half when compared to the existing implementation with exportOVF
Solution: Introduce VDDK configuration at both the host agent level and per-API-call level, wired through the migration execution pipeline on the KVM host.
Key Capabilities
agent.propertieskeys configure VDDK defaults per KVM hostimportVmdetails, overriding host defaults-ipor--password-filebased on virt-v2v version, and deleted immediately after useopenssl s_clientConfiguration Keys
Precedence
Doc PR: apache/cloudstack-documentation#640
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?