yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #77062
[Bug 1815758] Re: Error in ip_lib.get_devices_info() retrieving veth interface info
Reviewed: https://review.openstack.org/636652
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=05644f79add6ce323e45676a7137f77d746877ea
Submitter: Zuul
Branch: master
commit 05644f79add6ce323e45676a7137f77d746877ea
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Wed Feb 13 15:22:35 2019 +0000
Retrieve devices with link not present
In ip_lib.get_devices_info(), privileged.get_link_devices() can return
devices with links not present in this namespace or not listed. In this
situation, get_devices_info() will always try to find the device to set
the parameter "parent_name", what will trigger an exception.
This patch solves this issue avoiding the population of "parent_name"
if the link device is not present in the devices list.
Change-Id: Ic5c7d9008a11da5c406dc383cfdae2892a3118d8
Closes-Bug: #1815758
** Changed in: neutron
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/1815758
Title:
Error in ip_lib.get_devices_info() retrieving veth interface info
Status in neutron:
Fix Released
Bug description:
In ip_lib.get_devices_info(), if the device retrieved is one of the
interfaces of a veth pair and the other one is created in other
namespace, the information of the second interface won't be available
in the list of interfaces of the first interface namespace. Because of
this, is not possible to assign the "parent_name" information in the
returned dict.
By default, if the interface is a veth pair, this key shouldn't be
populated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1815758/+subscriptions
References