openstack-linuxbridge-agent not working with older versions of iproute2

Bug #989868 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Gary Kotton

Bug Description

plum:~ # quantum-linuxbridge-agent /etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini
Object "tuntap" is unknown, try "ip help".
Object "tuntap" is unknown, try "ip help".

The problem is the usage of ip tuntap in the methods get_all_gateway_devices and get_all_tap_devices in quantum/plugins/linuxbridge/agent/linuxbridge_quantum_agent.py, because the command tuntap is missing in older ip versions.

I would prefer a workaround like in bug 882568.

summary: - openstack-linuxbridge-agent not working with older version of iputils
+ openstack-linuxbridge-agent not working with older versions of iproute2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

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

Changed in quantum:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
dan wendlandt (danwent)
Changed in quantum:
milestone: none → folsom-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/7433
Committed: http://github.com/openstack/quantum/commit/cd9903fd1083a419109d109ee48feb7f9ba46708
Submitter: Jenkins
Branch: master

commit cd9903fd1083a419109d109ee48feb7f9ba46708
Author: Gary Kotton <email address hidden>
Date: Tue May 15 03:33:04 2012 -0400

    fall back to `ip link` when `ip tuntap` unavailable
    bug 989868

    In the event that the command "ip tuntap" is not found then a exception will
    be raised and the command "ip link" will be perfomed.

    Changes following comments

    More appropriate error message

    Same style for log/error messages

    Change-Id: Ia912e189b73dd0d112b7ef4eefbb7245ee595b54

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-1 → 2012.2
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.