Neutron error agreggation interfaces

Bug #1804274 reported by Carlos Augusto da Silva Martins
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Unassigned

Bug Description

Hello, I need to report a bug that consume cpu process a lot, its only a warning, but makes controller slowly.
Everybody that use link-aggregation to improve in netwrok troughtput, for example IFENSLAVE 2.6 or similar, have this issue below:

WARNING neutron.services.trunk.drivers.linuxbridge.agent.trunk_plumber [...] : Bad interface line: addrgenmode eui64 : IndexError: list index out of range

This occurs because the file (neutron/services/trunk/drivers/linuxbridge/agent/trunk_plumber.py) try to get interfaces name ("ip", "-d", "link", "list"), and If have an interface member of an aggregation, some additional lines is on output like this:

3: eno2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP mode DEFAULT group default qlen 1000
    link/ether ... brd ff:ff:ff:ff:ff:ff promiscuity 1
    bond_slave state ACTIVE mii_status UP link_failure_count 0 perm_hwaddr ff:ab:12:ad:33:1a queue_id 0 ad_aggregator_id 3 ad_actor_oper_port_state 63
ad_partner_oper_port_state 61
addrgenmode eui64

Is possible a fix to this Warning, bypassing ifaces member of aggregations?

Thanks, we use Openstack Queens.

Tags: linuxbridge
tags: removed: addrgenmode bad ifenslave indexerror
tags: removed: neutron
Changed in neutron:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/629912

Changed in neutron:
status: Confirmed → In Progress
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/629912
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e7a2b6d1793cd08c30b78693a4f419ab3955a437
Submitter: Zuul
Branch: master

commit e7a2b6d1793cd08c30b78693a4f419ab3955a437
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Jan 10 18:19:23 2019 +0000

    Add IPWrapper.get_devices_info using PyRoute2

    This function returns the attributes of a list of devices.

    Change-Id: I322fc7db9c71e7c21fd03d616937d172da856428
    Related-Bug: #1804274

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/633795

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/633918

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.openstack.org/633795
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=aa71530aaad3e4c9a7fa2e0c5aa3bff1490172db
Submitter: Zuul
Branch: master

commit aa71530aaad3e4c9a7fa2e0c5aa3bff1490172db
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Jan 29 18:07:14 2019 +0000

    Add VLAN and VXLAN link information in get_devices_info

    Added VLAN parent device name and index and VXLAN link device
    name and index.

    Change-Id: Ib44a63c0648a7b5b07b1021b10e8994002031ce8
    Related-Bug: #1804274

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/633918
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4fb8b3fe4e234472b0b0fd6e141eb4035cb0f577
Submitter: Zuul
Branch: master

commit 4fb8b3fe4e234472b0b0fd6e141eb4035cb0f577
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Jan 30 11:16:47 2019 +0000

    Retrieve the device info in trunk_plumber using pyroute2

    IPWrapper.get_devices_info(), implemented using pyroute2, retrieves the
    device information including the VLAN tag and the parent name and index.

    This patch replaces Plumber._get_vlan_children() shell 'ip' commands in
    favor of this method.

    Change-Id: Ib5cad35d5261ab9391f82a22440338d852894a1d
    Closes-Bug: #1804274

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 14.0.0.0b2

This issue was fixed in the openstack/neutron 14.0.0.0b2 development milestone.

Revision history for this message
Crazik (crazik) wrote :

Looks like I'm also affected, but in Ocata.
This patch is not working there, due to:

AttributeError: 'module' object has no attribute 'get_devices_info'

Any chance for fix?

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.