yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58367
[Bug 1374663] Re: agent/linux/ip_lib.py does not correctly handle output from 'iproute2' command
** Also affects: cloud-archive/icehouse
Importance: Undecided
Status: New
** Changed in: cloud-archive
Status: New => Invalid
** Changed in: cloud-archive
Status: Invalid => Fix Released
** Also affects: neutron (Ubuntu Trusty)
Importance: Undecided
Status: New
** Changed in: neutron (Ubuntu Trusty)
Assignee: (unassigned) => Shane Peters (shaner)
** Changed in: cloud-archive/icehouse
Assignee: (unassigned) => Shane Peters (shaner)
** Changed in: neutron (Ubuntu)
Assignee: Shane Peters (shaner) => (unassigned)
** Changed in: cloud-archive/icehouse
Status: New => In Progress
** Changed in: neutron (Ubuntu Trusty)
Status: New => In Progress
** Changed in: neutron (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1374663
Title:
agent/linux/ip_lib.py does not correctly handle output from 'iproute2'
command
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive icehouse series:
In Progress
Status in neutron:
Fix Released
Status in neutron package in Ubuntu:
Fix Released
Status in neutron source package in Trusty:
In Progress
Bug description:
[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 ]
*
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1374663/+subscriptions
References