Bug 1002281

Summary: Network QoS parameters aren't sent to vdsm on nic hotplug
Product: Red Hat Enterprise Virtualization Manager Reporter: Moti Asayag <masayag>
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: high    
Version: 3.3.0CC: acathrow, gcheresh, iheim, lpeer, Rhev-m-bugs, srevivo, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: is13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Moti Asayag 2013-08-28 19:12:06 UTC
Description of problem:
When performing a hot plug for a nic which is using a vnic profile configured with a network-qos, the bandwidth parameters aren't being sent to vdsm.

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


How reproducible:
100%

Steps to Reproduce:
1. On a running vm, hotplug nic which uses a vnic profile with network-qos

Actual results:
The libvirt interface element created by vdsm (appears in vdsm log or by dumping the vm xml) doesn't contain the bandwidth parameters.
In addition, the vdsm log doesn't contain the bandwidth parameters as part of the parameters sent by the engine:

Thread-328::DEBUG::2013-08-28 16:53:09,650::BindingXMLRPC::974::vds::(wrapper) client [10.35.202.224]::call vmHotplugNic with ({'nic': {'nicM
odel': 'pv', 'macAddr': '00:1a:4a:c2:64:7e', 'linkActive': 'true', 'network': 'vlan100', 'custom': {}, 'filter': 'vdsm-no-mac-spoofing', 'spe
cParams': {}, 'deviceId': 'bb2b3ab1-8368-48f7-bade-0f1cdb6f388c', 'address': {'bus': '0x00', ' slot': '0x07', ' domain': '0x0000', ' type': '
pci', ' function': '0x0'}, 'device': 'bridge', 'type': 'interface'}, 'vmId': '1170b2f9-6046-4d03-ab46-9e39e0606706'},) {}
Thread-328::DEBUG::2013-08-28 16:53:09,652::vm::2991::vm.Vm::(hotplugNic) vmId=`1170b2f9-6046-4d03-ab46-9e39e0606706`::Hotplug NIC xml: <interface type="bridge">
        <address  domain="0x0000"  function="0x0"  slot="0x07"  type="pci" bus="0x00"/>
        <mac address="00:1a:4a:c2:64:7e"/>
        <model type="virtio"/>
        <source bridge="vlan100"/>
        <filterref filter="vdsm-no-mac-spoofing"/>
        <link state="up"/>
</interface>

Expected results:
The bandwidth parameters should be provided to vdsm.

Additional info:

Comment 1 awinter 2013-09-04 15:19:06 UTC
Bug Fixed.
Bandwidth parameters are passed and shown in the vdsm.log file.

Comment 3 Itamar Heim 2014-01-21 22:30:43 UTC
Closing - RHEV 3.3 Released

Comment 4 Itamar Heim 2014-01-21 22:30:44 UTC
Closing - RHEV 3.3 Released

Comment 5 Itamar Heim 2014-01-21 22:33:43 UTC
Closing - RHEV 3.3 Released