← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1857439] [NEW] Tempest test of add_remove_fixed_ip fails on API under wsgi

 

Public bug reported:


Description:
Neutron is installed by means of Helm into dedicated containers,
i.e. neutron-api under Apache mod_wsgi and rpc-server as an eventlet process.
For debug purpose one replica was set for these services.
Run of tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesUnderV243Test.test_add_remove_fixed_ip throws exception (not 100% reproducible but very often):

Traceback (most recent call last):
  File "/var/lib/openstack/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper
    return f(*func_args, **func_kwargs)
  File "/var/lib/openstack/lib/python3.6/site-packages/tempest/api/compute/servers/test_attach_interfaces.py", line 366, in test_add_remove_fixed_ip
    'Timed out while waiting for IP count to increase.')
tempest.lib.exceptions.TimeoutException: Request timed out
Details: Timed out while waiting for IP count to increase.

Debugging reveals the os_primary.servers_client.list_addresses() function gets updates with some delay ~3-5sec, therefore original_ip_count variable is setting to the incorrect value [1].
There is no such behaviour under classic neutron-server process.


Version:
  * OpenStack version is Stein (neutron 14.0.4.dev52 build from stable/stein)
  * Ubuntu 18.04.2 LTS

[1]
https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_attach_interfaces.py#L372

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

Title:
  Tempest test of add_remove_fixed_ip fails on API under wsgi

Status in neutron:
  New

Bug description:
  
  Description:
  Neutron is installed by means of Helm into dedicated containers,
  i.e. neutron-api under Apache mod_wsgi and rpc-server as an eventlet process.
  For debug purpose one replica was set for these services.
  Run of tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesUnderV243Test.test_add_remove_fixed_ip throws exception (not 100% reproducible but very often):

  Traceback (most recent call last):
    File "/var/lib/openstack/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper
      return f(*func_args, **func_kwargs)
    File "/var/lib/openstack/lib/python3.6/site-packages/tempest/api/compute/servers/test_attach_interfaces.py", line 366, in test_add_remove_fixed_ip
      'Timed out while waiting for IP count to increase.')
  tempest.lib.exceptions.TimeoutException: Request timed out
  Details: Timed out while waiting for IP count to increase.

  Debugging reveals the os_primary.servers_client.list_addresses() function gets updates with some delay ~3-5sec, therefore original_ip_count variable is setting to the incorrect value [1].
  There is no such behaviour under classic neutron-server process.

  
  Version:
    * OpenStack version is Stein (neutron 14.0.4.dev52 build from stable/stein)
    * Ubuntu 18.04.2 LTS

  [1]
  https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_attach_interfaces.py#L372

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


Follow ups