← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1358636] Re: test_add_list_remove_router_on_l3_agent fails with Conflict

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-3

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

Title:
  test_add_list_remove_router_on_l3_agent fails with Conflict

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Test
  tempest.api.network.admin.test_l3_agent_scheduler.L3AgentSchedulerTestXML.test_add_list_remove_router_on_l3_agent
  fails for job gate-tempest-dsvm-neutron-full with traceback:

  ft335.1: tempest.api.network.admin.test_l3_agent_scheduler.L3AgentSchedulerTestXML.test_add_list_remove_router_on_l3_agent[gate,smoke]_StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2014-08-18 15:31:39,865 535 INFO     [tempest.common.rest_client] Request (L3AgentSchedulerTestXML:test_add_list_remove_router_on_l3_agent): 200 POST http://127.0.0.1:5000/v2.0/tokens
  2014-08-18 15:31:40,148 535 INFO     [tempest.common.rest_client] Request (L3AgentSchedulerTestXML:test_add_list_remove_router_on_l3_agent): 201 POST http://127.0.0.1:9696/v2.0/routers 0.282s
  2014-08-18 15:31:40,259 535 INFO     [tempest.common.rest_client] Request (L3AgentSchedulerTestXML:test_add_list_remove_router_on_l3_agent): 409 POST http://127.0.0.1:9696/v2.0/agents/47dd83c6-f92d-40d9-8601-5a38b6b9eda0/l3-routers 0.109s
  2014-08-18 15:31:40,714 535 INFO     [tempest.common.rest_client] Request (L3AgentSchedulerTestXML:_run_cleanups): 204 DELETE http://127.0.0.1:9696/v2.0/routers/fd7d082c-71db-4fa0-bd0c-0b31acef9b1a 0.450s
  }}}

  Traceback (most recent call last):
    File "tempest/api/network/admin/test_l3_agent_scheduler.py", line 66, in test_add_list_remove_router_on_l3_agent
      self.agent['id'], router['router']['id'])
    File "tempest/services/network/xml/network_client.py", line 218, in add_router_to_l3_agent
      resp, body = self.post(uri, str(common.Document(router)))
    File "tempest/services/network/network_client_base.py", line 73, in post
      return self.rest_client.post(uri, body, headers)
    File "tempest/common/rest_client.py", line 219, in post
      return self.request('POST', url, extra_headers, headers, body)
    File "tempest/common/rest_client.py", line 431, in request
      resp, resp_body)
    File "tempest/common/rest_client.py", line 485, in _error_checker
      raise exceptions.Conflict(resp_body)
  Conflict: An object with that identifier already exists
  Details: {'message': 'The router fd7d082c-71db-4fa0-bd0c-0b31acef9b1a has been already hosted by the L3 Agent 47dd83c6-f92d-40d9-8601-5a38b6b9eda0.', 'type': 'RouterHostedByL3Agent', 'detail': {}}

  There is log of test results:
  http://logs.openstack.org/43/97543/10/gate/gate-tempest-dsvm-neutron-
  full/8f09c74/logs/testr_results.html.gz

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


References