← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1808595] Re: fullstack test neutron.tests.fullstack.test_l3_agent.TestHAL3Agent.test_gateway_ip_changed failed intermittently

 

Reviewed:  https://review.openstack.org/625359
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ae4b331725012c7694132d17e28312159aedb1f3
Submitter: Zuul
Branch:    master

commit ae4b331725012c7694132d17e28312159aedb1f3
Author: Hongbin Lu <hongbin.lu@xxxxxxxxxx>
Date:   Fri Dec 14 22:04:48 2018 +0000

    fullstack: retry on updating port's IP address
    
    If the update_port call failed with error IpAddressAlreadyAllocatedClient,
    retry a few more times in order to find IP addresses that are available.
    
    Change-Id: I7c5d51b01fa56083b1a689fa629a9a34c8b77012
    Closes-Bug: #1808595


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  fullstack test
  neutron.tests.fullstack.test_l3_agent.TestHAL3Agent.test_gateway_ip_changed
  failed intermittently

Status in neutron:
  Fix Released

Bug description:
  Neutron fullstack test
  'neutron.tests.fullstack.test_l3_agent.TestHAL3Agent.test_gateway_ip_changed'
  intermittently failed with the following error

  Traceback (most recent call last):
    File "/opt/stack/new/neutron/neutron/tests/base.py", line 151, in func
      return f(self, *args, **kwargs)
    File "/opt/stack/new/neutron/neutron/tests/fullstack/test_l3_agent.py", line 428, in test_gateway_ip_changed
      self._test_gateway_ip_changed()
    File "/opt/stack/new/neutron/neutron/tests/fullstack/test_l3_agent.py", line 116, in _test_gateway_ip_changed
      {'ip_address': ip_2}])
    File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/client.py", line 141, in update_port
      return self._update_resource('port', port_id, kwargs)
    File "/opt/stack/new/neutron/neutron/tests/fullstack/resources/client.py", line 57, in _update_resource
      resp = update(id, body=body)
    File "/opt/stack/new/neutron/.tox/dsvm-fullstack/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 799, in update_port
      revision_number=revision_number)
    File "/opt/stack/new/neutron/.tox/dsvm-fullstack/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 2375, in _update_resource
      return self.put(path, **kwargs)
    File "/opt/stack/new/neutron/.tox/dsvm-fullstack/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 363, in put
      headers=headers, params=params)
    File "/opt/stack/new/neutron/.tox/dsvm-fullstack/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 331, in retry_request
      headers=headers, params=params)
    File "/opt/stack/new/neutron/.tox/dsvm-fullstack/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 294, in do_request
      self._handle_fault_response(status_code, replybody, resp)
    File "/opt/stack/new/neutron/.tox/dsvm-fullstack/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
      exception_handler_v20(status_code, error_body)
    File "/opt/stack/new/neutron/.tox/dsvm-fullstack/lib/python3.5/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
      request_ids=request_ids)
  neutronclient.common.exceptions.IpAddressAlreadyAllocatedClient: IP address 240.27.66.102 already allocated in subnet 814bfcc0-0d3d-4b45-8436-c76e7a000150
  Neutron server returns request_ids: ['req-bf114fe1-66a9-4c86-8bc7-d759e10bf660']

  Failure examples:

  http://logs.openstack.org/36/617736/10/check/neutron-fullstack/61fa2eb/logs/testr_results.html.gz
  http://logs.openstack.org/68/424468/34/check/neutron-fullstack/4422e70/logs/testr_results.html.gz
  http://logs.openstack.org/08/620708/2/check/neutron-fullstack/51099db/logs/testr_results.html.gz
  http://logs.openstack.org/09/608909/24/check/neutron-fullstack/2891c09/logs/testr_results.html.gz
  http://logs.openstack.org/82/610182/13/check/neutron-fullstack/de0ad4f/logs/testr_results.html.gz

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


References