It's not removed when deleting the users and the projects.
Change-Id: Ib5de0885dcbfb558a48cdd20ae3ccc47b7f23748
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
d4e60af2b8f544d774223b16c193dc40bd5dce38)
self.orig_cloud.delete_project(self.project.id)
if self.role:
self.orig_cloud.delete_role(self.role.id)
+ sec_id = self.cloud.list_security_groups(
+ filters={'name': 'default',
+ 'project_id': self.project.id})[0].id
+ self.orig_cloud.delete_security_group(sec_id)
except Exception: # pylint: disable=broad-except
self.__logger.exception("Cannot clean all resources")