Bug 1052976

Summary: Scalability issue while adding large number of VLAN with host NIC
Product: Red Hat Enterprise Virtualization Manager Reporter: pagupta
Component: vdsmAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: high    
Version: 3.2.0CC: abaron, bazulay, gklein, iheim, lpeer, pagupta, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-14 17:31:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description pagupta 2014-01-14 14:32:29 UTC
Description of problem:

Scalability issue while adding large number of VLAN with host NIC. Each command to add VLAN takes some time and if user wants to attach multiple VLANs, delay extends to several minutes.


Version-Release number of selected component (if applicable):

rhevm 3.2
vdsm-4.10.2-22.0.el6ev.x86_64


How reproducible:

Try creating logical network in data center and cluster and add to host NIC. 


Steps to Reproduce:
1. Create VLAN in data-center using vdsm command shell (created multiple entries with script).
   add network --data_center-name Local --mtu 0 --name VLAN3000 --vlan-id 2500

2. Add VLAN in cluster.
   add network --cluster-identifier Local --name VLAN2500

3. Attach VLAN to host NIC.
   action nic eth1 attach --host-identifier  host --network-name VLAN2500

Actual results:

For adding single network/VLAN its taking approx 30 seconds. If we have to add multiple VLAN's this delay increases further.

Thread-255608::DEBUG::2014-01-14 19:59:17,244::BindingXMLRPC::913::vds::(wrapper) client [10.65.210.30]::call addNetwork with ('VLAN2500', '2500', '', ['eth1'], {'STP': 'no', 'bridged': 'true'}) {} flowID [29cb2e44]

Thread-255608::DEBUG::2014-01-14 19:59:46,187::BindingXMLRPC::920::vds::(wrapper) return addNetwork with {'status': {'message': 'Done', 'code': 0}}




Expected results:

Adding of logical network to host NIC should be fast. It will help to add multiple logical networks to host NIC without much delay.


Additional info:

Already upstream bug opened for this issue.

https://bugzilla.redhat.com/show_bug.cgi?id=714421