[SRU] agent/linux/ip_lib.py does not correctly handle output from 'iproute2' command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Icehouse |
In Progress
|
Undecided
|
Unassigned | ||
neutron |
Fix Released
|
Undecided
|
Matthew Thode | ||
neutron (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* The get_devices() method in neutron/
tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default
clone@eth0: <BROADCAST,
* 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/
ERROR neutron.
[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 ]
*
Changed in neutron: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-3 → 2015.1.0 |
Changed in neutron (Ubuntu): | |
assignee: | nobody → Shane (shaner) |
tags: | added: sts |
description: | updated |
Changed in neutron (Ubuntu): | |
status: | New → In Progress |
Changed in cloud-archive: | |
status: | New → Invalid |
status: | Invalid → Fix Released |
Changed in neutron (Ubuntu Trusty): | |
assignee: | nobody → Shane Peters (shaner) |
Changed in neutron (Ubuntu): | |
assignee: | Shane Peters (shaner) → nobody |
Changed in neutron (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in neutron (Ubuntu): | |
status: | In Progress → Fix Released |
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 |
tags: |
added: verification-done removed: verification-needed |
Changed in neutron (Ubuntu): | |
importance: | Undecided → Medium |
Changed in neutron (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in neutron (Ubuntu Trusty): | |
assignee: | Shane Peters (shaner) → nobody |
Fix proposed to branch: master /review. openstack. org/124557
Review: https:/