| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Found UI changes, kicking a new UI QA build |
Sorry, something went wrong.
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
|
UI build: ✔️ |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3807 |
Sorry, something went wrong.
- Checks the OS mapping name in hypervisor (VMware, XenServer) - Displays guest OS mappings in UI
… hypervisor, and code improvements
|
Found UI changes, kicking a new UI QA build |
Sorry, something went wrong.
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
UI build: ✔️ |
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3843 |
Sorry, something went wrong.
|
@sureshanaparti a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Found UI changes, kicking a new UI QA build |
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
|
Trillian test result (tid-4555)
|
Sorry, something went wrong.
|
Found UI changes, kicking a new UI QA build |
Sorry, something went wrong.
|
@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. |
Sorry, something went wrong.
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3855 |
Sorry, something went wrong.
|
SonarCloud Quality Gate failed. |
Sorry, something went wrong.
|
@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'] |
Sorry, something went wrong.
|
I see nothing wrong with the code (even though sonar cloud does) . I have a question; how does this work with upgrade updates? |
Sorry, something went wrong.
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Sorry, something went wrong.
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 |
Sorry, something went wrong.
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Sorry, something went wrong.
There was a problem hiding this comment.
clgtm
Sorry, something went wrong.
| 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); | ||
| } |
There was a problem hiding this comment.
extra method
Sorry, something went wrong.
|
SonarCloud Quality Gate failed. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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.
(testenv-vmware) 🐱 > add guestosmapping hypervisor='VMware' hypervisorversion='5.5' osnameforhypervisor='centos' ostypeid=d6ea0862-0654-11ed-9169-1e00c10002c7 forced=true osmappingcheckenabled=true 🙈 Error: (HTTP 530, error code 4250) No host exists with hypervisor: VMware and version: 5.5, please specify available hypervisor and version (testenv-vmware) 🐱 > add guestosmapping hypervisor='VMware' hypervisorversion='6.7.3' osnameforhypervisor='centos' ostypeid=d6ea0862-0654-11ed-9169-1e00c10002c7 forced=true osmappingcheckenabled=true 🙈 Error: (HTTP 530, error code 4250) Invalid hypervisor os mapping: centos for guest os: CentOS 7, hypervisor: VMware and version: 6.7.3 (testenv-vmware) 🐱 > get hypervisorguestosnames hypervisor='VMware' hypervisorversion='6.7.3' keyword='cent' { "hypervisorguestosnames": { "guestoses": [ { "osdisplayname": "Microsoft Windows Server 2003 Datacenter (64-bit)", "osnameforhypervisor": "winNetDatacenter64Guest" }, { "osdisplayname": "Microsoft Windows Server 2003 Datacenter (32-bit)", "osnameforhypervisor": "winNetDatacenterGuest" }, { "osdisplayname": "CentOS 8 (64-bit)", "osnameforhypervisor": "centos8_64Guest" }, { "osdisplayname": "CentOS 7 (64-bit)", "osnameforhypervisor": "centos7_64Guest" }, { "osdisplayname": "CentOS 6 (64-bit)", "osnameforhypervisor": "centos6_64Guest" }, { "osdisplayname": "CentOS 6 (32-bit)", "osnameforhypervisor": "centos6Guest" }, { "osdisplayname": "CentOS 4/5 or later (64-bit)", "osnameforhypervisor": "centos64Guest" }, { "osdisplayname": "CentOS 4/5 or later (32-bit)", "osnameforhypervisor": "centosGuest" } ], "guestosescount": 8, "hypervisor": "VMware", "hypervisorversion": "6.7.3" } } (testenv-vmware) 🐱 > get hypervisorguestosnames hypervisor='VMware' hypervisorversion='6.7.3' keyword='core' { "hypervisorguestosnames": { "guestoses": [ { "osdisplayname": "CoreOS Linux (64-bit)", "osnameforhypervisor": "coreos64Guest" } ], "guestosescount": 1, "hypervisor": "VMware", "hypervisorversion": "6.7.3" } } (testenv-xen) 🐱 >get hypervisorguestosnames hypervisor='XenServer' hypervisorversion='7.1.0' keyword='core' { "hypervisorguestosnames": { "guestoses": [ { "osdisplayname": "CoreOS", "osnameforhypervisor": "CoreOS" } ], "guestosescount": 1, "hypervisor": "XenServer", "hypervisorversion": "7.1.0" } } (testenv-xen) 🐱 > get hypervisorguestosnames hypervisor='XenServer' hypervisorversion='7.1.0' keyword='cent' { "hypervisorguestosnames": { "guestoses": [ { "osdisplayname": "CentOS 4.8 (32-bit)", "osnameforhypervisor": "CentOS 4.8 (32-bit)" }, { "osdisplayname": "CentOS 5 (32-bit)", "osnameforhypervisor": "CentOS 5 (32-bit)" }, { "osdisplayname": "CentOS 7", "osnameforhypervisor": "CentOS 7" }, { "osdisplayname": "CentOS 6 (64-bit)", "osnameforhypervisor": "CentOS 6 (64-bit)" }, { "osdisplayname": "CentOS 4.6 (32-bit)", "osnameforhypervisor": "CentOS 4.6 (32-bit)" }, { "osdisplayname": "CentOS 5 (64-bit)", "osnameforhypervisor": "CentOS 5 (64-bit)" }, { "osdisplayname": "CentOS 4.7 (32-bit)", "osnameforhypervisor": "CentOS 4.7 (32-bit)" }, { "osdisplayname": "CentOS 6 (32-bit)", "osnameforhypervisor": "CentOS 6 (32-bit)" }, { "osdisplayname": "CentOS 4.5 (32-bit)", "osnameforhypervisor": "CentOS 4.5 (32-bit)" } ], "guestosescount": 9, "hypervisor": "XenServer", "hypervisorversion": "7.1.0" } } (testenv-xen) 🐱 > get hypervisorguestosnames hypervisor='XenServer' hypervisorversion='6.1.0' { "accountid": "aa2fc411-0654-11ed-8c69-1e00b50002e7", "cmd": "org.apache.cloudstack.api.command.admin.guest.GetHypervisorGuestOsNamesCmd", "completed": "2022-07-28T09:28:12+0000", "created": "2022-07-28T09:28:12+0000", "jobid": "e5189994-d441-42d3-bb75-26647210a7c1", "jobprocstatus": 0, "jobresult": { "errorcode": 530, "errortext": "No host exists with hypervisor: XenServer and version: 6.1.0, please specify available hypervisor and version" }, "jobresultcode": 530, "jobresulttype": "object", "jobstatus": 2, "userid": "aa310e7a-0654-11ed-8c69-1e00b50002e7" }