[
https://issues.apache.org/jira/browse/CLOUDSTACK-9112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895269#comment-15895269
]
ASF GitHub Bot commented on CLOUDSTACK-9112:
--------------------------------------------
Github user cloudmonger commented on the issue:
https://github.com/apache/cloudstack/pull/1180
### ACS CI BVT Run
**Sumarry:**
Build Number 420
Hypervisor xenserver
NetworkType Advanced
Passed=102
Failed=3
Skipped=7
_Link to logs Folder (search by build_no):_
https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
**Failed tests:**
* test_routers_network_ops.py
* test_02_isolate_network_FW_PF_default_routes_egress_false Failed
* test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Failed
* test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Failing since
2 runs
**Skipped tests:**
test_01_test_vm_volume_snapshot
test_vm_nic_adapter_vmxnet3
test_static_role_account_acls
test_11_ss_nfs_version_on_ssvm
test_nested_virtualization_vmware
test_3d_gpu_support
test_deploy_vgpu_enabled_vm
**Passed test suits:**
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_loadbalance.py
test_routers.py
test_reset_vm_on_reboot.py
test_deploy_vms_with_varied_deploymentplanners.py
test_network.py
test_router_dns.py
test_non_contigiousvlan.py
test_login.py
test_deploy_vm_iso.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_volumes.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_vm_life_cycle.py
test_disk_offerings.py
> deployVM thread is holding the global lock on network longer and cause delays
> and some improvements in the planner
> ------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-9112
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9112
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.6.0
> Reporter: Harikrishna Patnala
> Assignee: Harikrishna Patnala
> Fix For: Future
>
>
> There are some VM deployment failures happening when multiple VMs are
> deployed at a time, failures mainly due to NetworkModel code that iterates
> over all the vlans in the pod. This causes each deployVM thread to hold the
> global lock on Network longer and cause delays. This delay in turn causes
> more threads to choose same host and fail since capacity is not available on
> that host.
> Following are some changes required to be done to reduce delays during VM
> deployments which in turn causes some vm deployment failures when multiple
> VMs are launched at a time.
> - In Planner, remove the clusters that do not contain a host with matching
> service offering tag. This will save some iterations over clusters that dont
> have matching tagged host
> - In NetworkModel, do not query the vlans for the pod within the loop. Also
> optimized the logic to query the ip/ipv6
> - In DeploymentPlanningManagerImpl, do not process the affinity group if the
> plan has hostId provided.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)