tearDownClass failed because of SecurityGroupInUse

Bug #1604732 reported by Sam Wan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Won't Fix
Undecided
Unassigned

Bug Description

CI failed with below errors
======================
tearDownClass (manila_tempest_tests.tests.api.test_security_services.SecurityServicesTest)
------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "tempest/test.py", line 311, in tearDownClass
        six.reraise(etype, value, trace)
      File "tempest/test.py", line 294, in tearDownClass
        teardown()
      File "tempest/test.py", line 546, in clear_credentials
        cls._creds_provider.clear_creds()
      File "tempest/common/dynamic_creds.py", line 406, in clear_creds
        self._cleanup_default_secgroup(creds.tenant_id)
      File "tempest/common/dynamic_creds.py", line 358, in _cleanup_default_secgroup
        nsg_client.delete_security_group(secgroup['id'])
      File "tempest/lib/services/network/security_groups_client.py", line 34, 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 664, in request
        resp, resp_body)
      File "tempest/lib/common/rest_client.py", line 777, in _error_checker
        raise exceptions.Conflict(resp_body, resp=resp)
    tempest.lib.exceptions.Conflict: An object with that identifier already exists
    Details: {u'type': u'SecurityGroupInUse', u'message': u'Security Group 3a38ffb7-5128-428d-ac5b-ba40b3c19d0b in use.', u'detail': u''}

tearDownClass (manila_tempest_tests.tests.api.test_security_services_mapping_negative.SecServicesMappingNegativeTest)
---------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "tempest/test.py", line 311, in tearDownClass
        six.reraise(etype, value, trace)
      File "tempest/test.py", line 294, in tearDownClass
        teardown()
      File "tempest/test.py", line 546, in clear_credentials
        cls._creds_provider.clear_creds()
      File "tempest/common/dynamic_creds.py", line 406, in clear_creds
        self._cleanup_default_secgroup(creds.tenant_id)
      File "tempest/common/dynamic_creds.py", line 358, in _cleanup_default_secgroup
        nsg_client.delete_security_group(secgroup['id'])
      File "tempest/lib/services/network/security_groups_client.py", line 34, 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 664, in request
        resp, resp_body)
      File "tempest/lib/common/rest_client.py", line 777, in _error_checker
        raise exceptions.Conflict(resp_body, resp=resp)
    tempest.lib.exceptions.Conflict: An object with that identifier already exists
    Details: {u'type': u'SecurityGroupInUse', u'message': u'Security Group f679db01-a833-45c0-9ff3-ef3f638c7938 in use.', u'detail': u''}

tearDownClass (manila_tempest_tests.tests.api.test_security_services_negative.SecurityServicesNegativeTest)
-----------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "tempest/test.py", line 311, in tearDownClass
        six.reraise(etype, value, trace)
      File "tempest/test.py", line 294, in tearDownClass
        teardown()
      File "tempest/test.py", line 546, in clear_credentials
        cls._creds_provider.clear_creds()
      File "tempest/common/dynamic_creds.py", line 406, in clear_creds
        self._cleanup_default_secgroup(creds.tenant_id)
      File "tempest/common/dynamic_creds.py", line 358, in _cleanup_default_secgroup
        nsg_client.delete_security_group(secgroup['id'])
      File "tempest/lib/services/network/security_groups_client.py", line 34, 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 664, in request
        resp, resp_body)
      File "tempest/lib/common/rest_client.py", line 777, in _error_checker
        raise exceptions.Conflict(resp_body, resp=resp)
    tempest.lib.exceptions.Conflict: An object with that identifier already exists
    Details: {u'type': u'SecurityGroupInUse', u'message': u'Security Group df870a19-9162-40c1-9b36-5d52bab8df0a in use.', u'detail': u''}

======================================

detailed log can be found at http://publiclogs.emc.com/unity/EMC_Unity_Manila/272/console.html

affects: tempest → manila
Revision history for this message
Jason Grosso (jgrosso) wrote :

Hey Sam just wanted to check to see if this was still an issue. Have you seen this in new build of openstack manila?

Changed in manila:
status: New → Triaged
Revision history for this message
Jason Grosso (jgrosso) wrote :

closing defect for inactivity please re-open defect if you are still seeing this issue.

Changed in manila:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.