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

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

XMLWordPrintable

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

    • 2543

      The OpenStack Tempest tests fail with OpenDaylight as the ML2 MechanismDriver. The logs from the Tempest failure are below:

      [vagrant@localhost tempest]$ testr failing
      ======================================================================
      FAIL: tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_create_update_floatingip_with_port_multiple_ip_address[gate,smoke]
      tags: worker-0
      ----------------------------------------------------------------------
      pythonlogging:'': {{{
      2014-12-31 15:57:17,697 1476 DEBUG [tempest.common.rest_client] Request (FloatingIPTestJSON:test_create_update_floatingip_with_port_multiple_ip_address): 500 POST http://192.168.56.10:9696/v2.0/ports 0.420s
      Request - Headers:

      {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}

      Body: {"port": {"network_id": "d78d967a-600f-46b2-b0eb-a92eb63cb770", "fixed_ips": [

      {"ip_address": "10.100.0.13"}

      ,

      {"ip_address": "10.100.0.14"}

      ]}}
      Response - Headers:

      {'status': '500', 'content-length': '109', 'connection': 'close', 'date': 'Wed, 31 Dec 2014 15:57:17 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-0e08a25c-29b7-42d4-83a6-c158606be9e3'}

      Body: {"NeutronError": {"message": "create_port_postcommit failed.", "type": "MechanismDriverError", "detail": ""}}
      }}}

      Traceback (most recent call last):
      File "tempest/api/network/test_floating_ips.py", line 197, in test_create_update_floatingip_with_port_multiple_ip_address
      fixed_ips=fixed_ips)
      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 547, in _error_checker
      raise exceptions.ServerFault(message)
      ServerFault: Got server fault
      Details: create_port_postcommit failed.
      Traceback (most recent call last):
      _StringException: Empty attachments:
      stderr
      stdout

      pythonlogging:'': {{{
      2014-12-31 15:57:17,697 1476 DEBUG [tempest.common.rest_client] Request (FloatingIPTestJSON:test_create_update_floatingip_with_port_multiple_ip_address): 500 POST http://192.168.56.10:9696/v2.0/ports 0.420s
      Request - Headers:

      {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}

      Body: {"port": {"network_id": "d78d967a-600f-46b2-b0eb-a92eb63cb770", "fixed_ips": [

      {"ip_address": "10.100.0.13"}

      ,

      {"ip_address": "10.100.0.14"}

      ]}}
      Response - Headers:

      {'status': '500', 'content-length': '109', 'connection': 'close', 'date': 'Wed, 31 Dec 2014 15:57:17 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-0e08a25c-29b7-42d4-83a6-c158606be9e3'}

      Body: {"NeutronError": {"message": "create_port_postcommit failed.", "type": "MechanismDriverError", "detail": ""}}
      }}}

      Traceback (most recent call last):
      File "tempest/api/network/test_floating_ips.py", line 197, in test_create_update_floatingip_with_port_multiple_ip_address
      fixed_ips=fixed_ips)
      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 547, in _error_checker
      raise exceptions.ServerFault(message)
      ServerFault: Got server fault
      Details: create_port_postcommit failed.

      Traceback (most recent call last):
      _StringException: Empty attachments:
      stderr
      stdout

      pythonlogging:'': {{{
      2014-12-31 15:57:17,697 1476 DEBUG [tempest.common.rest_client] Request (FloatingIPTestJSON:test_create_update_floatingip_with_port_multiple_ip_address): 500 POST http://192.168.56.10:9696/v2.0/ports 0.420s
      Request - Headers:

      {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}

      Body: {"port": {"network_id": "d78d967a-600f-46b2-b0eb-a92eb63cb770", "fixed_ips": [

      {"ip_address": "10.100.0.13"}

      ,

      {"ip_address": "10.100.0.14"}

      ]}}
      Response - Headers:

      {'status': '500', 'content-length': '109', 'connection': 'close', 'date': 'Wed, 31 Dec 2014 15:57:17 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-0e08a25c-29b7-42d4-83a6-c158606be9e3'}

      Body: {"NeutronError": {"message": "create_port_postcommit failed.", "type": "MechanismDriverError", "detail": ""}}
      }}}

      Traceback (most recent call last):
      File "tempest/api/network/test_floating_ips.py", line 197, in test_create_update_floatingip_with_port_multiple_ip_address
      fixed_ips=fixed_ips)
      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 547, in _error_checker
      raise exceptions.ServerFault(message)
      ServerFault: Got server fault
      Details: create_port_postcommit failed.
      Ran 1 tests in 0.424s
      FAILED (id=6, failures=1)
      [vagrant@localhost tempest]$

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

              Created:
              Updated:
              Resolved: