Uploaded image for project: 'neutron'
  1. neutron
  2. NEUTRON-20

Neutron Tempest Test Failure: tempest.api.network.test_load_balancer

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • None
    • Multiple
    • northbound-api
    • None
    • Operating System: All
      Platform: All

      The OpenStack Tempest tests for tempest.api.network.test_load_balancer fail with OpenDaylight as the ML2 driver. The tempest logs are below:

      [vagrant@localhost tempest]$ testr failing
      ======================================================================
      FAIL: setUpClass (tempest.api.network.test_load_balancer.LoadBalancerIpV6TestJSON)
      tags: worker-0
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "tempest/test.py", line 273, in setUpClass
      cls.resource_setup()
      File "tempest/api/network/test_load_balancer.py", line 52, in resource_setup
      "HTTP", cls.subnet)
      File "tempest/api/network/base.py", line 284, in create_pool
      subnet_id=subnet['id'])
      File "tempest/services/network/json/network_client.py", line 145, in _create
      resp, body = self.post(uri, post_data)
      File "tempest/common/rest_client.py", line 236, in post
      return self.request('POST', url, extra_headers, headers, body)
      File "tempest/common/rest_client.py", line 450, in request
      resp, resp_body)
      File "tempest/common/rest_client.py", line 493, in _error_checker
      raise exceptions.NotFound(resp_body)
      NotFound: Object not found
      Details: 404 Not Found

      The resource could not be found.
      ======================================================================
      FAIL: setUpClass (tempest.api.network.test_load_balancer.LoadBalancerTestJSON)
      tags: worker-0
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "tempest/test.py", line 273, in setUpClass
      cls.resource_setup()
      File "tempest/api/network/test_load_balancer.py", line 52, in resource_setup
      "HTTP", cls.subnet)
      File "tempest/api/network/base.py", line 284, in create_pool
      subnet_id=subnet['id'])
      File "tempest/services/network/json/network_client.py", line 145, in _create
      resp, body = self.post(uri, post_data)
      File "tempest/common/rest_client.py", line 236, in post
      return self.request('POST', url, extra_headers, headers, body)
      File "tempest/common/rest_client.py", line 450, in request
      resp, resp_body)
      File "tempest/common/rest_client.py", line 493, in _error_checker
      raise exceptions.NotFound(resp_body)
      NotFound: Object not found
      Details: 404 Not Found

      The resource could not be found.
      Ran 2 tests in 1.362s
      FAILED (id=8, failures=2)
      [vagrant@localhost tempest]$

            Unassigned Unassigned
            mestery@mestery.com Kyle Mestery
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: