Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-896

CSIT Sporadic failures - tempest.api.network precommit_delete failure on security group delete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Carbon-SR3
    • Nitrogen, Oxygen
    • General
    • Operating System: All
      Platform: All

    • 9130
    • High

      this csit job:

      https://logs.opendaylight.org/releng/jenkins092/netvirt-csit-1node-openstack-pike-upstream-stateful-nitrogen/3/log.html.gz

      tempest output snippet:

      {2}

      tearDownClass (tempest.api.network.test_extensions.ExtensionsTestJSON) [0.000000s] ... FAILED

      Captured traceback:
      ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):

      File "tempest/test.py", line 190, in tearDownClass
       six.reraise(etype, value, trace)
       File "tempest/test.py", line 173, in tearDownClass
       teardown()
       File "tempest/test.py", line 477, in clear_credentials
       cls._creds_provider.clear_creds()
       File "tempest/lib/common/dynamic_creds.py", line 459, in clear_creds
       self._cleanup_default_secgroup(creds.tenant_id)
       File "tempest/lib/common/dynamic_creds.py", line 406, in _cleanup_default_secgroup
       nsg_client.delete_security_group(secgroup['id'])
       File "tempest/lib/services/network/security_groups_client.py", line 59, in delete_security_group
       return self.delete_resource(uri)
       File "tempest/lib/services/network/base.py", line 41, in delete_resource
       resp, body = self.delete(req_uri)
       File "tempest/lib/common/rest_client.py", line 301, in delete
       return self.request('DELETE', url, extra_headers, headers, body)
       File "tempest/lib/common/rest_client.py", line 659, in request
       self._error_checker(resp, resp_body)
       File "tempest/lib/common/rest_client.py", line 780, 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'Security Group 462df320-f024-4810-85a7-5b1195ee3602 cannot perform precommit_delete due to Callback networking_odl.common.callback.OdlSecurityGroupsHandler.sg_callback_precommit--9223372036854618144 failed with "argument of type \'NoneType\' is not iterable".', u'type': u'SecurityGroupInUse', u'detail': u''}
      

       

        1. server.log.xz
          76 kB
        2. sg-precommit-delete.diff
          2 kB
        3. sg-precommit-delete.diff
          0.8 kB
        4. sg-precommit-exception.diff
          2 kB

            yamahata Isaku Yamahata
            jluhrsen Jamo Luhrsen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: