← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1321207] [NEW] tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_hotplug_nic failed with "NetworkInUseClient: Unable to complete operation on network 1a3a6a7c-d3a6-4790-b04a-e57b20c927ba. There are one or more ports still in use on the network."

 

Public bug reported:

The test failed once as follows:

traceback-1: {{{
Traceback (most recent call last):
  File "tempest/scenario/test_network_basic_ops.py", line 98, in cleanup_wrapper
    self.cleanup_resource(resource, self.__class__.__name__)
  File "tempest/scenario/manager.py", line 114, in cleanup_resource
    resource.delete()
  File "tempest/api/network/common.py", line 55, in delete
    self.client.delete_network(self.id)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 101, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 355, in delete_network
    return self.delete(self.network_path % (network))
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1311, in delete
    headers=headers, params=params)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1300, in retry_request
    headers=headers, params=params)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1243, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1211, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 68, in exception_handler_v20
    status_code=status_code)
NetworkInUseClient: Unable to complete operation on network 1a3a6a7c-d3a6-4790-b04a-e57b20c927ba. There are one or more ports still in use on the network.
}}}

Traceback (most recent call last):
  File "tempest/scenario/test_network_basic_ops.py", line 98, in cleanup_wrapper
    self.cleanup_resource(resource, self.__class__.__name__)
  File "tempest/scenario/manager.py", line 114, in cleanup_resource
    resource.delete()
  File "tempest/api/network/common.py", line 79, in delete
    self.client.delete_subnet(self.id)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 101, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 381, in delete_subnet
    return self.delete(self.subnet_path % (subnet))
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1311, in delete
    headers=headers, params=params)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1300, in retry_request
    headers=headers, params=params)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1243, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1211, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 68, in exception_handler_v20
    status_code=status_code)
Conflict: Unable to complete operation on subnet 82c00781-ed44-4c2d-85b9-0ce8c9a49c08. One or more ports have an IP allocation from this subnet.

In screen-q-agt.txt.gz, you can find a message that seems related to the
failure:

2014-05-19 09:06:18.065 10379 WARNING neutron.agent.linux.ovs_lib [-]
Found not yet ready openvswitch port: [u'tap81bfbadf-8a', [u'map', [[u
'attached-mac', u'fa:16:3e:1a:02:d1'], [u'iface-id', u'81bfbadf-
8ab5-4bd6-94dd-f855d8c9813f'], [u'iface-status', u'active']]], [u'set',
[]]]

Other similar messages are spread throughout the log file, including the
following error:

2014-05-19 08:51:32.439 10379 ERROR neutron.agent.linux.ovs_lib [-]
Interface tap182c3e81-02 not found.

All the logs can be found at: http://logs.openstack.org/24/90724/4/check/check-tempest-dsvm-neutron/0efa4aa/logs/
The patch that failed is: https://review.openstack.org/#/c/90724/ (expected to be unrelated to the failure)

** 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/1321207

Title:
  tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_hotplug_nic
  failed with "NetworkInUseClient: Unable to complete operation on
  network 1a3a6a7c-d3a6-4790-b04a-e57b20c927ba. There are one or more
  ports still in use on the network."

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  The test failed once as follows:

  traceback-1: {{{
  Traceback (most recent call last):
    File "tempest/scenario/test_network_basic_ops.py", line 98, in cleanup_wrapper
      self.cleanup_resource(resource, self.__class__.__name__)
    File "tempest/scenario/manager.py", line 114, in cleanup_resource
      resource.delete()
    File "tempest/api/network/common.py", line 55, in delete
      self.client.delete_network(self.id)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 101, in with_params
      ret = self.function(instance, *args, **kwargs)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 355, in delete_network
      return self.delete(self.network_path % (network))
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1311, in delete
      headers=headers, params=params)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1300, in retry_request
      headers=headers, params=params)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1243, in do_request
      self._handle_fault_response(status_code, replybody)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1211, in _handle_fault_response
      exception_handler_v20(status_code, des_error_body)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 68, in exception_handler_v20
      status_code=status_code)
  NetworkInUseClient: Unable to complete operation on network 1a3a6a7c-d3a6-4790-b04a-e57b20c927ba. There are one or more ports still in use on the network.
  }}}

  Traceback (most recent call last):
    File "tempest/scenario/test_network_basic_ops.py", line 98, in cleanup_wrapper
      self.cleanup_resource(resource, self.__class__.__name__)
    File "tempest/scenario/manager.py", line 114, in cleanup_resource
      resource.delete()
    File "tempest/api/network/common.py", line 79, in delete
      self.client.delete_subnet(self.id)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 101, in with_params
      ret = self.function(instance, *args, **kwargs)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 381, in delete_subnet
      return self.delete(self.subnet_path % (subnet))
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1311, in delete
      headers=headers, params=params)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1300, in retry_request
      headers=headers, params=params)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1243, in do_request
      self._handle_fault_response(status_code, replybody)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 1211, in _handle_fault_response
      exception_handler_v20(status_code, des_error_body)
    File "/opt/stack/new/python-neutronclient/neutronclient/v2_0/client.py", line 68, in exception_handler_v20
      status_code=status_code)
  Conflict: Unable to complete operation on subnet 82c00781-ed44-4c2d-85b9-0ce8c9a49c08. One or more ports have an IP allocation from this subnet.

  In screen-q-agt.txt.gz, you can find a message that seems related to
  the failure:

  2014-05-19 09:06:18.065 10379 WARNING neutron.agent.linux.ovs_lib [-]
  Found not yet ready openvswitch port: [u'tap81bfbadf-8a', [u'map', [[u
  'attached-mac', u'fa:16:3e:1a:02:d1'], [u'iface-id', u'81bfbadf-
  8ab5-4bd6-94dd-f855d8c9813f'], [u'iface-status', u'active']]],
  [u'set', []]]

  Other similar messages are spread throughout the log file, including
  the following error:

  2014-05-19 08:51:32.439 10379 ERROR neutron.agent.linux.ovs_lib [-]
  Interface tap182c3e81-02 not found.

  All the logs can be found at: http://logs.openstack.org/24/90724/4/check/check-tempest-dsvm-neutron/0efa4aa/logs/
  The patch that failed is: https://review.openstack.org/#/c/90724/ (expected to be unrelated to the failure)

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


Follow ups

References