2014-09-27 01:31:56 |
Lars Kellogg-Stedman |
bug |
|
|
added bug |
2014-09-27 01:37:20 |
OpenStack Infra |
neutron: status |
New |
In Progress |
|
2014-09-27 01:37:20 |
OpenStack Infra |
neutron: assignee |
|
Lars Kellogg-Stedman (larsks) |
|
2014-09-27 02:41:46 |
Matthew Thode |
bug |
|
|
added subscriber Matthew Thode |
2015-02-09 17:05:03 |
OpenStack Infra |
neutron: assignee |
Lars Kellogg-Stedman (larsks) |
Matthew Thode (prometheanfire) |
|
2015-03-17 21:41:17 |
OpenStack Infra |
neutron: status |
In Progress |
Fix Committed |
|
2015-03-19 16:32:50 |
Thierry Carrez |
neutron: status |
Fix Committed |
Fix Released |
|
2015-03-19 16:32:50 |
Thierry Carrez |
neutron: milestone |
|
kilo-3 |
|
2015-04-30 09:47:19 |
Thierry Carrez |
neutron: milestone |
kilo-3 |
2015.1.0 |
|
2016-10-27 17:29:30 |
Shane Peters |
bug task added |
|
neutron (Ubuntu) |
|
2016-10-27 17:29:43 |
Shane Peters |
neutron (Ubuntu): assignee |
|
Shane (shaner) |
|
2016-10-27 17:33:15 |
Shane Peters |
bug task added |
|
cloud-archive |
|
2016-10-27 17:34:38 |
Billy Olsen |
nominated for series |
|
cloud-archive/icehouse |
|
2016-10-27 18:37:04 |
Shane Peters |
tags |
|
sts |
|
2016-10-28 03:24:00 |
Yoshi Kadokawa |
bug |
|
|
added subscriber Yoshi Kadokawa |
2016-11-01 08:38:33 |
Dominique Poulain |
bug |
|
|
added subscriber Dominique Poulain |
2016-11-01 20:57:32 |
Shane Peters |
description |
The get_devices() method in neutron/agent/linux/ip_lib.py chokes if 'iproute2' presents interface names containing '@', such as ipip tunnels:
513: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default
link/ipip 0.0.0.0 brd 0.0.0.0
And macvlan devices:
4: clone@eth0: <BROADCAST,MULTICAST> mtu 1454 qdisc noop state DOWN mode DEFAULT group default
link/ether c6:dd:66:a5:f6:5c brd ff:ff:ff:ff:ff:ff
Consider the follow sample code:
from neutron.agent.linux.ip_lib import IPWrapper
ip = IPWrapper()
for iface in ip.get_devices():
print iface.name, iface.addr.list()
The mere presence of one of the above interface names will cause the
code to fail with:
RuntimeError:
Command: ['ip', 'addr', 'show', 'tunl0@NONE']
Exit code: 1
Stdout: ''
Stderr: 'Device "tunl0@NONE" does not exist.\n'
This can cause failures in, e.g.,
neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py, which
performs almost exactly the same iteration in the
get_interface_by_ip() method. |
[Impact]
* The get_devices() method in neutron/agent/linux/ip_lib.py chokes if 'iproute2' presents interface names containing '@', such as ipip tunnels and macvlan devices:
tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default
clone@eth0: <BROADCAST,MULTICAST> mtu 1454 qdisc noop state DOWN mode DEFAULT
* The mere presence of one of the above interface names will cause the
code to fail with:
RuntimeError:
Command: ['ip', 'addr', 'show', 'tunl0@NONE']
Exit code: 1
Stdout: ''
Stderr: 'Device "tunl0@NONE" does not exist.\n'
[Test Case]
* This has been seen in the vpn_agent.log after upgrading to a xenial kernel (4.4.0-45-generic) in a trusty/icehouse environment.
/var/log/neutron/vpn_agent.log:
ERROR neutron.agent.linux.interface [-] Failed unplugging interface 'qg-e75da35-63@if10'
[Regression Potential]
* iproute2 is still used, however, a search path was added (/sys/class/net) which returns the interfaces without the '@'.
* This has been fixed since Kilo so there is minimal regression potential.
[ Other Info ]
* |
|
2016-11-01 21:29:30 |
Shane Peters |
attachment added |
|
trusty_lp1374663.debdiff https://bugs.launchpad.net/neutron/+bug/1374663/+attachment/4770768/+files/trusty_lp1374663.debdiff |
|
2016-11-02 00:31:33 |
Ubuntu Foundations Team Bug Bot |
tags |
sts |
patch sts |
|
2016-11-02 00:31:43 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2016-11-02 15:16:17 |
Shane Peters |
neutron (Ubuntu): status |
New |
In Progress |
|
2016-11-03 21:46:51 |
Shane Peters |
attachment added |
|
lp1374663.debdiff https://bugs.launchpad.net/neutron/+bug/1374663/+attachment/4772061/+files/lp1374663.debdiff |
|
2016-11-04 11:49:57 |
Corey Bryant |
bug task added |
|
cloud-archive/icehouse |
|
2016-11-04 11:51:56 |
Corey Bryant |
cloud-archive: status |
New |
Invalid |
|
2016-11-04 11:52:08 |
Corey Bryant |
cloud-archive: status |
Invalid |
Fix Released |
|
2016-11-04 11:52:26 |
Corey Bryant |
nominated for series |
|
Ubuntu Trusty |
|
2016-11-04 11:52:26 |
Corey Bryant |
bug task added |
|
neutron (Ubuntu Trusty) |
|
2016-11-04 11:52:40 |
Corey Bryant |
neutron (Ubuntu Trusty): assignee |
|
Shane Peters (shaner) |
|
2016-11-04 11:52:53 |
Corey Bryant |
cloud-archive/icehouse: assignee |
|
Shane Peters (shaner) |
|
2016-11-04 11:53:02 |
Corey Bryant |
neutron (Ubuntu): assignee |
Shane Peters (shaner) |
|
|
2016-11-04 11:53:08 |
Corey Bryant |
cloud-archive/icehouse: status |
New |
In Progress |
|
2016-11-04 11:53:14 |
Corey Bryant |
neutron (Ubuntu Trusty): status |
New |
In Progress |
|
2016-11-04 11:53:19 |
Corey Bryant |
neutron (Ubuntu): status |
In Progress |
Fix Released |
|
2016-11-04 15:55:58 |
Corey Bryant |
summary |
agent/linux/ip_lib.py does not correctly handle output from 'iproute2' command |
[SRU] agent/linux/ip_lib.py does not correctly handle output from 'iproute2' command |
|
2016-11-04 15:56:05 |
Corey Bryant |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-11-10 00:30:53 |
Brian Murray |
neutron (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2016-11-10 00:30:58 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2016-11-10 00:31:06 |
Brian Murray |
tags |
patch sts |
patch sts verification-needed |
|
2016-11-10 21:02:17 |
Shane Peters |
tags |
patch sts verification-needed |
patch sts verification-done |
|
2016-11-16 20:55:22 |
Mathew Hodson |
neutron (Ubuntu): importance |
Undecided |
Medium |
|
2016-11-16 20:55:25 |
Mathew Hodson |
neutron (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2016-11-21 16:25:54 |
Martin Pitt |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2016-11-21 16:27:23 |
Launchpad Janitor |
neutron (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2020-06-17 00:43:10 |
Shane Peters |
cloud-archive/icehouse: assignee |
Shane Peters (shaner) |
|
|
2020-06-17 00:43:25 |
Shane Peters |
neutron (Ubuntu Trusty): assignee |
Shane Peters (shaner) |
|
|