Libvirt rate limit configuration data does not work for ethernet interfaces

Bug #1367095 reported by Anirban Chakraborty
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Sustaining
7.0.x
Invalid
High
MOS Maintenance
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Released
Undecided
Anirban Chakraborty
Trunk
Incomplete
Undecided
Anirban Chakraborty

Bug Description

Libvirt network rate limiting configuration data of an ethernet interface are not honored when traffic is carried over that interface of the vm. For example, following configuration data, does not result in tc qdisc setting of the tap device in the host.

    <interface type="ethernet">
      <mac address="02:a3:a0:87:7f:61"/>
      <model type="virtio"/>
      <script path=""/>
      <target dev="tapa3a0877f-61"/>
      <bandwidth>
        <inbound average="800" peak="1000" burst="30"/>
        <outbound average="800" peak="1000" burst="30"/>
      </bandwidth>
    </interface>

Tags: area-linux
Revision history for this message
Anirban Chakraborty (abchak) wrote :

The issue is fixed and here's the link to the patch. The root cause of the issue was that libvirt while configure tap device, doesn't apply qdisc settings to it. As a result, network traffic for this tap device is not shaped as per the configuration.

https://bitbucket.org/contrail_admin/libvirt/commits/c33be693e13fa9cd8daee448c80e9860050cb514
https://bitbucket.org/contrail_admin/libvirt/commits/a6aa7126d42994fd33ffe5c10f37e8ca765aaed2

Revision history for this message
Foucault de Bonneval (foucaultdebonneval) wrote :

This is not an Opencontrail bug, so I change the status to Invalid.

Anyway, huge thanks for the patch, we've been hitting the bug for a while now.

Changed in opencontrail:
status: New → Invalid
affects: opencontrail → juniperopenstack
Changed in juniperopenstack:
milestone: none → r1.11
milestone: r1.11 → none
Changed in juniperopenstack:
status: Invalid → Fix Committed
Changed in juniperopenstack:
milestone: none → r1.10-fcs
Revision history for this message
Anirban Chakraborty (abchak) wrote :
Revision history for this message
Yaguang Tang (heut2008) wrote :

This bug affects Fuel 7.0,8.0 and 9.0 when using with Contrail plugin.

Yaguang Tang (heut2008)
Changed in fuel:
assignee: nobody → Yaguang Tang (heut2008)
Dmitry Klenov (dklenov)
tags: added: area-linux
Changed in fuel:
milestone: none → 10.0
importance: Undecided → Medium
status: New → Confirmed
no longer affects: fuel/8.0.x
no longer affects: fuel/mitaka
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on packages/trusty/libvirt (9.0)

Change abandoned by Yaguang Tang <email address hidden> on branch: 9.0
Review: https://review.fuel-infra.org/25395

Yaguang Tang (heut2008)
Changed in fuel:
assignee: Yaguang Tang (heut2008) → nobody
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
Sachin Bansal (sbansal)
Changed in fuel:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.