-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Vmware to KVM Migration] Fix issue with vCenter Standalone hosts for VM listing #11091
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 4.19
Are you sure you want to change the base?
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 #11091 +/- ##
=========================================
Coverage 15.17% 15.18%
- Complexity 11363 11365 +2
=========================================
Files 5416 5416
Lines 475911 475919 +8
Branches 58096 58095 -1
=========================================
+ Hits 72241 72251 +10
+ Misses 395584 395582 -2
Partials 8086 8086
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 13921 |
@blueorangutan test ol8 vmware-80u3 |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-80u3) has been kicked to run smoke tests |
String msg = String.format("Standalone host %s found, setting empty cluster field", hostName); | ||
s_logger.debug(msg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String msg = String.format("Standalone host %s found, setting empty cluster field", hostName); | |
s_logger.debug(msg); | |
String msg = String.format(“Host %s not found, assuming standalone host, setting cluster name as empty", hostName); | |
s_logger.info(msg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @DaanHoogland the host is found, but not its cluster. Let me rephrase it a bit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm
@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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14067 |
Description
This PR fixes the listing of VMware VMs for Migration to KVM on vCenter datacenters that have standalone hosts (don't belong to any cluster)
Example setup with standalone hosts:

Listing retrieved successfully, setting cluster field empty on the listing table:

Fixes: #11090
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Set standalone hosts on the datacenter, having VMs on them
List VMs for Migration on CloudStack pointing to the vCenter
How did you try to break this feature and the system with this change?