[Vmware] Improve listing of Vmware Datacenter VMs for migration to KVM#10770
[Vmware] Improve listing of Vmware Datacenter VMs for migration to KVM#10770DaanHoogland merged 12 commits intoapache:4.19from
Conversation
|
@blueorangutan package |
|
@nvazquez 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 #10770 +/- ##
==========================================
Coverage 15.16% 15.17%
- Complexity 11332 11344 +12
==========================================
Files 5412 5415 +3
Lines 475033 475564 +531
Branches 57963 58033 +70
==========================================
+ Hits 72048 72146 +98
- Misses 394930 395353 +423
- Partials 8055 8065 +10
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:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13166 |
|
@blueorangutan test ol8 vmware-70u3 |
|
@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-70u3) has been kicked to run smoke tests |
.../vmware/src/main/java/org/apache/cloudstack/api/command/admin/zone/ListVmwareDcHostsCmd.java
Outdated
Show resolved
Hide resolved
|
[SF] Trillian test result (tid-13127)
|
|
@blueorangutan package |
|
@nvazquez 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 ✔️ debian ✔️ suse15. SL-JID 13352 |
|
@blueorangutan test ol8 vmware-70u3 |
|
@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-70u3) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@nvazquez 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 ✔️ debian ✔️ suse15. SL-JID 13363 |
|
@blueorangutan test ol8 vmware-70u3 |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-70u3) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@nvazquez 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 ✔️ debian ✔️ suse15. SL-JID 13366 |
NuxRo
left a comment
There was a problem hiding this comment.
tested latest changes, lgtm
|
[SF] Trillian test result (tid-13279)
|
|
@blueorangutan test ol8 vmware-70u3 |
|
@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-70u3) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-13288)
|
|
[SF] Trillian test result (tid-13298)
|
apache#10770) Co-authored-by: dahn <daan.hoogland@gmail.com> Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
Description
This PR improves the listing of Vmware VMs for KVM migration tool to reduce the timeout observed while listing VMs on a datacenter. The improvement is performed in two stages:
listVmwareDcVmsAPI setting thedatacenternameparameter only)listVmwareDcVmsAPI setting thedatacentername,hostnameandvirtualmachinenameparameter)It was originally added by PR: #9925 but reverted as it caused unintended regression affecting the VM console access (#10634).
Fixes: #9782
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested against Vmware vCenter datacenter with 200+ VMs, listing times reduced significantly from 30 seconds to <1 second for the entire datacenter VMs
Same command time difference against the same vCenter: (
time cmk list vmwaredcvms vcenter=XXXX datacentername=XXXX username=XXXX password=XXXX page=1 pagesize=10 filter=name)Before:
After: