Guest OS hypervisor mapping improvements#6561
Guest OS hypervisor mapping improvements#6561sureshanaparti wants to merge 6 commits intoapache:mainfrom
Conversation
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
@blueorangutan package |
|
@sureshanaparti a 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. |
|
UI build: ✔️ |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3807 |
- Checks the OS mapping name in hypervisor (VMware, XenServer) - Displays guest OS mappings in UI
… hypervisor, and code improvements
09b3eaf to
7c6d56e
Compare
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
@blueorangutan package |
|
@sureshanaparti a 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: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3843 |
|
@blueorangutan test matrix |
|
@sureshanaparti a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
@blueorangutan package |
|
Found UI changes, kicking a new UI QA build |
|
@sureshanaparti a 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. |
|
Trillian test result (tid-4555)
|
|
@blueorangutan package |
|
Found UI changes, kicking a new UI QA build |
|
@sureshanaparti a 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: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3855 |
|
SonarCloud Quality Gate failed. |
|
@blueorangutan test |
|
@blueorangutan help |
|
@sureshanaparti I understand these words: "help", "hello", "thanks", "package", "test" Blessed contributors for kicking Trillian test jobs: ['rohityadavcloud', 'nvazquez', 'borisstoyanov', 'DaanHoogland', 'shwstppr', 'andrijapanicsb', 'Pearl1594', 'davidjumani', 'harikrishna-patnala', 'vladimirpetrov', 'weizhouapache', 'NuxRo'] |
|
I see nothing wrong with the code (even though sonar cloud does) . I have a question; how does this work with upgrade updates? |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Codecov Report
@@ Coverage Diff @@
## main #6561 +/- ##
============================================
- Coverage 11.59% 11.49% -0.10%
+ Complexity 7560 7534 -26
============================================
Files 2494 2493 -1
Lines 247109 246949 -160
Branches 38619 38595 -24
============================================
- Hits 28646 28399 -247
- Misses 214719 214951 +232
+ Partials 3744 3599 -145
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
| if (cmd.getOsMappingCheckEnabled()) { | ||
| GuestOS guestOs = ApiDBUtils.findGuestOSById(guestOsHypervisorHandle.getGuestOsId()); | ||
| if (guestOs == null) { | ||
| throw new InvalidParameterValueException("Unable to find the guest OS for the mapping"); | ||
| } | ||
| checkGuestOSHypervisorMapping(HypervisorType.getType(guestOsHypervisorHandle.getHypervisorType()), guestOsHypervisorHandle.getHypervisorVersion(), guestOs.getDisplayName(), osNameForHypervisor); | ||
| } |
|
SonarCloud Quality Gate failed. |
|
closing in favour of #6979 |








Description
This PR includes the following Guest OS hypervisor mapping improvements.
Fixes: #3609
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manually tested add/update guest os mapping with the os name mapping check enabled, and tested the new getHypervisorGuestOsNames API with VMware and XenServer hypervisor.