Comment 0 for bug 1575594

Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :

Detailed bug description:
Tempest test test_add_list_remove_router_on_l3_agent is Failed with Error:
   [ tempest.lib.exceptions.Conflict: An object with that identifier already exists]

Configuration:
    ISO: http://paste.openstack.org/show/495500/
    Compute - QEMU.
    Network - Neutron with VLAN segmentation, DVR.
    Storage Backends - Ceph RBD for volumes (Cinder), Ceph RBD for ephemeral volumes (Nova), Ceph RBD for images (Glance)
    RADOS
    Additional services - Install Ironic, Sahara

In tab Settings->Compute check Nova quotas

Nodes: controller, compute, ironic, ceph-osd

Steps to reproduce:
    1. Deploy ISO in configuration see (Detailed bug description)
    2. Navigate to controller node
    3. Install git (use apt-get install git)
    4. Clone script to deploy rally + tempest
       # git clone https://github.com/obutenko/mos-rally-verify.git
    5. Navigate to the https://github.com/obutenko/mos-rally-verify
    6. Execute necessary steps to deploy tempest
    7. Tun test in debug mode
        #rally --debug verify start --regex tempest.api.network.admin.test_l3_agent_scheduler.L3AgentSchedulerTestJSON

Expected results:
Test is passed

Actual result:
Test is Failed
(see comments)

Reproducibility:
See attachment

Workaround:
---

Impact:
---

Description of the environment:
See (Detailed bug description)
Snapshot:

Additional information:
Error Message

test failed

Stacktrace

Traceback (most recent call last):
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/api/network/admin/test_l3_agent_scheduler.py", line 115, in test_add_list_remove_router_on_l3_agent
    router_id=self.router['id'])
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/lib/services/network/agents_client.py", line 47, in create_router_on_l3_agent
    return self.create_resource(uri, kwargs)
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/lib/services/network/base.py", line 60, in create_resource
    resp, body = self.post(req_uri, req_post_data)
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/lib/common/rest_client.py", line 259, in post
    return self.request('POST', url, extra_headers, headers, body)
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/lib/common/rest_client.py", line 641, in request
    resp, resp_body)
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/lib/common/rest_client.py", line 709, in _error_checker
    raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: An object with that identifier already exists
Details: {u'message': u'The router 745af174-dddb-4be9-af73-ee9c832edcc6 has been already hosted by the L3 Agent f1160694-eff0-461b-949e-477acc83ca55.', u'type': u'RouterHostedByL3Agent', u'detail': u''}