You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/12/12 17:26:15 UTC
[GitHub] [cloudstack] DaanHoogland opened a new pull request, #6979: Guest os mappings improvements
DaanHoogland opened a new pull request, #6979:
URL: https://github.com/apache/cloudstack/pull/6979
### Description
This PR is a followup of #6561
<!--- Describe your changes in DETAIL - And how has behaviour functionally changed. -->
<!-- For new features, provide link to FS, dev ML discussion etc. -->
<!-- In case of bug fix, the expected and actual behaviours, steps to reproduce. -->
<!-- When "Fixes: #<id>" is specified, the issue/PR will automatically be closed when this PR gets merged -->
<!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" -->
<!-- Fixes: # -->
<!--- ********************************************************************************* -->
<!--- NOTE: AUTOMATATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE DOCUMENTATION. -->
<!--- PLEASE PUT AN 'X' in only **ONE** box -->
<!--- ********************************************************************************* -->
### Types of changes
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
### Feature/Enhancement Scale or Bug Severity
#### Feature/Enhancement Scale
- [ ] Major
- [ ] Minor
#### Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [ ] Minor
- [ ] Trivial
### Screenshots (if appropriate):
### How Has This Been Tested?
<!-- Please describe in detail how you tested your changes. -->
<!-- Include details of your testing environment, and the tests you ran to -->
<!-- see how your change affects other areas of the code, etc. -->
<!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) document -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1539635345
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland commented on pull request #6979: Guest os mappings improvements
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558631586
@harikrishna-patnala is this ready to take out of draft? Should I take over?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1602140117
@harikrishna-patnala a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1602176668
<b>[SF] Trillian test result (tid-6809)</b>
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 359 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6809-vmware-67u3.zip
Smoke tests completed. 2 look OK, 0 have errors, 79 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
all_test_deploy_vm | `Skipped` | --- | test_deploy_vm.py
all_test_escalations_templates | `Skipped` | --- | test_escalations_templates.py
all_test_vm_ha | `Skipped` | --- | test_vm_ha.py
all_test_vm_sync | `Skipped` | --- | test_vm_sync.py
all_test_accounts | `Skipped` | --- | test_accounts.py
all_test_router_dnsservice | `Skipped` | --- | test_router_dnsservice.py
all_test_affinity_groups | `Skipped` | --- | test_affinity_groups.py
all_test_projects | `Skipped` | --- | test_projects.py
all_test_affinity_groups_projects | `Skipped` | --- | test_affinity_groups_projects.py
all_test_async_job | `Skipped` | --- | test_async_job.py
all_test_routers | `Skipped` | --- | test_routers.py
all_test_certauthority_root | `Skipped` | --- | test_certauthority_root.py
all_test_over_provisioning | `Skipped` | --- | test_over_provisioning.py
all_test_create_list_domain_account_project | `Skipped` | --- | test_create_list_domain_account_project.py
all_test_public_ip_range | `Skipped` | --- | test_public_ip_range.py
all_test_deploy_vgpu_enabled_vm | `Skipped` | --- | test_deploy_vgpu_enabled_vm.py
all_test_pvlan | `Skipped` | --- | test_pvlan.py
all_test_deploy_virtio_scsi_vm | `Skipped` | --- | test_deploy_virtio_scsi_vm.py
all_test_routers_network_ops | `Skipped` | --- | test_routers_network_ops.py
all_test_deploy_vm_iso | `Skipped` | --- | test_deploy_vm_iso.py
all_test_regions | `Skipped` | --- | test_regions.py
all_test_deploy_vm_root_resize | `Skipped` | --- | test_deploy_vm_root_resize.py
all_test_reset_vm_on_reboot | `Skipped` | --- | test_reset_vm_on_reboot.py
all_test_deploy_vm_with_userdata | `Skipped` | --- | test_deploy_vm_with_userdata.py
all_test_privategw_acl | `Skipped` | --- | test_privategw_acl.py
all_test_deploy_vms_with_varied_deploymentplanners | `Skipped` | --- | test_deploy_vms_with_varied_deploymentplanners.py
all_test_diagnostics | `Skipped` | --- | test_diagnostics.py
all_test_scale_vm | `Skipped` | --- | test_scale_vm.py
all_test_direct_download | `Skipped` | --- | test_direct_download.py
all_test_secondary_storage | `Skipped` | --- | test_secondary_storage.py
all_test_disk_offerings | `Skipped` | --- | test_disk_offerings.py
all_test_resource_accounting | `Skipped` | --- | test_resource_accounting.py
all_test_domain_disk_offerings | `Skipped` | --- | test_domain_disk_offerings.py
all_test_resource_detail | `Skipped` | --- | test_resource_detail.py
all_test_domain_network_offerings | `Skipped` | --- | test_domain_network_offerings.py
all_test_router_dhcphosts | `Skipped` | --- | test_router_dhcphosts.py
all_test_domain_service_offerings | `Skipped` | --- | test_domain_service_offerings.py
all_test_service_offerings | `Skipped` | --- | test_service_offerings.py
all_test_domain_vpc_offerings | `Skipped` | --- | test_domain_vpc_offerings.py
all_test_snapshots | `Skipped` | --- | test_snapshots.py
all_test_global_settings | `Skipped` | --- | test_global_settings.py
all_test_templates | `Skipped` | --- | test_templates.py
all_test_guest_vlan_range | `Skipped` | --- | test_guest_vlan_range.py
all_test_host_annotations | `Skipped` | --- | test_host_annotations.py
all_test_usage | `Skipped` | --- | test_usage.py
all_test_usage_events | `Skipped` | --- | test_usage_events.py
all_test_hostha_simulator | `Skipped` | --- | test_hostha_simulator.py
all_test_internal_lb | `Skipped` | --- | test_internal_lb.py
all_test_iso | `Skipped` | --- | test_iso.py
all_test_vm_snapshots | `Skipped` | --- | test_vm_snapshots.py
all_test_list_ids_parameter | `Skipped` | --- | test_list_ids_parameter.py
all_test_loadbalance | `Skipped` | --- | test_loadbalance.py
all_test_login | `Skipped` | --- | test_login.py
all_test_metrics_api | `Skipped` | --- | test_metrics_api.py
all_test_migration | `Skipped` | --- | test_migration.py
all_test_vm_deployment_planner | `Skipped` | --- | test_vm_deployment_planner.py
all_test_multipleips_per_nic | `Skipped` | --- | test_multipleips_per_nic.py
all_test_router_dns | `Skipped` | --- | test_router_dns.py
all_test_nested_virtualization | `Skipped` | --- | test_nested_virtualization.py
all_test_network | `Skipped` | --- | test_network.py
all_test_network_acl | `Skipped` | --- | test_network_acl.py
all_test_nic | `Skipped` | --- | test_nic.py
all_test_vm_life_cycle | `Skipped` | --- | test_vm_life_cycle.py
all_test_nic_adapter_type | `Skipped` | --- | test_nic_adapter_type.py
all_test_volumes | `Skipped` | --- | test_volumes.py
all_test_non_contigiousvlan | `Skipped` | --- | test_non_contigiousvlan.py
all_test_vpc_redundant | `Skipped` | --- | test_vpc_redundant.py
all_test_outofbandmanagement | `Skipped` | --- | test_outofbandmanagement.py
all_test_outofbandmanagement_nestedplugin | `Skipped` | --- | test_outofbandmanagement_nestedplugin.py
all_test_password_server | `Skipped` | --- | test_password_server.py
all_test_vpc_router_nics | `Skipped` | --- | test_vpc_router_nics.py
all_test_portable_publicip | `Skipped` | --- | test_portable_publicip.py
all_test_vpc_vpn | `Skipped` | --- | test_vpc_vpn.py
all_test_portforwardingrules | `Skipped` | --- | test_portforwardingrules.py
all_test_primary_storage | `Skipped` | --- | test_primary_storage.py
all_test_ssvm | `Skipped` | --- | test_ssvm.py
all_test_routers_iptables_default_policy | `Skipped` | --- | test_routers_iptables_default_policy.py
all_test_host_maintenance | `Skipped` | --- | test_host_maintenance.py
all_test_hostha_kvm | `Skipped` | --- | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606517444
@harikrishna-patnala a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1608549621
<b>[SF] Trillian test result (tid-6851)</b>
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 70586 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6851-vmware-67u3.zip
Smoke tests completed. 110 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_list_system_vms_metrics_history | `Failure` | 0.23 | test_metrics_api.py
test_list_vms_metrics_admin | `Error` | 3605.40 | test_metrics_api.py
test_list_vms_metrics_history | `Error` | 10.81 | test_metrics_api.py
test_list_volumes_metrics_history | `Error` | 3617.40 | test_metrics_api.py
test_01_deploy_vm_on_specific_host | `Error` | 15.65 | test_vm_deployment_planner.py
test_02_deploy_vm_on_specific_cluster | `Error` | 3602.35 | test_vm_deployment_planner.py
test_03_deploy_vm_on_specific_pod | `Error` | 1.29 | test_vm_deployment_planner.py
test_04_deploy_vm_on_host_override_pod_and_cluster | `Error` | 2.40 | test_vm_deployment_planner.py
test_05_deploy_vm_on_cluster_override_pod | `Error` | 2.35 | test_vm_deployment_planner.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1592648040
@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + xenserver-71) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1593683127
<b>[SF] Trillian test result (tid-6743)</b>
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39877 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6743-xenserver-71.zip
Smoke tests completed. 112 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1373285894
@harikrishna-patnala 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] GutoVeronezi commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
GutoVeronezi commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1046384804
##########
api/src/main/java/org/apache/cloudstack/api/command/admin/guest/AddGuestOsMappingCmd.java:
##########
@@ -82,6 +88,17 @@ public String getOsNameForHypervisor() {
return osNameForHypervisor;
}
+ public Boolean getOsMappingCheckEnabled() {
+ if (osMappingCheckEnabled == null) {
+ return false;
+ }
+ return osMappingCheckEnabled;
+ }
+
+ public boolean isForced() {
+ return (forced != null) ? forced : false;
Review Comment:
We could use `org.apache.commons.lang3.BooleanUtils` here:
```suggestion
return BooleanUtils.toBooleanDefaultIfNull(forced, false);
```
Just an observation, this method has the same logic as `getOsMappingCheckEnabled`, however, written in another way.
##########
engine/schema/src/main/java/com/cloud/upgrade/GuestOsMapper.java:
##########
@@ -188,4 +190,33 @@ private boolean isValidGuestOSHypervisorMapping(GuestOSHypervisorMapping mapping
LOG.warn("Invalid Guest OS hypervisor mapping");
return false;
}
+
+ /**
+ * Copies guest OS mappings from src version to dest version for the hypervisor (use this to copy all mappings from older version to newer version during upgrade)
+ * @return true if copied successfully, else false.
+ */
+ public boolean copyGuestOSHypervisorMappings(HypervisorType hypervisorType, String srcVersion, String destVersion) {
+ if (hypervisorType == HypervisorType.None || hypervisorType == HypervisorType.Any) {
+ LOG.warn("Unable to copy, invalid hypervisor");
+ return false;
+ }
+
+ if (StringUtils.isBlank(srcVersion) || StringUtils.isBlank(destVersion)) {
Review Comment:
```suggestion
if (StringUtils.isAnyBlank(srcVersion, destVersion)) {
```
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixCheckGuestOsMappingCommandWrapper.java:
##########
@@ -0,0 +1,67 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.Set;
+
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.CheckGuestOsMappingAnswer;
+import com.cloud.agent.api.CheckGuestOsMappingCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = CheckGuestOsMappingCommand.class)
+public final class CitrixCheckGuestOsMappingCommandWrapper extends CommandWrapper<CheckGuestOsMappingCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixCheckGuestOsMappingCommandWrapper.class);
+
+ @Override
+ public Answer execute(final CheckGuestOsMappingCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String guestOsName = command.getGuestOsName();
+ String guestOsMappingName = command.getGuestOsHypervisorMappingName();
+ try {
+ s_logger.info("Checking guest os mapping name: " + guestOsMappingName + " for the guest os: " + guestOsName + " in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
+ if (vms == null || vms.isEmpty()) {
Review Comment:
We could use `org.apache.commons.collections.CollectionUtils` here:
```suggestion
if (CollectionUtils.isEmpty(vms)) {
```
##########
api/src/main/java/org/apache/cloudstack/api/command/admin/guest/UpdateGuestOsMappingCmd.java:
##########
@@ -60,6 +63,13 @@ public String getOsNameForHypervisor() {
return osNameForHypervisor;
}
+ public Boolean getOsMappingCheckEnabled() {
+ if (osMappingCheckEnabled == null) {
+ return false;
+ }
+ return osMappingCheckEnabled;
Review Comment:
We could use `org.apache.commons.lang3.BooleanUtils` here:
```suggestion
return BooleanUtils.toBooleanDefaultIfNull(osMappingCheckEnabled, false);
```
##########
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/HostMO.java:
##########
@@ -1163,6 +1164,26 @@ public String getRecommendedDiskController(String guestOsId) throws Exception {
return null;
}
+ @Override
+ public GuestOsDescriptor getGuestOsDescriptor(String guestOsId) throws Exception {
+ ManagedObjectReference morParent = getParentMor();
+ if (morParent.getType().equals("ClusterComputeResource")) {
Review Comment:
As this validation is used more than once, we could extract it to a method with Javadoc
##########
api/src/main/java/org/apache/cloudstack/api/command/admin/guest/AddGuestOsMappingCmd.java:
##########
@@ -82,6 +88,17 @@ public String getOsNameForHypervisor() {
return osNameForHypervisor;
}
+ public Boolean getOsMappingCheckEnabled() {
+ if (osMappingCheckEnabled == null) {
+ return false;
+ }
+ return osMappingCheckEnabled;
Review Comment:
We could use `org.apache.commons.lang3.BooleanUtils` here:
```suggestion
return BooleanUtils.toBooleanDefaultIfNull(osMappingCheckEnabled, false);
```
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixGetHypervisorGuestOsNamesCommandWrapper.java:
##########
@@ -0,0 +1,75 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesAnswer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.cloud.utils.Pair;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = GetHypervisorGuestOsNamesCommand.class)
+public final class CitrixGetHypervisorGuestOsNamesCommandWrapper extends CommandWrapper<GetHypervisorGuestOsNamesCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixGetHypervisorGuestOsNamesCommandWrapper.class);
+
+ @Override
+ public Answer execute(final GetHypervisorGuestOsNamesCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String keyword = command.getKeyword();
+ try {
+ s_logger.info("Getting guest os names in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
+ if (vms == null || vms.isEmpty()) {
Review Comment:
We could use `org.apache.commons.collections.CollectionUtils` here:
```suggestion
if (CollectionUtils.isEmpty(vms)) {
```
##########
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
##########
@@ -7642,6 +7651,59 @@ private GetVmVncTicketAnswer execute(GetVmVncTicketCommand cmd) {
}
}
+ private CheckGuestOsMappingAnswer execute(CheckGuestOsMappingCommand cmd) {
+ String guestOsName = cmd.getGuestOsName();
+ String guestOsMappingName = cmd.getGuestOsHypervisorMappingName();
+ s_logger.info("Checking guest os mapping name: " + guestOsMappingName + " for the guest os: " + guestOsName + " in the hypervisor");
+ try {
+ VmwareContext context = getServiceContext();
+ VmwareHypervisorHost hyperHost = getHyperHost(context);
+ GuestOsDescriptor guestOsDescriptor = hyperHost.getGuestOsDescriptor(guestOsMappingName);
+ if (guestOsDescriptor == null) {
+ return new CheckGuestOsMappingAnswer(cmd, "Guest os mapping name: " + guestOsMappingName + " not found in the hypervisor");
+ }
+ s_logger.debug("Matching hypervisor guest os - id: " + guestOsDescriptor.getId() + ", full name: " + guestOsDescriptor.getFullName() + ", family: " + guestOsDescriptor.getFamily());
+ if (guestOsDescriptor.getFullName().equalsIgnoreCase(guestOsName)) {
+ // Exact matching may fail, try with regex?
+ s_logger.debug("Hypervisor guest os name in the descriptor matches with os name: " + guestOsName);
+ }
+ s_logger.info("Hypervisor guest os name in the descriptor matches with os mapping: " + guestOsMappingName + " from user");
+ return new CheckGuestOsMappingAnswer(cmd);
+ } catch (Exception e) {
+ s_logger.error("Failed to check the hypervisor guest os mapping name: " + guestOsMappingName, e);
+ return new CheckGuestOsMappingAnswer(cmd, e.getLocalizedMessage());
+ }
+ }
+
+ private GetHypervisorGuestOsNamesAnswer execute(GetHypervisorGuestOsNamesCommand cmd) {
+ String keyword = cmd.getKeyword();
+ s_logger.info("Getting guest os names in the hypervisor");
+ try {
+ VmwareContext context = getServiceContext();
+ VmwareHypervisorHost hyperHost = getHyperHost(context);
+ List<GuestOsDescriptor> guestOsDescriptors = hyperHost.getGuestOsDescriptors();
+ if (guestOsDescriptors == null) {
+ return new GetHypervisorGuestOsNamesAnswer(cmd, "Guest os names not found in the hypervisor");
+ }
+ List<Pair<String, String>> hypervisorGuestOsNames = new ArrayList<>();
+ for (GuestOsDescriptor guestOsDescriptor : guestOsDescriptors) {
+ if (StringUtils.isNotBlank(keyword)) {
+ if (guestOsDescriptor.getFullName().toLowerCase().contains(keyword.toLowerCase()) || guestOsDescriptor.getId().toLowerCase().contains(keyword.toLowerCase())) {
Review Comment:
We could extract `guestOsDescriptor.getFullName()` and `guestOsDescriptor.getId()` to variables, as they are being called several times.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375431324
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1063180024
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixGetHypervisorGuestOsNamesCommandWrapper.java:
##########
@@ -0,0 +1,75 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesAnswer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.cloud.utils.Pair;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = GetHypervisorGuestOsNamesCommand.class)
+public final class CitrixGetHypervisorGuestOsNamesCommandWrapper extends CommandWrapper<GetHypervisorGuestOsNamesCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixGetHypervisorGuestOsNamesCommandWrapper.class);
+
+ @Override
+ public Answer execute(final GetHypervisorGuestOsNamesCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String keyword = command.getKeyword();
+ try {
+ s_logger.info("Getting guest os names in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
Review Comment:
This is an equivalent command to "xe template-list"
[root@pr6979-t5741-xenserver-70-xs1 ~]# xe template-list | grep name-label
name-label ( RW): Oracle Enterprise Linux 6 (32-bit)
name-label ( RW): SUSE Linux Enterprise Server 11 (32-bit)
name-label ( RW): Windows Server 2016 (64-bit)
name-label ( RW): Ubuntu Lucid Lynx 10.04 (32-bit)
name-label ( RW): Oracle Enterprise Linux 5 (64-bit)
name-label ( RW): Oracle Enterprise Linux 5 (32-bit)
name-label ( RW): Red Hat Enterprise Linux 4.8 (32-bit)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1376364934
@harikrishna-patnala 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on a diff in pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1189396182
##########
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/HostMO.java:
##########
@@ -1163,6 +1164,26 @@ public String getRecommendedDiskController(String guestOsId) throws Exception {
return null;
}
+ @Override
+ public GuestOsDescriptor getGuestOsDescriptor(String guestOsId) throws Exception {
+ ManagedObjectReference morParent = getParentMor();
+ if (morParent.getType().equals("ClusterComputeResource")) {
Review Comment:
Sorry for getting back this late, I missed these. This "morParent.getType().equals("ClusterComputeResource")" validation is used multiple times but every method has different return values, so I think this is fine
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1607078103
@DaanHoogland a [SF] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1559657523
@vladimirpetrov a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1514400324
Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: el9 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 5939
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] vladimirpetrov commented on pull request #6979: Guest os mappings improvements
Posted by "vladimirpetrov (via GitHub)" <gi...@apache.org>.
vladimirpetrov commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1566807544
@blueorangutan LLtest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland commented on pull request #6979: Guest os mappings improvements
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558630575
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1370683924
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5167
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1367779462
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1373283630
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1376407054
<b>Trillian test result (tid-5762)</b>
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39528 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t5762-xenserver-71.zip
Smoke tests completed. 108 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1376426188
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5216
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1495663882
@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with
SystemVM template(s). I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1590367077
@harikrishna-patnala a [LL] Jenkins job has been kicked to build packages. It will be bundled with
SystemVM template(s). I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1514806079
@vladimirpetrov 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1539690440
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1607728508
<b>[SF] Trillian test result (tid-6848)</b>
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 43692 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6848-vmware-67u3.zip
Smoke tests completed. 112 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala merged pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala merged PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1373346345
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5191
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375415012
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [21 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![17.1%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '17.1%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [17.1% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] github-actions[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375518831
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] github-actions[bot] commented on pull request #6979: Guest os mappings improvements
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1502953080
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1541407111
@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with
SystemVM template(s). I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1541405359
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1541503951
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6051
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1589084135
Packaging result [LL]: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: el9 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 6139
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1590790547
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] vladimirpetrov commented on pull request #6979: Guest os mappings improvements
Posted by "vladimirpetrov (via GitHub)" <gi...@apache.org>.
vladimirpetrov commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558660585
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558676586
<b>Trillian test result (tid-6552)</b>
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 364 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6552-vmware-67u3.zip
Smoke tests completed. 2 look OK, 0 have errors, 79 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
all_test_deploy_vm | `Skipped` | --- | test_deploy_vm.py
all_test_escalations_templates | `Skipped` | --- | test_escalations_templates.py
all_test_vm_ha | `Skipped` | --- | test_vm_ha.py
all_test_vm_sync | `Skipped` | --- | test_vm_sync.py
all_test_accounts | `Skipped` | --- | test_accounts.py
all_test_router_dnsservice | `Skipped` | --- | test_router_dnsservice.py
all_test_affinity_groups | `Skipped` | --- | test_affinity_groups.py
all_test_projects | `Skipped` | --- | test_projects.py
all_test_affinity_groups_projects | `Skipped` | --- | test_affinity_groups_projects.py
all_test_async_job | `Skipped` | --- | test_async_job.py
all_test_routers | `Skipped` | --- | test_routers.py
all_test_certauthority_root | `Skipped` | --- | test_certauthority_root.py
all_test_over_provisioning | `Skipped` | --- | test_over_provisioning.py
all_test_create_list_domain_account_project | `Skipped` | --- | test_create_list_domain_account_project.py
all_test_public_ip_range | `Skipped` | --- | test_public_ip_range.py
all_test_deploy_vgpu_enabled_vm | `Skipped` | --- | test_deploy_vgpu_enabled_vm.py
all_test_pvlan | `Skipped` | --- | test_pvlan.py
all_test_deploy_virtio_scsi_vm | `Skipped` | --- | test_deploy_virtio_scsi_vm.py
all_test_routers_network_ops | `Skipped` | --- | test_routers_network_ops.py
all_test_deploy_vm_iso | `Skipped` | --- | test_deploy_vm_iso.py
all_test_regions | `Skipped` | --- | test_regions.py
all_test_deploy_vm_root_resize | `Skipped` | --- | test_deploy_vm_root_resize.py
all_test_reset_vm_on_reboot | `Skipped` | --- | test_reset_vm_on_reboot.py
all_test_deploy_vm_with_userdata | `Skipped` | --- | test_deploy_vm_with_userdata.py
all_test_privategw_acl | `Skipped` | --- | test_privategw_acl.py
all_test_deploy_vms_with_varied_deploymentplanners | `Skipped` | --- | test_deploy_vms_with_varied_deploymentplanners.py
all_test_diagnostics | `Skipped` | --- | test_diagnostics.py
all_test_scale_vm | `Skipped` | --- | test_scale_vm.py
all_test_direct_download | `Skipped` | --- | test_direct_download.py
all_test_secondary_storage | `Skipped` | --- | test_secondary_storage.py
all_test_disk_offerings | `Skipped` | --- | test_disk_offerings.py
all_test_resource_accounting | `Skipped` | --- | test_resource_accounting.py
all_test_domain_disk_offerings | `Skipped` | --- | test_domain_disk_offerings.py
all_test_resource_detail | `Skipped` | --- | test_resource_detail.py
all_test_domain_network_offerings | `Skipped` | --- | test_domain_network_offerings.py
all_test_router_dhcphosts | `Skipped` | --- | test_router_dhcphosts.py
all_test_domain_service_offerings | `Skipped` | --- | test_domain_service_offerings.py
all_test_service_offerings | `Skipped` | --- | test_service_offerings.py
all_test_domain_vpc_offerings | `Skipped` | --- | test_domain_vpc_offerings.py
all_test_snapshots | `Skipped` | --- | test_snapshots.py
all_test_global_settings | `Skipped` | --- | test_global_settings.py
all_test_templates | `Skipped` | --- | test_templates.py
all_test_guest_vlan_range | `Skipped` | --- | test_guest_vlan_range.py
all_test_host_annotations | `Skipped` | --- | test_host_annotations.py
all_test_usage | `Skipped` | --- | test_usage.py
all_test_usage_events | `Skipped` | --- | test_usage_events.py
all_test_hostha_simulator | `Skipped` | --- | test_hostha_simulator.py
all_test_internal_lb | `Skipped` | --- | test_internal_lb.py
all_test_iso | `Skipped` | --- | test_iso.py
all_test_vm_snapshots | `Skipped` | --- | test_vm_snapshots.py
all_test_list_ids_parameter | `Skipped` | --- | test_list_ids_parameter.py
all_test_loadbalance | `Skipped` | --- | test_loadbalance.py
all_test_login | `Skipped` | --- | test_login.py
all_test_metrics_api | `Skipped` | --- | test_metrics_api.py
all_test_migration | `Skipped` | --- | test_migration.py
all_test_vm_deployment_planner | `Skipped` | --- | test_vm_deployment_planner.py
all_test_multipleips_per_nic | `Skipped` | --- | test_multipleips_per_nic.py
all_test_router_dns | `Skipped` | --- | test_router_dns.py
all_test_nested_virtualization | `Skipped` | --- | test_nested_virtualization.py
all_test_network | `Skipped` | --- | test_network.py
all_test_network_acl | `Skipped` | --- | test_network_acl.py
all_test_nic | `Skipped` | --- | test_nic.py
all_test_vm_life_cycle | `Skipped` | --- | test_vm_life_cycle.py
all_test_nic_adapter_type | `Skipped` | --- | test_nic_adapter_type.py
all_test_volumes | `Skipped` | --- | test_volumes.py
all_test_non_contigiousvlan | `Skipped` | --- | test_non_contigiousvlan.py
all_test_vpc_redundant | `Skipped` | --- | test_vpc_redundant.py
all_test_outofbandmanagement | `Skipped` | --- | test_outofbandmanagement.py
all_test_outofbandmanagement_nestedplugin | `Skipped` | --- | test_outofbandmanagement_nestedplugin.py
all_test_password_server | `Skipped` | --- | test_password_server.py
all_test_vpc_router_nics | `Skipped` | --- | test_vpc_router_nics.py
all_test_portable_publicip | `Skipped` | --- | test_portable_publicip.py
all_test_vpc_vpn | `Skipped` | --- | test_vpc_vpn.py
all_test_portforwardingrules | `Skipped` | --- | test_portforwardingrules.py
all_test_primary_storage | `Skipped` | --- | test_primary_storage.py
all_test_ssvm | `Skipped` | --- | test_ssvm.py
all_test_routers_iptables_default_policy | `Skipped` | --- | test_routers_iptables_default_policy.py
all_test_host_maintenance | `Skipped` | --- | test_host_maintenance.py
all_test_hostha_kvm | `Skipped` | --- | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] andrijapanicsb commented on pull request #6979: Guest os mappings improvements
Posted by "andrijapanicsb (via GitHub)" <gi...@apache.org>.
andrijapanicsb commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1600760960
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] andrijapanicsb commented on pull request #6979: Guest os mappings improvements
Posted by "andrijapanicsb (via GitHub)" <gi...@apache.org>.
andrijapanicsb commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1600766499
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1495679305
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [21 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![16.7%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '16.7%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [16.7% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1559729587
<b>Trillian test result (tid-6564)</b>
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 764 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6564-kvm-centos7.zip
Smoke tests completed. 0 look OK, 0 have errors, 111 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
all_test_safe_shutdown | `Skipped` | --- | test_safe_shutdown.py
all_test_scale_vm | `Skipped` | --- | test_scale_vm.py
all_test_2fa | `Skipped` | --- | test_2fa.py
all_test_regions | `Skipped` | --- | test_regions.py
all_test_accounts | `Skipped` | --- | test_accounts.py
all_test_nonstrict_affinity_group | `Skipped` | --- | test_nonstrict_affinity_group.py
all_test_affinity_groups | `Skipped` | --- | test_affinity_groups.py
all_test_internal_lb | `Skipped` | --- | test_internal_lb.py
all_test_usage | `Skipped` | --- | test_usage.py
all_test_affinity_groups_projects | `Skipped` | --- | test_affinity_groups_projects.py
all_test_register_userdata | `Skipped` | --- | test_register_userdata.py
all_test_annotations | `Skipped` | --- | test_annotations.py
all_test_reset_vm_on_reboot | `Skipped` | --- | test_reset_vm_on_reboot.py
all_test_async_job | `Skipped` | --- | test_async_job.py
all_test_ipv6_infra | `Skipped` | --- | test_ipv6_infra.py
all_test_attach_multiple_volumes | `Skipped` | --- | test_attach_multiple_volumes.py
all_test_kubernetes_clusters | `Skipped` | --- | test_kubernetes_clusters.py
all_test_backup_recovery_dummy | `Skipped` | --- | test_backup_recovery_dummy.py
all_test_outofbandmanagement | `Skipped` | --- | test_outofbandmanagement.py
all_test_certauthority_root | `Skipped` | --- | test_certauthority_root.py
all_test_over_provisioning | `Skipped` | --- | test_over_provisioning.py
all_test_console_endpoint | `Skipped` | --- | test_console_endpoint.py
all_test_snapshots | `Skipped` | --- | test_snapshots.py
all_test_create_list_domain_account_project | `Skipped` | --- | test_create_list_domain_account_project.py
all_test_password_server | `Skipped` | --- | test_password_server.py
all_test_create_network | `Skipped` | --- | test_create_network.py
all_test_iso | `Skipped` | --- | test_iso.py
all_test_ssvm | `Skipped` | --- | test_ssvm.py
all_test_deploy_vgpu_enabled_vm | `Skipped` | --- | test_deploy_vgpu_enabled_vm.py
all_test_migration | `Skipped` | --- | test_migration.py
all_test_deploy_virtio_scsi_vm | `Skipped` | --- | test_deploy_virtio_scsi_vm.py
all_test_multipleips_per_nic | `Skipped` | --- | test_multipleips_per_nic.py
all_test_deploy_vm_extra_config_data | `Skipped` | --- | test_deploy_vm_extra_config_data.py
all_test_persistent_network | `Skipped` | --- | test_persistent_network.py
all_test_deploy_vm_iso | `Skipped` | --- | test_deploy_vm_iso.py
all_test_portable_publicip | `Skipped` | --- | test_portable_publicip.py
all_test_deploy_vm_iso_uefi | `Skipped` | --- | test_deploy_vm_iso_uefi.py
all_test_nested_virtualization | `Skipped` | --- | test_nested_virtualization.py
all_test_deploy_vm_root_resize | `Skipped` | --- | test_deploy_vm_root_resize.py
all_test_network | `Skipped` | --- | test_network.py
all_test_deploy_vm_with_userdata | `Skipped` | --- | test_deploy_vm_with_userdata.py
all_test_network_acl | `Skipped` | --- | test_network_acl.py
all_test_deploy_vms_in_parallel | `Skipped` | --- | test_deploy_vms_in_parallel.py
all_test_staticroles | `Skipped` | --- | test_staticroles.py
all_test_deploy_vms_with_varied_deploymentplanners | `Skipped` | --- | test_deploy_vms_with_varied_deploymentplanners.py
all_test_resource_accounting | `Skipped` | --- | test_resource_accounting.py
all_test_diagnostics | `Skipped` | --- | test_diagnostics.py
all_test_portforwardingrules | `Skipped` | --- | test_portforwardingrules.py
all_test_direct_download | `Skipped` | --- | test_direct_download.py
all_test_primary_storage | `Skipped` | --- | test_primary_storage.py
all_test_disk_offerings | `Skipped` | --- | test_disk_offerings.py
all_test_network_ipv6 | `Skipped` | --- | test_network_ipv6.py
all_test_disk_provisioning_types | `Skipped` | --- | test_disk_provisioning_types.py
all_test_network_permissions | `Skipped` | --- | test_network_permissions.py
all_test_domain_disk_offerings | `Skipped` | --- | test_domain_disk_offerings.py
all_test_nic | `Skipped` | --- | test_nic.py
all_test_templates | `Skipped` | --- | test_templates.py
all_test_domain_network_offerings | `Skipped` | --- | test_domain_network_offerings.py
all_test_nic_adapter_type | `Skipped` | --- | test_nic_adapter_type.py
all_test_domain_service_offerings | `Skipped` | --- | test_domain_service_offerings.py
all_test_private_roles | `Skipped` | --- | test_private_roles.py
all_test_domain_vpc_offerings | `Skipped` | --- | test_domain_vpc_offerings.py
all_test_resource_detail | `Skipped` | --- | test_resource_detail.py
all_test_dynamicroles | `Skipped` | --- | test_dynamicroles.py
all_test_hostha_simulator | `Skipped` | --- | test_hostha_simulator.py
all_test_enable_account_settings_for_domain | `Skipped` | --- | test_enable_account_settings_for_domain.py
all_test_human_readable_logs | `Skipped` | --- | test_human_readable_logs.py
all_test_enable_role_based_users_in_projects | `Skipped` | --- | test_enable_role_based_users_in_projects.py
all_test_privategw_acl | `Skipped` | --- | test_privategw_acl.py
all_test_events_resource | `Skipped` | --- | test_events_resource.py
all_test_non_contigiousvlan | `Skipped` | --- | test_non_contigiousvlan.py
all_test_gateway_on_shared_networks | `Skipped` | --- | test_gateway_on_shared_networks.py
all_test_privategw_acl_ovs_gre | `Skipped` | --- | test_privategw_acl_ovs_gre.py
all_test_global_settings | `Skipped` | --- | test_global_settings.py
all_test_router_dhcphosts | `Skipped` | --- | test_router_dhcphosts.py
all_test_guest_os | `Skipped` | --- | test_guest_os.py
all_test_projects | `Skipped` | --- | test_projects.py
all_test_guest_vlan_range | `Skipped` | --- | test_guest_vlan_range.py
all_test_public_ip_range | `Skipped` | --- | test_public_ip_range.py
all_test_host_control_state | `Skipped` | --- | test_host_control_state.py
all_test_kubernetes_supported_versions | `Skipped` | --- | test_kubernetes_supported_versions.py
all_test_pvlan | `Skipped` | --- | test_pvlan.py
all_test_list_ids_parameter | `Skipped` | --- | test_list_ids_parameter.py
all_test_router_dns | `Skipped` | --- | test_router_dns.py
all_test_loadbalance | `Skipped` | --- | test_loadbalance.py
all_test_router_dnsservice | `Skipped` | --- | test_router_dnsservice.py
all_test_login | `Skipped` | --- | test_login.py
all_test_routers | `Skipped` | --- | test_routers.py
all_test_metrics_api | `Skipped` | --- | test_metrics_api.py
all_test_routers_network_ops | `Skipped` | --- | test_routers_network_ops.py
all_test_outofbandmanagement_nestedplugin | `Skipped` | --- | test_outofbandmanagement_nestedplugin.py
all_test_reset_configuration_settings | `Skipped` | --- | test_reset_configuration_settings.py
all_test_routers_iptables_default_policy | `Skipped` | --- | test_routers_iptables_default_policy.py
all_test_secondary_storage | `Skipped` | --- | test_secondary_storage.py
all_test_service_offerings | `Skipped` | --- | test_service_offerings.py
all_test_storage_policy | `Skipped` | --- | test_storage_policy.py
all_test_update_security_group | `Skipped` | --- | test_update_security_group.py
all_test_usage_events | `Skipped` | --- | test_usage_events.py
all_test_vm_autoscaling | `Skipped` | --- | test_vm_autoscaling.py
all_test_vm_deployment_planner | `Skipped` | --- | test_vm_deployment_planner.py
all_test_vm_life_cycle | `Skipped` | --- | test_vm_life_cycle.py
all_test_vm_snapshot_kvm | `Skipped` | --- | test_vm_snapshot_kvm.py
all_test_vm_lifecycle_unmanage_import | `Skipped` | --- | test_vm_lifecycle_unmanage_import.py
all_test_vm_snapshots | `Skipped` | --- | test_vm_snapshots.py
all_test_volumes | `Skipped` | --- | test_volumes.py
all_test_vpc_ipv6 | `Skipped` | --- | test_vpc_ipv6.py
all_test_vpc_redundant | `Skipped` | --- | test_vpc_redundant.py
all_test_vpc_router_nics | `Skipped` | --- | test_vpc_router_nics.py
all_test_vpc_vpn | `Skipped` | --- | test_vpc_vpn.py
all_test_host_maintenance | `Skipped` | --- | test_host_maintenance.py
all_test_hostha_kvm | `Skipped` | --- | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1370621137
@harikrishna-patnala 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] shwstppr commented on pull request #6979: Guest os mappings improvements
Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1515867052
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1515869424
@shwstppr 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1590399975
Packaging result [LL]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6142
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606543281
<b>[SF] Trillian test result (tid-6849)</b>
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 764 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6849-kvm-centos7.zip
Smoke tests completed. 0 look OK, 0 have errors, 112 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
all_test_safe_shutdown | `Skipped` | --- | test_safe_shutdown.py
all_test_scale_vm | `Skipped` | --- | test_scale_vm.py
all_test_2fa | `Skipped` | --- | test_2fa.py
all_test_regions | `Skipped` | --- | test_regions.py
all_test_accounts | `Skipped` | --- | test_accounts.py
all_test_nonstrict_affinity_group | `Skipped` | --- | test_nonstrict_affinity_group.py
all_test_affinity_groups | `Skipped` | --- | test_affinity_groups.py
all_test_internal_lb | `Skipped` | --- | test_internal_lb.py
all_test_usage | `Skipped` | --- | test_usage.py
all_test_affinity_groups_projects | `Skipped` | --- | test_affinity_groups_projects.py
all_test_register_userdata | `Skipped` | --- | test_register_userdata.py
all_test_annotations | `Skipped` | --- | test_annotations.py
all_test_reset_vm_on_reboot | `Skipped` | --- | test_reset_vm_on_reboot.py
all_test_async_job | `Skipped` | --- | test_async_job.py
all_test_ipv6_infra | `Skipped` | --- | test_ipv6_infra.py
all_test_attach_multiple_volumes | `Skipped` | --- | test_attach_multiple_volumes.py
all_test_kubernetes_clusters | `Skipped` | --- | test_kubernetes_clusters.py
all_test_backup_recovery_dummy | `Skipped` | --- | test_backup_recovery_dummy.py
all_test_outofbandmanagement | `Skipped` | --- | test_outofbandmanagement.py
all_test_certauthority_root | `Skipped` | --- | test_certauthority_root.py
all_test_over_provisioning | `Skipped` | --- | test_over_provisioning.py
all_test_console_endpoint | `Skipped` | --- | test_console_endpoint.py
all_test_set_sourcenat | `Skipped` | --- | test_set_sourcenat.py
all_test_create_list_domain_account_project | `Skipped` | --- | test_create_list_domain_account_project.py
all_test_password_server | `Skipped` | --- | test_password_server.py
all_test_create_network | `Skipped` | --- | test_create_network.py
all_test_iso | `Skipped` | --- | test_iso.py
all_test_snapshots | `Skipped` | --- | test_snapshots.py
all_test_deploy_vgpu_enabled_vm | `Skipped` | --- | test_deploy_vgpu_enabled_vm.py
all_test_migration | `Skipped` | --- | test_migration.py
all_test_deploy_virtio_scsi_vm | `Skipped` | --- | test_deploy_virtio_scsi_vm.py
all_test_multipleips_per_nic | `Skipped` | --- | test_multipleips_per_nic.py
all_test_deploy_vm_extra_config_data | `Skipped` | --- | test_deploy_vm_extra_config_data.py
all_test_persistent_network | `Skipped` | --- | test_persistent_network.py
all_test_deploy_vm_iso | `Skipped` | --- | test_deploy_vm_iso.py
all_test_portable_publicip | `Skipped` | --- | test_portable_publicip.py
all_test_deploy_vm_iso_uefi | `Skipped` | --- | test_deploy_vm_iso_uefi.py
all_test_nested_virtualization | `Skipped` | --- | test_nested_virtualization.py
all_test_deploy_vm_root_resize | `Skipped` | --- | test_deploy_vm_root_resize.py
all_test_network | `Skipped` | --- | test_network.py
all_test_deploy_vm_with_userdata | `Skipped` | --- | test_deploy_vm_with_userdata.py
all_test_network_acl | `Skipped` | --- | test_network_acl.py
all_test_deploy_vms_in_parallel | `Skipped` | --- | test_deploy_vms_in_parallel.py
all_test_ssvm | `Skipped` | --- | test_ssvm.py
all_test_deploy_vms_with_varied_deploymentplanners | `Skipped` | --- | test_deploy_vms_with_varied_deploymentplanners.py
all_test_resource_accounting | `Skipped` | --- | test_resource_accounting.py
all_test_diagnostics | `Skipped` | --- | test_diagnostics.py
all_test_portforwardingrules | `Skipped` | --- | test_portforwardingrules.py
all_test_direct_download | `Skipped` | --- | test_direct_download.py
all_test_primary_storage | `Skipped` | --- | test_primary_storage.py
all_test_disk_offerings | `Skipped` | --- | test_disk_offerings.py
all_test_network_ipv6 | `Skipped` | --- | test_network_ipv6.py
all_test_disk_provisioning_types | `Skipped` | --- | test_disk_provisioning_types.py
all_test_network_permissions | `Skipped` | --- | test_network_permissions.py
all_test_domain_disk_offerings | `Skipped` | --- | test_domain_disk_offerings.py
all_test_nic | `Skipped` | --- | test_nic.py
all_test_staticroles | `Skipped` | --- | test_staticroles.py
all_test_domain_network_offerings | `Skipped` | --- | test_domain_network_offerings.py
all_test_nic_adapter_type | `Skipped` | --- | test_nic_adapter_type.py
all_test_domain_service_offerings | `Skipped` | --- | test_domain_service_offerings.py
all_test_private_roles | `Skipped` | --- | test_private_roles.py
all_test_domain_vpc_offerings | `Skipped` | --- | test_domain_vpc_offerings.py
all_test_resource_detail | `Skipped` | --- | test_resource_detail.py
all_test_dynamicroles | `Skipped` | --- | test_dynamicroles.py
all_test_hostha_simulator | `Skipped` | --- | test_hostha_simulator.py
all_test_enable_account_settings_for_domain | `Skipped` | --- | test_enable_account_settings_for_domain.py
all_test_human_readable_logs | `Skipped` | --- | test_human_readable_logs.py
all_test_enable_role_based_users_in_projects | `Skipped` | --- | test_enable_role_based_users_in_projects.py
all_test_privategw_acl | `Skipped` | --- | test_privategw_acl.py
all_test_events_resource | `Skipped` | --- | test_events_resource.py
all_test_non_contigiousvlan | `Skipped` | --- | test_non_contigiousvlan.py
all_test_gateway_on_shared_networks | `Skipped` | --- | test_gateway_on_shared_networks.py
all_test_privategw_acl_ovs_gre | `Skipped` | --- | test_privategw_acl_ovs_gre.py
all_test_global_settings | `Skipped` | --- | test_global_settings.py
all_test_router_dhcphosts | `Skipped` | --- | test_router_dhcphosts.py
all_test_guest_os | `Skipped` | --- | test_guest_os.py
all_test_projects | `Skipped` | --- | test_projects.py
all_test_guest_vlan_range | `Skipped` | --- | test_guest_vlan_range.py
all_test_public_ip_range | `Skipped` | --- | test_public_ip_range.py
all_test_host_control_state | `Skipped` | --- | test_host_control_state.py
all_test_kubernetes_supported_versions | `Skipped` | --- | test_kubernetes_supported_versions.py
all_test_pvlan | `Skipped` | --- | test_pvlan.py
all_test_list_ids_parameter | `Skipped` | --- | test_list_ids_parameter.py
all_test_router_dns | `Skipped` | --- | test_router_dns.py
all_test_loadbalance | `Skipped` | --- | test_loadbalance.py
all_test_router_dnsservice | `Skipped` | --- | test_router_dnsservice.py
all_test_login | `Skipped` | --- | test_login.py
all_test_routers | `Skipped` | --- | test_routers.py
all_test_metrics_api | `Skipped` | --- | test_metrics_api.py
all_test_routers_network_ops | `Skipped` | --- | test_routers_network_ops.py
all_test_outofbandmanagement_nestedplugin | `Skipped` | --- | test_outofbandmanagement_nestedplugin.py
all_test_reset_configuration_settings | `Skipped` | --- | test_reset_configuration_settings.py
all_test_routers_iptables_default_policy | `Skipped` | --- | test_routers_iptables_default_policy.py
all_test_secondary_storage | `Skipped` | --- | test_secondary_storage.py
all_test_service_offerings | `Skipped` | --- | test_service_offerings.py
all_test_storage_policy | `Skipped` | --- | test_storage_policy.py
all_test_templates | `Skipped` | --- | test_templates.py
all_test_update_security_group | `Skipped` | --- | test_update_security_group.py
all_test_usage_events | `Skipped` | --- | test_usage_events.py
all_test_vm_autoscaling | `Skipped` | --- | test_vm_autoscaling.py
all_test_vm_deployment_planner | `Skipped` | --- | test_vm_deployment_planner.py
all_test_vm_life_cycle | `Skipped` | --- | test_vm_life_cycle.py
all_test_vm_lifecycle_unmanage_import | `Skipped` | --- | test_vm_lifecycle_unmanage_import.py
all_test_vm_snapshot_kvm | `Skipped` | --- | test_vm_snapshot_kvm.py
all_test_vm_snapshots | `Skipped` | --- | test_vm_snapshots.py
all_test_volumes | `Skipped` | --- | test_volumes.py
all_test_vpc_ipv6 | `Skipped` | --- | test_vpc_ipv6.py
all_test_vpc_redundant | `Skipped` | --- | test_vpc_redundant.py
all_test_vpc_router_nics | `Skipped` | --- | test_vpc_router_nics.py
all_test_vpc_vpn | `Skipped` | --- | test_vpc_vpn.py
all_test_host_maintenance | `Skipped` | --- | test_host_maintenance.py
all_test_hostha_kvm | `Skipped` | --- | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland commented on pull request #6979: Guest os mappings improvements
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1607076295
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606516298
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606646086
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606552315
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1373352455
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [21 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![17.1%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '17.1%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [17.1% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1063381319
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixGetHypervisorGuestOsNamesCommandWrapper.java:
##########
@@ -0,0 +1,75 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesAnswer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.cloud.utils.Pair;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = GetHypervisorGuestOsNamesCommand.class)
+public final class CitrixGetHypervisorGuestOsNamesCommandWrapper extends CommandWrapper<GetHypervisorGuestOsNamesCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixGetHypervisorGuestOsNamesCommandWrapper.class);
+
+ @Override
+ public Answer execute(final GetHypervisorGuestOsNamesCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String keyword = command.getKeyword();
+ try {
+ s_logger.info("Getting guest os names in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
Review Comment:
thanks @harikrishna-patnala
can we add other guest os (or mappings) for citrix ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] github-actions[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1346960679
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] rohityadavcloud commented on pull request #6979: Guest os mappings improvements
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1602283496
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1602137693
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1370684116
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [16 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![1.3%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '1.3%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [1.3% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1062822604
##########
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/ClusterMO.java:
##########
@@ -69,7 +69,7 @@
//
public class ClusterMO extends BaseMO implements VmwareHypervisorHost {
private static final Logger s_logger = Logger.getLogger(ClusterMO.class);
- private ManagedObjectReference _environmentBrowser = null;
+ public ManagedObjectReference _environmentBrowser = null;
Review Comment:
maybe protected is enough.
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixCheckGuestOsMappingCommandWrapper.java:
##########
@@ -0,0 +1,67 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.Set;
+
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.CheckGuestOsMappingAnswer;
+import com.cloud.agent.api.CheckGuestOsMappingCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = CheckGuestOsMappingCommand.class)
+public final class CitrixCheckGuestOsMappingCommandWrapper extends CommandWrapper<CheckGuestOsMappingCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixCheckGuestOsMappingCommandWrapper.class);
+
+ @Override
+ public Answer execute(final CheckGuestOsMappingCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String guestOsName = command.getGuestOsName();
+ String guestOsMappingName = command.getGuestOsHypervisorMappingName();
+ try {
+ s_logger.info("Checking guest os mapping name: " + guestOsMappingName + " for the guest os: " + guestOsName + " in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
+ if (vms == null || vms.isEmpty()) {
+ return new CheckGuestOsMappingAnswer(command, "Unable to match guest os mapping name: " + guestOsMappingName + " in the hypervisor");
+ }
+ for (VM vm : vms) {
+ if (vm != null && vm.getIsATemplate(conn) && guestOsMappingName.equalsIgnoreCase(vm.getNameLabel(conn))) {
+ if (guestOsName.equalsIgnoreCase(vm.getNameLabel(conn))) {
+ // Exact matching may fail, try with regex?
Review Comment:
is this a TODO ?
##########
api/src/main/java/org/apache/cloudstack/api/response/HypervisorGuestOsNamesResponse.java:
##########
@@ -0,0 +1,76 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package org.apache.cloudstack.api.response;
+
+import java.util.List;
+
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseResponse;
+
+import com.cloud.serializer.Param;
+import com.google.gson.annotations.SerializedName;
+
+public class HypervisorGuestOsNamesResponse extends BaseResponse {
+ @SerializedName(ApiConstants.HYPERVISOR)
+ @Param(description = "the hypervisor")
+ private String hypervisor;
+
+ @SerializedName(ApiConstants.HYPERVISOR_VERSION)
+ @Param(description = "version of the hypervisor for guest os names")
+ private String hypervisorVersion;
+
+ @SerializedName(ApiConstants.GUEST_OSES)
+ @Param(description = "the guest OSes of the hypervisor", responseObject = HypervisorGuestOsResponse.class)
+ private List<HypervisorGuestOsResponse> guestOSes;
+
+ @SerializedName(ApiConstants.GUEST_OSES_COUNT)
+ @Param(description = "the count of guest OSes of the hypervisor")
+ private Integer guestOSesCount;
Review Comment:
is this being used somewhere ?
##########
server/src/main/java/com/cloud/api/ApiResponseHelper.java:
##########
@@ -3611,6 +3614,28 @@ public GuestOsMappingResponse createGuestOSMappingResponse(GuestOSHypervisor gue
return response;
}
+ @Override
+ public HypervisorGuestOsNamesResponse createHypervisorGuestOSNamesResponse(List<Pair<String, String>> hypervisorGuestOsNames) {
+ HypervisorGuestOsNamesResponse response = new HypervisorGuestOsNamesResponse();
+ List<HypervisorGuestOsResponse> hypervisorGuestOsResponses = new ArrayList<>();
+ for (Pair<String, String> hypervisorGuestOsName : hypervisorGuestOsNames) {
+ HypervisorGuestOsResponse hypervisorGuestOsResponse = createHypervisorGuestOsResponse(hypervisorGuestOsName);
+ hypervisorGuestOsResponses.add(hypervisorGuestOsResponse);
+ }
+ response.setGuestOSes(hypervisorGuestOsResponses);
+ response.setGuestOSesCount(hypervisorGuestOsResponses.size());
+ response.setObjectName("hypervisorguestosnames");
+ return response;
+ }
+
+ private HypervisorGuestOsResponse createHypervisorGuestOsResponse(Pair<String, String> hypervisorGuestOsName) {
+ HypervisorGuestOsResponse hypervisorGuestOsResponse = new HypervisorGuestOsResponse();
+ hypervisorGuestOsResponse.setOsStdName(hypervisorGuestOsName.first());
+ hypervisorGuestOsResponse.setOsNameForHypervisor(hypervisorGuestOsName.second());
+ hypervisorGuestOsResponse.setObjectName("guestoses");
Review Comment:
@harikrishna-patnala
normally we do not add "s" or "es' in the object name.
##########
server/src/main/java/com/cloud/server/ManagementServerImpl.java:
##########
@@ -2627,6 +2641,12 @@ public Pair<List<? extends GuestOSHypervisor>, Integer> listGuestOSMappingByCrit
sc.addAnd("hypervisorVersion", SearchCriteria.Op.EQ, hypervisorVersion);
}
+ if (osDisplayName != null) {
+ List<GuestOSVO> guestOSVOS = _guestOSDao.listLikeDisplayName(osDisplayName);
+ List<Long> guestOSids = guestOSVOS.stream().map(mo -> mo.getId()).collect(Collectors.toList());
+ sc.addAnd("guestOsId", SearchCriteria.Op.IN, guestOSids.toArray());
Review Comment:
@harikrishna-patnala
you may need to check if guestOSids is empty here.
I have seen some mysql errors like "name in ( )" in the past.
##########
ui/public/locales/en.json:
##########
@@ -1905,6 +1920,7 @@
"label.vms": "VMs",
"label.vmstate": "VM state",
"label.vmtotal": "Total of VMs",
+"label.vmware": "VMWare",
Review Comment:
VMware (w in lower case)
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixCheckGuestOsMappingCommandWrapper.java:
##########
@@ -0,0 +1,67 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.Set;
+
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.CheckGuestOsMappingAnswer;
+import com.cloud.agent.api.CheckGuestOsMappingCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = CheckGuestOsMappingCommand.class)
+public final class CitrixCheckGuestOsMappingCommandWrapper extends CommandWrapper<CheckGuestOsMappingCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixCheckGuestOsMappingCommandWrapper.class);
+
+ @Override
+ public Answer execute(final CheckGuestOsMappingCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String guestOsName = command.getGuestOsName();
+ String guestOsMappingName = command.getGuestOsHypervisorMappingName();
+ try {
+ s_logger.info("Checking guest os mapping name: " + guestOsMappingName + " for the guest os: " + guestOsName + " in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
+ if (vms == null || vms.isEmpty()) {
Review Comment:
@harikrishna-patnala
this is marked as resolved, but I do not see any change.
have you pushed the latest commit ?
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixGetHypervisorGuestOsNamesCommandWrapper.java:
##########
@@ -0,0 +1,75 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesAnswer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.cloud.utils.Pair;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = GetHypervisorGuestOsNamesCommand.class)
+public final class CitrixGetHypervisorGuestOsNamesCommandWrapper extends CommandWrapper<GetHypervisorGuestOsNamesCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixGetHypervisorGuestOsNamesCommandWrapper.class);
+
+ @Override
+ public Answer execute(final GetHypervisorGuestOsNamesCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String keyword = command.getKeyword();
+ try {
+ s_logger.info("Getting guest os names in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
Review Comment:
@harikrishna-patnala
what's the return of VM.getAll ? can you give an example ?
##########
api/src/main/java/org/apache/cloudstack/api/response/GuestOSResponse.java:
##########
@@ -35,13 +35,17 @@ public class GuestOSResponse extends BaseResponse {
@Param(description = "the ID of the OS category")
private String osCategoryId;
- @SerializedName(ApiConstants.DESCRIPTION)
- @Param(description = "the name/description of the OS type")
- private String description;
Review Comment:
for backwards compatibility, would it be better to keep "description" ?
it can be marked as deprecated.
##########
api/src/main/java/org/apache/cloudstack/api/command/admin/guest/AddGuestOsMappingCmd.java:
##########
@@ -82,6 +88,17 @@ public String getOsNameForHypervisor() {
return osNameForHypervisor;
}
+ public Boolean getOsMappingCheckEnabled() {
+ if (osMappingCheckEnabled == null) {
+ return false;
+ }
+ return osMappingCheckEnabled;
Review Comment:
@harikrishna-patnala
Can you please consider @GutoVeronezi 's suggestion ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1372116346
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [17 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![17.6%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '17.6%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [17.6% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] vladimirpetrov commented on pull request #6979: Guest os mappings improvements
Posted by "vladimirpetrov (via GitHub)" <gi...@apache.org>.
vladimirpetrov commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1576965800
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1589024682
@harikrishna-patnala a [LL] Jenkins job has been kicked to build packages. It will be bundled with
SystemVM template(s). I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1587474182
@DaanHoogland a [LL] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606544435
<b>[SF] Trillian Build Failed (tid-6847)<b/>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606641364
Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6333
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606648260
@harikrishna-patnala a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1607174634
Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6336
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1600767451
@andrijapanicsb a [SF] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1590792819
@harikrishna-patnala a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1602377570
Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6311
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1539805508
@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with
SystemVM template(s). I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] vladimirpetrov commented on pull request #6979: Guest os mappings improvements
Posted by "vladimirpetrov (via GitHub)" <gi...@apache.org>.
vladimirpetrov commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1571639871
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375099955
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [21 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![17.1%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '17.1%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [17.1% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1495656389
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1514808146
Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: el9 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 5943
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] codecov[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1367855350
# [Codecov](https://codecov.io/gh/apache/cloudstack/pull/6979?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#6979](https://codecov.io/gh/apache/cloudstack/pull/6979?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (f69cdfb) into [main](https://codecov.io/gh/apache/cloudstack/commit/dc40ea130fc4fdbc0ac87bdf516293de8b995c84?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (dc40ea1) will **decrease** coverage by `0.00%`.
> The diff coverage is `6.86%`.
```diff
@@ Coverage Diff @@
## main #6979 +/- ##
============================================
- Coverage 11.31% 11.31% -0.01%
- Complexity 7332 7340 +8
============================================
Files 2494 2496 +2
Lines 246787 246986 +199
Branches 38533 38570 +37
============================================
+ Hits 27929 27951 +22
- Misses 215260 215436 +176
- Partials 3598 3599 +1
```
| [Impacted Files](https://codecov.io/gh/apache/cloudstack/pull/6979?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...src/main/java/com/cloud/upgrade/GuestOsMapper.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZW5naW5lL3NjaGVtYS9zcmMvbWFpbi9qYXZhL2NvbS9jbG91ZC91cGdyYWRlL0d1ZXN0T3NNYXBwZXIuamF2YQ==) | `4.67% <0.00%> (-0.83%)` | :arrow_down: |
| [...oud/hypervisor/vmware/resource/VmwareResource.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGx1Z2lucy9oeXBlcnZpc29ycy92bXdhcmUvc3JjL21haW4vamF2YS9jb20vY2xvdWQvaHlwZXJ2aXNvci92bXdhcmUvcmVzb3VyY2UvVm13YXJlUmVzb3VyY2UuamF2YQ==) | `4.46% <0.00%> (-0.05%)` | :arrow_down: |
| [...src/main/java/com/cloud/api/ApiResponseHelper.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2VydmVyL3NyYy9tYWluL2phdmEvY29tL2Nsb3VkL2FwaS9BcGlSZXNwb25zZUhlbHBlci5qYXZh) | `3.86% <0.00%> (-0.03%)` | :arrow_down: |
| [...in/java/com/cloud/server/ManagementServerImpl.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2VydmVyL3NyYy9tYWluL2phdmEvY29tL2Nsb3VkL3NlcnZlci9NYW5hZ2VtZW50U2VydmVySW1wbC5qYXZh) | `5.10% <0.00%> (-0.09%)` | :arrow_down: |
| [...java/com/cloud/hypervisor/vmware/mo/ClusterMO.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-dm13YXJlLWJhc2Uvc3JjL21haW4vamF2YS9jb20vY2xvdWQvaHlwZXJ2aXNvci92bXdhcmUvbW8vQ2x1c3Rlck1PLmphdmE=) | `0.25% <0.00%> (-0.01%)` | :arrow_down: |
| [...in/java/com/cloud/hypervisor/vmware/mo/HostMO.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-dm13YXJlLWJhc2Uvc3JjL21haW4vamF2YS9jb20vY2xvdWQvaHlwZXJ2aXNvci92bXdhcmUvbW8vSG9zdE1PLmphdmE=) | `0.14% <0.00%> (-0.01%)` | :arrow_down: |
| [...CitrixGetHypervisorGuestOsNamesCommandWrapper.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGx1Z2lucy9oeXBlcnZpc29ycy94ZW5zZXJ2ZXIvc3JjL21haW4vamF2YS9jb20vY2xvdWQvaHlwZXJ2aXNvci94ZW5zZXJ2ZXIvcmVzb3VyY2Uvd3JhcHBlci94ZW5iYXNlL0NpdHJpeEdldEh5cGVydmlzb3JHdWVzdE9zTmFtZXNDb21tYW5kV3JhcHBlci5qYXZh) | `8.33% <8.33%> (ø)` | |
| [...nbase/CitrixCheckGuestOsMappingCommandWrapper.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGx1Z2lucy9oeXBlcnZpc29ycy94ZW5zZXJ2ZXIvc3JjL21haW4vamF2YS9jb20vY2xvdWQvaHlwZXJ2aXNvci94ZW5zZXJ2ZXIvcmVzb3VyY2Uvd3JhcHBlci94ZW5iYXNlL0NpdHJpeENoZWNrR3Vlc3RPc01hcHBpbmdDb21tYW5kV3JhcHBlci5qYXZh) | `10.00% <10.00%> (ø)` | |
| [.../src/main/java/com/cloud/host/dao/HostDaoImpl.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZW5naW5lL3NjaGVtYS9zcmMvbWFpbi9qYXZhL2NvbS9jbG91ZC9ob3N0L2Rhby9Ib3N0RGFvSW1wbC5qYXZh) | `29.20% <50.00%> (+0.31%)` | :arrow_up: |
| [...om/cloud/storage/dao/GuestOSHypervisorDaoImpl.java](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-ZW5naW5lL3NjaGVtYS9zcmMvbWFpbi9qYXZhL2NvbS9jbG91ZC9zdG9yYWdlL2Rhby9HdWVzdE9TSHlwZXJ2aXNvckRhb0ltcGwuamF2YQ==) | `33.66% <50.00%> (+1.40%)` | :arrow_up: |
| ... and [2 more](https://codecov.io/gh/apache/cloudstack/pull/6979/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1367797414
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5135
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558661456
@vladimirpetrov a [SF] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558790314
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6117
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1560710706
<b>Trillian test result (tid-6563)</b>
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 61512 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6563-vmware-67u3.zip
Smoke tests completed. 109 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_01_deploy_vm_on_specific_host | `Error` | 3602.97 | test_vm_deployment_planner.py
test_02_deploy_vm_on_specific_cluster | `Error` | 4.35 | test_vm_deployment_planner.py
test_03_deploy_vm_on_specific_pod | `Error` | 12.62 | test_vm_deployment_planner.py
test_04_deploy_vm_on_host_override_pod_and_cluster | `Error` | 3602.22 | test_vm_deployment_planner.py
test_05_deploy_vm_on_cluster_override_pod | `Error` | 1.29 | test_vm_deployment_planner.py
test_09_expunge_vm | `Failure` | 424.63 | test_vm_life_cycle.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1541446127
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6050
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1063186073
##########
api/src/main/java/org/apache/cloudstack/api/response/HypervisorGuestOsNamesResponse.java:
##########
@@ -0,0 +1,76 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package org.apache.cloudstack.api.response;
+
+import java.util.List;
+
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseResponse;
+
+import com.cloud.serializer.Param;
+import com.google.gson.annotations.SerializedName;
+
+public class HypervisorGuestOsNamesResponse extends BaseResponse {
+ @SerializedName(ApiConstants.HYPERVISOR)
+ @Param(description = "the hypervisor")
+ private String hypervisor;
+
+ @SerializedName(ApiConstants.HYPERVISOR_VERSION)
+ @Param(description = "version of the hypervisor for guest os names")
+ private String hypervisorVersion;
+
+ @SerializedName(ApiConstants.GUEST_OSES)
+ @Param(description = "the guest OSes of the hypervisor", responseObject = HypervisorGuestOsResponse.class)
+ private List<HypervisorGuestOsResponse> guestOSes;
+
+ @SerializedName(ApiConstants.GUEST_OSES_COUNT)
+ @Param(description = "the count of guest OSes of the hypervisor")
+ private Integer guestOSesCount;
Review Comment:
This is not used anywhere but to keep a count of the list.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375432563
@harikrishna-patnala a Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1376364065
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1515960700
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [33 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![16.7%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '16.7%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [16.7% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1602284865
@rohityadavcloud a [SF] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1607868582
<b>[SF] Trillian test result (tid-6850)</b>
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 41628 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6850-xenserver-71.zip
Smoke tests completed. 111 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 1768.97 | test_host_maintenance.py
test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 1769.02 | test_host_maintenance.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1590365929
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland commented on pull request #6979: Guest os mappings improvements
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1587472020
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland commented on pull request #6979: Guest os mappings improvements
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1592645910
@blueorangutan test centos7 xenserver-71
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1376747613
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [28 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![16.7%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '16.7%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [16.7% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1063381692
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixGetHypervisorGuestOsNamesCommandWrapper.java:
##########
@@ -0,0 +1,75 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesAnswer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.cloud.utils.Pair;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = GetHypervisorGuestOsNamesCommand.class)
+public final class CitrixGetHypervisorGuestOsNamesCommandWrapper extends CommandWrapper<GetHypervisorGuestOsNamesCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixGetHypervisorGuestOsNamesCommandWrapper.class);
+
+ @Override
+ public Answer execute(final GetHypervisorGuestOsNamesCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String keyword = command.getKeyword();
+ try {
+ s_logger.info("Getting guest os names in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
Review Comment:
anyway, code looks good. let's wait QA to test it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375337555
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1376541684
<b>Trillian test result (tid-5764)</b>
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 47213 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t5764-kvm-centos7.zip
Smoke tests completed. 106 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_02_upgrade_kubernetes_cluster | `Failure` | 488.27 | test_kubernetes_clusters.py
test_05_rvpc_multi_tiers | `Failure` | 426.08 | test_vpc_redundant.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1384090027
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [21 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![16.7%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '16.7%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [16.7% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1347799514
Do we need to close the old PR#6561 @DaanHoogland ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1349308773
@harikrishna-patnala yes, I think so. As @GutoVeronezi asks we should also copy the description from there. Only @sureshanaparti can reach the other branch and I don't think he has time for it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1370620230
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1514353064
@vladimirpetrov 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558630832
@DaanHoogland a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558647434
@vladimirpetrov is testing this currently. I'll mark it ready after that. @DaanHoogland
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558673977
<b>Trillian test result (tid-6551)</b>
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 365 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6551-xenserver-71.zip
Smoke tests completed. 2 look OK, 0 have errors, 79 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
all_test_deploy_vm | `Skipped` | --- | test_deploy_vm.py
all_test_escalations_templates | `Skipped` | --- | test_escalations_templates.py
all_test_vm_ha | `Skipped` | --- | test_vm_ha.py
all_test_vm_sync | `Skipped` | --- | test_vm_sync.py
all_test_accounts | `Skipped` | --- | test_accounts.py
all_test_router_dnsservice | `Skipped` | --- | test_router_dnsservice.py
all_test_affinity_groups | `Skipped` | --- | test_affinity_groups.py
all_test_projects | `Skipped` | --- | test_projects.py
all_test_affinity_groups_projects | `Skipped` | --- | test_affinity_groups_projects.py
all_test_async_job | `Skipped` | --- | test_async_job.py
all_test_routers | `Skipped` | --- | test_routers.py
all_test_certauthority_root | `Skipped` | --- | test_certauthority_root.py
all_test_over_provisioning | `Skipped` | --- | test_over_provisioning.py
all_test_create_list_domain_account_project | `Skipped` | --- | test_create_list_domain_account_project.py
all_test_public_ip_range | `Skipped` | --- | test_public_ip_range.py
all_test_deploy_vgpu_enabled_vm | `Skipped` | --- | test_deploy_vgpu_enabled_vm.py
all_test_pvlan | `Skipped` | --- | test_pvlan.py
all_test_deploy_virtio_scsi_vm | `Skipped` | --- | test_deploy_virtio_scsi_vm.py
all_test_routers_network_ops | `Skipped` | --- | test_routers_network_ops.py
all_test_deploy_vm_iso | `Skipped` | --- | test_deploy_vm_iso.py
all_test_regions | `Skipped` | --- | test_regions.py
all_test_deploy_vm_root_resize | `Skipped` | --- | test_deploy_vm_root_resize.py
all_test_reset_vm_on_reboot | `Skipped` | --- | test_reset_vm_on_reboot.py
all_test_deploy_vm_with_userdata | `Skipped` | --- | test_deploy_vm_with_userdata.py
all_test_privategw_acl | `Skipped` | --- | test_privategw_acl.py
all_test_deploy_vms_with_varied_deploymentplanners | `Skipped` | --- | test_deploy_vms_with_varied_deploymentplanners.py
all_test_diagnostics | `Skipped` | --- | test_diagnostics.py
all_test_scale_vm | `Skipped` | --- | test_scale_vm.py
all_test_direct_download | `Skipped` | --- | test_direct_download.py
all_test_secondary_storage | `Skipped` | --- | test_secondary_storage.py
all_test_disk_offerings | `Skipped` | --- | test_disk_offerings.py
all_test_resource_accounting | `Skipped` | --- | test_resource_accounting.py
all_test_domain_disk_offerings | `Skipped` | --- | test_domain_disk_offerings.py
all_test_resource_detail | `Skipped` | --- | test_resource_detail.py
all_test_domain_network_offerings | `Skipped` | --- | test_domain_network_offerings.py
all_test_router_dhcphosts | `Skipped` | --- | test_router_dhcphosts.py
all_test_domain_service_offerings | `Skipped` | --- | test_domain_service_offerings.py
all_test_service_offerings | `Skipped` | --- | test_service_offerings.py
all_test_domain_vpc_offerings | `Skipped` | --- | test_domain_vpc_offerings.py
all_test_snapshots | `Skipped` | --- | test_snapshots.py
all_test_global_settings | `Skipped` | --- | test_global_settings.py
all_test_templates | `Skipped` | --- | test_templates.py
all_test_guest_vlan_range | `Skipped` | --- | test_guest_vlan_range.py
all_test_host_annotations | `Skipped` | --- | test_host_annotations.py
all_test_usage | `Skipped` | --- | test_usage.py
all_test_usage_events | `Skipped` | --- | test_usage_events.py
all_test_hostha_simulator | `Skipped` | --- | test_hostha_simulator.py
all_test_internal_lb | `Skipped` | --- | test_internal_lb.py
all_test_iso | `Skipped` | --- | test_iso.py
all_test_vm_snapshots | `Skipped` | --- | test_vm_snapshots.py
all_test_list_ids_parameter | `Skipped` | --- | test_list_ids_parameter.py
all_test_loadbalance | `Skipped` | --- | test_loadbalance.py
all_test_login | `Skipped` | --- | test_login.py
all_test_metrics_api | `Skipped` | --- | test_metrics_api.py
all_test_migration | `Skipped` | --- | test_migration.py
all_test_vm_deployment_planner | `Skipped` | --- | test_vm_deployment_planner.py
all_test_multipleips_per_nic | `Skipped` | --- | test_multipleips_per_nic.py
all_test_router_dns | `Skipped` | --- | test_router_dns.py
all_test_nested_virtualization | `Skipped` | --- | test_nested_virtualization.py
all_test_network | `Skipped` | --- | test_network.py
all_test_network_acl | `Skipped` | --- | test_network_acl.py
all_test_nic | `Skipped` | --- | test_nic.py
all_test_vm_life_cycle | `Skipped` | --- | test_vm_life_cycle.py
all_test_nic_adapter_type | `Skipped` | --- | test_nic_adapter_type.py
all_test_volumes | `Skipped` | --- | test_volumes.py
all_test_non_contigiousvlan | `Skipped` | --- | test_non_contigiousvlan.py
all_test_vpc_redundant | `Skipped` | --- | test_vpc_redundant.py
all_test_outofbandmanagement | `Skipped` | --- | test_outofbandmanagement.py
all_test_outofbandmanagement_nestedplugin | `Skipped` | --- | test_outofbandmanagement_nestedplugin.py
all_test_password_server | `Skipped` | --- | test_password_server.py
all_test_vpc_router_nics | `Skipped` | --- | test_vpc_router_nics.py
all_test_portable_publicip | `Skipped` | --- | test_portable_publicip.py
all_test_vpc_vpn | `Skipped` | --- | test_vpc_vpn.py
all_test_portforwardingrules | `Skipped` | --- | test_portforwardingrules.py
all_test_primary_storage | `Skipped` | --- | test_primary_storage.py
all_test_ssvm | `Skipped` | --- | test_ssvm.py
all_test_routers_iptables_default_policy | `Skipped` | --- | test_routers_iptables_default_policy.py
all_test_host_maintenance | `Skipped` | --- | test_host_maintenance.py
all_test_hostha_kvm | `Skipped` | --- | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1587081816
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1592016436
<b>[SF] Trillian test result (tid-6736)</b>
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 43336 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6736-vmware-67u3.zip
Smoke tests completed. 112 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1495719471
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5851
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606553839
@harikrishna-patnala a [SF] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1571642340
@vladimirpetrov a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1587098597
Packaging result [LL]: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: el9 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 6126
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1589018409
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1587082434
@harikrishna-patnala a [LL] Jenkins job has been kicked to build packages. It will be bundled with
SystemVM template(s). I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1587631653
Packaging result [LL]: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: el9 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 6132
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1590852595
<b>[SF] Trillian test result (tid-6735)</b>
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 765 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6735-xenserver-71.zip
Smoke tests completed. 0 look OK, 0 have errors, 112 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
all_test_safe_shutdown | `Skipped` | --- | test_safe_shutdown.py
all_test_scale_vm | `Skipped` | --- | test_scale_vm.py
all_test_2fa | `Skipped` | --- | test_2fa.py
all_test_regions | `Skipped` | --- | test_regions.py
all_test_accounts | `Skipped` | --- | test_accounts.py
all_test_nonstrict_affinity_group | `Skipped` | --- | test_nonstrict_affinity_group.py
all_test_affinity_groups | `Skipped` | --- | test_affinity_groups.py
all_test_internal_lb | `Skipped` | --- | test_internal_lb.py
all_test_usage | `Skipped` | --- | test_usage.py
all_test_affinity_groups_projects | `Skipped` | --- | test_affinity_groups_projects.py
all_test_register_userdata | `Skipped` | --- | test_register_userdata.py
all_test_annotations | `Skipped` | --- | test_annotations.py
all_test_reset_vm_on_reboot | `Skipped` | --- | test_reset_vm_on_reboot.py
all_test_async_job | `Skipped` | --- | test_async_job.py
all_test_ipv6_infra | `Skipped` | --- | test_ipv6_infra.py
all_test_attach_multiple_volumes | `Skipped` | --- | test_attach_multiple_volumes.py
all_test_kubernetes_clusters | `Skipped` | --- | test_kubernetes_clusters.py
all_test_backup_recovery_dummy | `Skipped` | --- | test_backup_recovery_dummy.py
all_test_outofbandmanagement | `Skipped` | --- | test_outofbandmanagement.py
all_test_certauthority_root | `Skipped` | --- | test_certauthority_root.py
all_test_over_provisioning | `Skipped` | --- | test_over_provisioning.py
all_test_console_endpoint | `Skipped` | --- | test_console_endpoint.py
all_test_set_sourcenat | `Skipped` | --- | test_set_sourcenat.py
all_test_create_list_domain_account_project | `Skipped` | --- | test_create_list_domain_account_project.py
all_test_password_server | `Skipped` | --- | test_password_server.py
all_test_create_network | `Skipped` | --- | test_create_network.py
all_test_iso | `Skipped` | --- | test_iso.py
all_test_snapshots | `Skipped` | --- | test_snapshots.py
all_test_deploy_vgpu_enabled_vm | `Skipped` | --- | test_deploy_vgpu_enabled_vm.py
all_test_migration | `Skipped` | --- | test_migration.py
all_test_deploy_virtio_scsi_vm | `Skipped` | --- | test_deploy_virtio_scsi_vm.py
all_test_multipleips_per_nic | `Skipped` | --- | test_multipleips_per_nic.py
all_test_deploy_vm_extra_config_data | `Skipped` | --- | test_deploy_vm_extra_config_data.py
all_test_persistent_network | `Skipped` | --- | test_persistent_network.py
all_test_deploy_vm_iso | `Skipped` | --- | test_deploy_vm_iso.py
all_test_portable_publicip | `Skipped` | --- | test_portable_publicip.py
all_test_deploy_vm_iso_uefi | `Skipped` | --- | test_deploy_vm_iso_uefi.py
all_test_nested_virtualization | `Skipped` | --- | test_nested_virtualization.py
all_test_deploy_vm_root_resize | `Skipped` | --- | test_deploy_vm_root_resize.py
all_test_network | `Skipped` | --- | test_network.py
all_test_deploy_vm_with_userdata | `Skipped` | --- | test_deploy_vm_with_userdata.py
all_test_network_acl | `Skipped` | --- | test_network_acl.py
all_test_deploy_vms_in_parallel | `Skipped` | --- | test_deploy_vms_in_parallel.py
all_test_ssvm | `Skipped` | --- | test_ssvm.py
all_test_deploy_vms_with_varied_deploymentplanners | `Skipped` | --- | test_deploy_vms_with_varied_deploymentplanners.py
all_test_resource_accounting | `Skipped` | --- | test_resource_accounting.py
all_test_diagnostics | `Skipped` | --- | test_diagnostics.py
all_test_portforwardingrules | `Skipped` | --- | test_portforwardingrules.py
all_test_direct_download | `Skipped` | --- | test_direct_download.py
all_test_primary_storage | `Skipped` | --- | test_primary_storage.py
all_test_disk_offerings | `Skipped` | --- | test_disk_offerings.py
all_test_network_ipv6 | `Skipped` | --- | test_network_ipv6.py
all_test_disk_provisioning_types | `Skipped` | --- | test_disk_provisioning_types.py
all_test_network_permissions | `Skipped` | --- | test_network_permissions.py
all_test_domain_disk_offerings | `Skipped` | --- | test_domain_disk_offerings.py
all_test_nic | `Skipped` | --- | test_nic.py
all_test_staticroles | `Skipped` | --- | test_staticroles.py
all_test_domain_network_offerings | `Skipped` | --- | test_domain_network_offerings.py
all_test_nic_adapter_type | `Skipped` | --- | test_nic_adapter_type.py
all_test_domain_service_offerings | `Skipped` | --- | test_domain_service_offerings.py
all_test_private_roles | `Skipped` | --- | test_private_roles.py
all_test_domain_vpc_offerings | `Skipped` | --- | test_domain_vpc_offerings.py
all_test_resource_detail | `Skipped` | --- | test_resource_detail.py
all_test_dynamicroles | `Skipped` | --- | test_dynamicroles.py
all_test_hostha_simulator | `Skipped` | --- | test_hostha_simulator.py
all_test_enable_account_settings_for_domain | `Skipped` | --- | test_enable_account_settings_for_domain.py
all_test_human_readable_logs | `Skipped` | --- | test_human_readable_logs.py
all_test_enable_role_based_users_in_projects | `Skipped` | --- | test_enable_role_based_users_in_projects.py
all_test_privategw_acl | `Skipped` | --- | test_privategw_acl.py
all_test_events_resource | `Skipped` | --- | test_events_resource.py
all_test_non_contigiousvlan | `Skipped` | --- | test_non_contigiousvlan.py
all_test_gateway_on_shared_networks | `Skipped` | --- | test_gateway_on_shared_networks.py
all_test_privategw_acl_ovs_gre | `Skipped` | --- | test_privategw_acl_ovs_gre.py
all_test_global_settings | `Skipped` | --- | test_global_settings.py
all_test_router_dhcphosts | `Skipped` | --- | test_router_dhcphosts.py
all_test_guest_os | `Skipped` | --- | test_guest_os.py
all_test_projects | `Skipped` | --- | test_projects.py
all_test_guest_vlan_range | `Skipped` | --- | test_guest_vlan_range.py
all_test_public_ip_range | `Skipped` | --- | test_public_ip_range.py
all_test_host_control_state | `Skipped` | --- | test_host_control_state.py
all_test_kubernetes_supported_versions | `Skipped` | --- | test_kubernetes_supported_versions.py
all_test_pvlan | `Skipped` | --- | test_pvlan.py
all_test_list_ids_parameter | `Skipped` | --- | test_list_ids_parameter.py
all_test_router_dns | `Skipped` | --- | test_router_dns.py
all_test_loadbalance | `Skipped` | --- | test_loadbalance.py
all_test_router_dnsservice | `Skipped` | --- | test_router_dnsservice.py
all_test_login | `Skipped` | --- | test_login.py
all_test_routers | `Skipped` | --- | test_routers.py
all_test_metrics_api | `Skipped` | --- | test_metrics_api.py
all_test_routers_network_ops | `Skipped` | --- | test_routers_network_ops.py
all_test_outofbandmanagement_nestedplugin | `Skipped` | --- | test_outofbandmanagement_nestedplugin.py
all_test_reset_configuration_settings | `Skipped` | --- | test_reset_configuration_settings.py
all_test_routers_iptables_default_policy | `Skipped` | --- | test_routers_iptables_default_policy.py
all_test_secondary_storage | `Skipped` | --- | test_secondary_storage.py
all_test_service_offerings | `Skipped` | --- | test_service_offerings.py
all_test_storage_policy | `Skipped` | --- | test_storage_policy.py
all_test_templates | `Skipped` | --- | test_templates.py
all_test_update_security_group | `Skipped` | --- | test_update_security_group.py
all_test_usage_events | `Skipped` | --- | test_usage_events.py
all_test_vm_autoscaling | `Skipped` | --- | test_vm_autoscaling.py
all_test_vm_deployment_planner | `Skipped` | --- | test_vm_deployment_planner.py
all_test_vm_life_cycle | `Skipped` | --- | test_vm_life_cycle.py
all_test_vm_lifecycle_unmanage_import | `Skipped` | --- | test_vm_lifecycle_unmanage_import.py
all_test_vm_snapshot_kvm | `Skipped` | --- | test_vm_snapshot_kvm.py
all_test_vm_snapshots | `Skipped` | --- | test_vm_snapshots.py
all_test_volumes | `Skipped` | --- | test_volumes.py
all_test_vpc_ipv6 | `Skipped` | --- | test_vpc_ipv6.py
all_test_vpc_redundant | `Skipped` | --- | test_vpc_redundant.py
all_test_vpc_router_nics | `Skipped` | --- | test_vpc_router_nics.py
all_test_vpc_vpn | `Skipped` | --- | test_vpc_vpn.py
all_test_host_maintenance | `Skipped` | --- | test_host_maintenance.py
all_test_hostha_kvm | `Skipped` | --- | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1541451735
@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with
SystemVM template(s). I'll keep you posted as I make progress.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1541403817
> Overall, code looks good.
>
> @DaanHoogland, could we extend the description to better describe the changes? The new API creation, the changes in existing APIs, the changes in the UI, and so on.
I've added a doc PR that explains the guest OS pages and those details here https://qa.cloudstack.cloud/builds/docs-build/pr/300/adminguide/guest_os.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1515957720
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5949
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] vladimirpetrov commented on pull request #6979: Guest os mappings improvements
Posted by "vladimirpetrov (via GitHub)" <gi...@apache.org>.
vladimirpetrov commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1514805417
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375407134
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5204
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1376531439
<b>Trillian test result (tid-5763)</b>
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 46612 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t5763-vmware-67u3.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_08_upgrade_kubernetes_ha_cluster | `Failure` | 617.08 | test_kubernetes_clusters.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375988226
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [27 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![17.1%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '17.1%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [17.1% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1063185174
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixCheckGuestOsMappingCommandWrapper.java:
##########
@@ -0,0 +1,67 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.Set;
+
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.CheckGuestOsMappingAnswer;
+import com.cloud.agent.api.CheckGuestOsMappingCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = CheckGuestOsMappingCommand.class)
+public final class CitrixCheckGuestOsMappingCommandWrapper extends CommandWrapper<CheckGuestOsMappingCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixCheckGuestOsMappingCommandWrapper.class);
+
+ @Override
+ public Answer execute(final CheckGuestOsMappingCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String guestOsName = command.getGuestOsName();
+ String guestOsMappingName = command.getGuestOsHypervisorMappingName();
+ try {
+ s_logger.info("Checking guest os mapping name: " + guestOsMappingName + " for the guest os: " + guestOsName + " in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
+ if (vms == null || vms.isEmpty()) {
+ return new CheckGuestOsMappingAnswer(command, "Unable to match guest os mapping name: " + guestOsMappingName + " in the hypervisor");
+ }
+ for (VM vm : vms) {
+ if (vm != null && vm.getIsATemplate(conn) && guestOsMappingName.equalsIgnoreCase(vm.getNameLabel(conn))) {
+ if (guestOsName.equalsIgnoreCase(vm.getNameLabel(conn))) {
+ // Exact matching may fail, try with regex?
Review Comment:
I think this is Suresh's hypothesis that it may fail. In my testing this is getting passed normally
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1071210829
##########
engine/schema/src/main/java/com/cloud/upgrade/GuestOsMapper.java:
##########
@@ -188,4 +190,33 @@ private boolean isValidGuestOSHypervisorMapping(GuestOSHypervisorMapping mapping
LOG.warn("Invalid Guest OS hypervisor mapping");
return false;
}
+
+ /**
+ * Copies guest OS mappings from src version to dest version for the hypervisor (use this to copy all mappings from older version to newer version during upgrade)
+ * @return true if copied successfully, else false.
+ */
+ public boolean copyGuestOSHypervisorMappings(HypervisorType hypervisorType, String srcVersion, String destVersion) {
+ if (hypervisorType == HypervisorType.None || hypervisorType == HypervisorType.Any) {
+ LOG.warn("Unable to copy, invalid hypervisor");
+ return false;
+ }
+
+ if (StringUtils.isBlank(srcVersion) || StringUtils.isBlank(destVersion)) {
Review Comment:
@harikrishna-patnala why not apply this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] github-actions[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1387128896
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1367801702
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [12 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![1.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '1.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [1.0% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1367779541
@harikrishna-patnala 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1371831413
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [17 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![17.6%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '17.6%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [17.6% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] weizhouapache commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1063379801
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixCheckGuestOsMappingCommandWrapper.java:
##########
@@ -0,0 +1,67 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.Set;
+
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.CheckGuestOsMappingAnswer;
+import com.cloud.agent.api.CheckGuestOsMappingCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = CheckGuestOsMappingCommand.class)
+public final class CitrixCheckGuestOsMappingCommandWrapper extends CommandWrapper<CheckGuestOsMappingCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixCheckGuestOsMappingCommandWrapper.class);
+
+ @Override
+ public Answer execute(final CheckGuestOsMappingCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String guestOsName = command.getGuestOsName();
+ String guestOsMappingName = command.getGuestOsHypervisorMappingName();
+ try {
+ s_logger.info("Checking guest os mapping name: " + guestOsMappingName + " for the guest os: " + guestOsName + " in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
+ if (vms == null || vms.isEmpty()) {
+ return new CheckGuestOsMappingAnswer(command, "Unable to match guest os mapping name: " + guestOsMappingName + " in the hypervisor");
+ }
+ for (VM vm : vms) {
+ if (vm != null && vm.getIsATemplate(conn) && guestOsMappingName.equalsIgnoreCase(vm.getNameLabel(conn))) {
+ if (guestOsName.equalsIgnoreCase(vm.getNameLabel(conn))) {
+ // Exact matching may fail, try with regex?
Review Comment:
@harikrishna-patnala
if so, should the comment be removed ?
##########
api/src/main/java/org/apache/cloudstack/api/response/HypervisorGuestOsNamesResponse.java:
##########
@@ -0,0 +1,76 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package org.apache.cloudstack.api.response;
+
+import java.util.List;
+
+import org.apache.cloudstack.api.ApiConstants;
+import org.apache.cloudstack.api.BaseResponse;
+
+import com.cloud.serializer.Param;
+import com.google.gson.annotations.SerializedName;
+
+public class HypervisorGuestOsNamesResponse extends BaseResponse {
+ @SerializedName(ApiConstants.HYPERVISOR)
+ @Param(description = "the hypervisor")
+ private String hypervisor;
+
+ @SerializedName(ApiConstants.HYPERVISOR_VERSION)
+ @Param(description = "version of the hypervisor for guest os names")
+ private String hypervisorVersion;
+
+ @SerializedName(ApiConstants.GUEST_OSES)
+ @Param(description = "the guest OSes of the hypervisor", responseObject = HypervisorGuestOsResponse.class)
+ private List<HypervisorGuestOsResponse> guestOSes;
+
+ @SerializedName(ApiConstants.GUEST_OSES_COUNT)
+ @Param(description = "the count of guest OSes of the hypervisor")
+ private Integer guestOSesCount;
Review Comment:
OK @harikrishna-patnala
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on a diff in pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
harikrishna-patnala commented on code in PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#discussion_r1064266018
##########
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixGetHypervisorGuestOsNamesCommandWrapper.java:
##########
@@ -0,0 +1,75 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+package com.cloud.hypervisor.xenserver.resource.wrapper.xenbase;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import org.apache.commons.lang3.StringUtils;
+import org.apache.log4j.Logger;
+
+import com.cloud.agent.api.Answer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesAnswer;
+import com.cloud.agent.api.GetHypervisorGuestOsNamesCommand;
+import com.cloud.hypervisor.xenserver.resource.CitrixResourceBase;
+import com.cloud.resource.CommandWrapper;
+import com.cloud.resource.ResourceWrapper;
+import com.cloud.utils.Pair;
+import com.xensource.xenapi.Connection;
+import com.xensource.xenapi.VM;
+
+@ResourceWrapper(handles = GetHypervisorGuestOsNamesCommand.class)
+public final class CitrixGetHypervisorGuestOsNamesCommandWrapper extends CommandWrapper<GetHypervisorGuestOsNamesCommand, Answer, CitrixResourceBase> {
+
+ private static final Logger s_logger = Logger.getLogger(CitrixGetHypervisorGuestOsNamesCommandWrapper.class);
+
+ @Override
+ public Answer execute(final GetHypervisorGuestOsNamesCommand command, final CitrixResourceBase citrixResourceBase) {
+ final Connection conn = citrixResourceBase.getConnection();
+ String keyword = command.getKeyword();
+ try {
+ s_logger.info("Getting guest os names in the hypervisor");
+ final Set<VM> vms = VM.getAll(conn);
Review Comment:
Yes we can add as long as the hypervisor supports it. To enforce this, we have now a new parameter in guestosmapping addition which makes sure to check the name is correct or not with the hypervisor.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1375338071
@harikrishna-patnala 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1376435487
SonarCloud Quality Gate failed. [![Quality Gate failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png 'Quality Gate failed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6979)
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=BUG)
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=VULNERABILITY)
[![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6979&resolved=false&types=SECURITY_HOTSPOT)
[![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL) [28 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6979&resolved=false&types=CODE_SMELL)
[![16.7%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/0-16px.png '16.7%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list) [16.7% Coverage](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_coverage&view=list)
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png '0.0%')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list) [0.0% Duplication](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6979&metric=new_duplicated_lines_density&view=list)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland closed pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
DaanHoogland closed pull request #6979: Guest os mappings improvements
URL: https://github.com/apache/cloudstack/pull/6979
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] DaanHoogland commented on pull request #6979: Guest os mappings improvements
Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1387167675
small conflict @harikrishna-patnala , looks simple. can you have a look?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] vladimirpetrov commented on pull request #6979: Guest os mappings improvements
Posted by "vladimirpetrov (via GitHub)" <gi...@apache.org>.
vladimirpetrov commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1514350754
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1591907089
<b>[SF] Trillian test result (tid-6737)</b>
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38604 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6737-kvm-centos7.zip
Smoke tests completed. 111 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_hostha_enable_ha_when_host_disabled | `Error` | 2.77 | test_hostha_kvm.py
test_hostha_enable_ha_when_host_in_maintenance | `Error` | 304.77 | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] github-actions[bot] commented on pull request #6979: Guest os mappings improvements
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1606953928
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1600866313
Packaging result [SF]: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6295
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1607910934
<b>[SF] Trillian test result (tid-6852)</b>
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42882 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6852-kvm-centos7.zip
Smoke tests completed. 111 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_01_migrate_VM_and_root_volume | `Error` | 78.79 | test_vm_life_cycle.py
test_02_migrate_VM_with_two_data_disks | `Error` | 58.73 | test_vm_life_cycle.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1558678422
<b>Trillian test result (tid-6553)</b>
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 379 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6553-kvm-centos7.zip
Smoke tests completed. 2 look OK, 0 have errors, 79 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
all_test_deploy_vm | `Skipped` | --- | test_deploy_vm.py
all_test_escalations_templates | `Skipped` | --- | test_escalations_templates.py
all_test_vm_ha | `Skipped` | --- | test_vm_ha.py
all_test_vm_sync | `Skipped` | --- | test_vm_sync.py
all_test_accounts | `Skipped` | --- | test_accounts.py
all_test_router_dnsservice | `Skipped` | --- | test_router_dnsservice.py
all_test_affinity_groups | `Skipped` | --- | test_affinity_groups.py
all_test_projects | `Skipped` | --- | test_projects.py
all_test_affinity_groups_projects | `Skipped` | --- | test_affinity_groups_projects.py
all_test_async_job | `Skipped` | --- | test_async_job.py
all_test_routers | `Skipped` | --- | test_routers.py
all_test_certauthority_root | `Skipped` | --- | test_certauthority_root.py
all_test_over_provisioning | `Skipped` | --- | test_over_provisioning.py
all_test_create_list_domain_account_project | `Skipped` | --- | test_create_list_domain_account_project.py
all_test_public_ip_range | `Skipped` | --- | test_public_ip_range.py
all_test_deploy_vgpu_enabled_vm | `Skipped` | --- | test_deploy_vgpu_enabled_vm.py
all_test_pvlan | `Skipped` | --- | test_pvlan.py
all_test_deploy_virtio_scsi_vm | `Skipped` | --- | test_deploy_virtio_scsi_vm.py
all_test_routers_network_ops | `Skipped` | --- | test_routers_network_ops.py
all_test_deploy_vm_iso | `Skipped` | --- | test_deploy_vm_iso.py
all_test_regions | `Skipped` | --- | test_regions.py
all_test_deploy_vm_root_resize | `Skipped` | --- | test_deploy_vm_root_resize.py
all_test_reset_vm_on_reboot | `Skipped` | --- | test_reset_vm_on_reboot.py
all_test_deploy_vm_with_userdata | `Skipped` | --- | test_deploy_vm_with_userdata.py
all_test_privategw_acl | `Skipped` | --- | test_privategw_acl.py
all_test_deploy_vms_with_varied_deploymentplanners | `Skipped` | --- | test_deploy_vms_with_varied_deploymentplanners.py
all_test_diagnostics | `Skipped` | --- | test_diagnostics.py
all_test_scale_vm | `Skipped` | --- | test_scale_vm.py
all_test_direct_download | `Skipped` | --- | test_direct_download.py
all_test_secondary_storage | `Skipped` | --- | test_secondary_storage.py
all_test_disk_offerings | `Skipped` | --- | test_disk_offerings.py
all_test_resource_accounting | `Skipped` | --- | test_resource_accounting.py
all_test_domain_disk_offerings | `Skipped` | --- | test_domain_disk_offerings.py
all_test_resource_detail | `Skipped` | --- | test_resource_detail.py
all_test_domain_network_offerings | `Skipped` | --- | test_domain_network_offerings.py
all_test_router_dhcphosts | `Skipped` | --- | test_router_dhcphosts.py
all_test_domain_service_offerings | `Skipped` | --- | test_domain_service_offerings.py
all_test_service_offerings | `Skipped` | --- | test_service_offerings.py
all_test_domain_vpc_offerings | `Skipped` | --- | test_domain_vpc_offerings.py
all_test_snapshots | `Skipped` | --- | test_snapshots.py
all_test_global_settings | `Skipped` | --- | test_global_settings.py
all_test_templates | `Skipped` | --- | test_templates.py
all_test_guest_vlan_range | `Skipped` | --- | test_guest_vlan_range.py
all_test_host_annotations | `Skipped` | --- | test_host_annotations.py
all_test_usage | `Skipped` | --- | test_usage.py
all_test_usage_events | `Skipped` | --- | test_usage_events.py
all_test_hostha_simulator | `Skipped` | --- | test_hostha_simulator.py
all_test_internal_lb | `Skipped` | --- | test_internal_lb.py
all_test_iso | `Skipped` | --- | test_iso.py
all_test_vm_snapshots | `Skipped` | --- | test_vm_snapshots.py
all_test_list_ids_parameter | `Skipped` | --- | test_list_ids_parameter.py
all_test_loadbalance | `Skipped` | --- | test_loadbalance.py
all_test_login | `Skipped` | --- | test_login.py
all_test_metrics_api | `Skipped` | --- | test_metrics_api.py
all_test_migration | `Skipped` | --- | test_migration.py
all_test_vm_deployment_planner | `Skipped` | --- | test_vm_deployment_planner.py
all_test_multipleips_per_nic | `Skipped` | --- | test_multipleips_per_nic.py
all_test_router_dns | `Skipped` | --- | test_router_dns.py
all_test_nested_virtualization | `Skipped` | --- | test_nested_virtualization.py
all_test_network | `Skipped` | --- | test_network.py
all_test_network_acl | `Skipped` | --- | test_network_acl.py
all_test_nic | `Skipped` | --- | test_nic.py
all_test_vm_life_cycle | `Skipped` | --- | test_vm_life_cycle.py
all_test_nic_adapter_type | `Skipped` | --- | test_nic_adapter_type.py
all_test_volumes | `Skipped` | --- | test_volumes.py
all_test_non_contigiousvlan | `Skipped` | --- | test_non_contigiousvlan.py
all_test_vpc_redundant | `Skipped` | --- | test_vpc_redundant.py
all_test_outofbandmanagement | `Skipped` | --- | test_outofbandmanagement.py
all_test_outofbandmanagement_nestedplugin | `Skipped` | --- | test_outofbandmanagement_nestedplugin.py
all_test_password_server | `Skipped` | --- | test_password_server.py
all_test_vpc_router_nics | `Skipped` | --- | test_vpc_router_nics.py
all_test_portable_publicip | `Skipped` | --- | test_portable_publicip.py
all_test_vpc_vpn | `Skipped` | --- | test_vpc_vpn.py
all_test_portforwardingrules | `Skipped` | --- | test_portforwardingrules.py
all_test_primary_storage | `Skipped` | --- | test_primary_storage.py
all_test_ssvm | `Skipped` | --- | test_ssvm.py
all_test_routers_iptables_default_policy | `Skipped` | --- | test_routers_iptables_default_policy.py
all_test_host_maintenance | `Skipped` | --- | test_host_maintenance.py
all_test_hostha_kvm | `Skipped` | --- | test_hostha_kvm.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] vladimirpetrov commented on pull request #6979: Guest os mappings improvements
Posted by "vladimirpetrov (via GitHub)" <gi...@apache.org>.
vladimirpetrov commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1559654938
@blueorangutan test matrix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1560464885
<b>Trillian test result (tid-6562)</b>
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 48108 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6979-t6562-xenserver-71.zip
Smoke tests completed. 110 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File
--- | --- | --- | ---
test_02_cancel_host_maintenace_with_migration_jobs | `Error` | 1512.36 | test_host_maintenance.py
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1566809756
@vladimirpetrov a [LL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1539917744
Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6046
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] harikrishna-patnala commented on pull request #6979: Guest os mappings improvements
Posted by "harikrishna-patnala (via GitHub)" <gi...@apache.org>.
harikrishna-patnala commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1541449555
@blueorangutan package
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] blueorangutan commented on pull request #6979: Guest os mappings improvements
Posted by "blueorangutan (via GitHub)" <gi...@apache.org>.
blueorangutan commented on PR #6979:
URL: https://github.com/apache/cloudstack/pull/6979#issuecomment-1576969192
@vladimirpetrov a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org