yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68733
[Bug 1724253] Re: error in netns privsep wrapper: ImportError: No module named agent.linux.ip_lib
Boden, as suggested in the description, the cause is
https://review.openstack.org/#/c/505701 which landed that day.
As said in comment 1, The issue arises because the environnement for
networking-bagpipe fullstack job isn't ok for rootwrap.
This is being worked on in change 500109.
** Changed in: neutron
Assignee: (unassigned) => Thomas Morin (tmmorin-orange)
** Also affects: networking-bagpipe
Importance: Undecided
Status: New
** Changed in: networking-bagpipe
Status: New => Confirmed
** Changed in: networking-bagpipe
Importance: Undecided => High
** Changed in: networking-bagpipe
Assignee: (unassigned) => Thomas Morin (tmmorin-orange)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1724253
Title:
error in netns privsep wrapper: ImportError: No module named
agent.linux.ip_lib
Status in BaGPipe:
Confirmed
Status in neutron:
Confirmed
Bug description:
I see this in a fullstack job:
Traceback (most recent call last):
File "/opt/stack/new/networking-bagpipe/.tox/dsvm-fullstack/local/lib/python2.7/site-packages/fixtures/fixture.py", line 197, in setUp
self._setUp()
File "/opt/stack/new/networking-bagpipe/.tmp/tmp.mov2YMQdzm/openstack/neutron/neutron/tests/common/net_helpers.py", line 566, in _setUp
self.ip_wrapper = ip.ensure_namespace(self.name)
File "/opt/stack/new/networking-bagpipe/.tmp/tmp.mov2YMQdzm/openstack/neutron/neutron/agent/linux/ip_lib.py", line 202, in ensure_namespace
if not self.netns.exists(name):
File "/opt/stack/new/networking-bagpipe/.tmp/tmp.mov2YMQdzm/openstack/neutron/neutron/agent/linux/ip_lib.py", line 893, in exists
return network_namespace_exists(name)
File "/opt/stack/new/networking-bagpipe/.tmp/tmp.mov2YMQdzm/openstack/neutron/neutron/agent/linux/ip_lib.py", line 1049, in network_namespace_exists
output = list_network_namespaces(**kwargs)
File "/opt/stack/new/networking-bagpipe/.tmp/tmp.mov2YMQdzm/openstack/neutron/neutron/agent/linux/ip_lib.py", line 1038, in list_network_namespaces
return privileged.list_netns(**kwargs)
File "/opt/stack/new/networking-bagpipe/.tox/dsvm-fullstack/local/lib/python2.7/site-packages/oslo_privsep/priv_context.py", line 205, in _wrap
return self.channel.remote_call(name, args, kwargs)
File "/opt/stack/new/networking-bagpipe/.tox/dsvm-fullstack/local/lib/python2.7/site-packages/oslo_privsep/daemon.py", line 202, in remote_call
raise exc_type(*result[2])
ImportError: No module named agent.linux.ip_lib
http://logs.openstack.org/80/501780/17/check/legacy-networking-
bagpipe-dsvm-fullstack/d8e221c/job-
output.txt.gz#_2017-10-17_13_25_50_475156
I suspect this is related to https://review.openstack.org/#/c/505701/,
but what happens is not obvious to me.
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-bagpipe/+bug/1724253/+subscriptions
References