← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1683227] Re: test_legacy_router test cases sometimes fail with: Cannot find device "qg-*" when moving it into a namespace

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1683227

Title:
  test_legacy_router test cases sometimes fail with: Cannot find device
  "qg-*" when moving it into a namespace

Status in neutron:
  Expired

Bug description:
  http://logs.openstack.org/84/355284/2/check/gate-neutron-dsvm-
  functional-ubuntu-xenial/d7635bd/testr_results.html.gz

  
  Traceback (most recent call last):
    File "neutron/tests/base.py", line 113, in func
      return f(self, *args, **kwargs)
    File "neutron/tests/functional/agent/l3/test_legacy_router.py", line 341, in test_connection_from_same_address_scope
      'scope1', 'scope1')
    File "neutron/tests/functional/agent/l3/test_legacy_router.py", line 318, in _setup_address_scope
      router = self.manage_router(self.agent, router_info)
    File "neutron/tests/functional/agent/l3/framework.py", line 319, in manage_router
      agent._process_added_router(router)
    File "neutron/agent/l3/agent.py", line 455, in _process_added_router
      ri.process()
    File "neutron/common/utils.py", line 186, in call
      self.logger(e)
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
      self.force_reraise()
    File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
      six.reraise(self.type_, self.value, self.tb)
    File "neutron/common/utils.py", line 183, in call
      return func(*args, **kwargs)
    File "neutron/agent/l3/router_info.py", line 1114, in process
      self.process_external()
    File "neutron/agent/l3/router_info.py", line 889, in process_external
      self._process_external_gateway(ex_gw_port)
    File "neutron/agent/l3/router_info.py", line 772, in _process_external_gateway
      self.external_gateway_added(ex_gw_port, interface_name)
    File "neutron/agent/l3/router_info.py", line 722, in external_gateway_added
      ex_gw_port, interface_name, self.ns_name, preserve_ips)
    File "neutron/agent/l3/router_info.py", line 671, in _external_gateway_added
      self._plug_external_gateway(ex_gw_port, interface_name, ns_name)
    File "neutron/agent/l3/router_info.py", line 621, in _plug_external_gateway
      mtu=ex_gw_port.get('mtu'))
    File "neutron/agent/linux/interface.py", line 266, in plug
      bridge, namespace, prefix, mtu)
    File "neutron/agent/linux/interface.py", line 380, in plug_new
      namespace_obj.add_device_to_namespace(ns_dev)
    File "neutron/agent/linux/ip_lib.py", line 231, in add_device_to_namespace
      device.link.set_netns(self.namespace)
    File "neutron/agent/linux/ip_lib.py", line 519, in set_netns
      self._as_root([], ('set', self.name, 'netns', namespace))
    File "neutron/agent/linux/ip_lib.py", line 367, in _as_root
      use_root_namespace=use_root_namespace)
    File "neutron/agent/linux/ip_lib.py", line 99, in _as_root
      log_fail_as_error=self.log_fail_as_error)
    File "neutron/agent/linux/ip_lib.py", line 108, in _execute
      log_fail_as_error=log_fail_as_error)
    File "neutron/agent/linux/utils.py", line 151, in execute
      raise ProcessExecutionError(msg, returncode=returncode)
  neutron.agent.linux.utils.ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: Cannot find device "qg-74372988-7f"

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1683227/+subscriptions


References