← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1724253] [NEW] error in netns privsep wrapper: ImportError: No module named agent.linux.ip_lib

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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 neutron:
  New

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/neutron/+bug/1724253/+subscriptions


Follow ups