[integration tests] Exception "BadRequest: Security Group <uuid> in use." during deleting security group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Georgy Dyuldin |
Bug Description
Test result:
https:/
Trace:
self = <mos_tests.
def tearDown(self):
for inst in self.instances:
for fip in self.floating_ips:
for volume in self.volumes:
for flavor in self.flavors:
for key in self.keys:
self.keys = []
> self.nova.
mos_tests/
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/nova/
return self._delete(
.tox/nova/
resp, body = self.api.
.tox/nova/
return self.request(url, 'DELETE', **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <novaclient.
url = '/os-security-
method = 'DELETE'
kwargs = {'headers': {'Accept': 'application/json', 'User-Agent': 'python-
raise_exc = True, resp = <Response [400]>
body = {'badRequest': {'code': 400, 'message': "Security Group 2c4e197b-
Neutron server returns request_ids: ['req-43379652-
def request(self, url, method, **kwargs):
# NOTE(jamielennox): The standard call raises errors from
# keystoneauth1, where we need to raise the novaclient errors.
raise_exc = kwargs.
with utils.record_
resp, body = super(SessionCl
# TODO(andreykuri
# check only nova-related calls
# api_versions.
if raise_exc and resp.status_code >= 400:
> raise exceptions.
E BadRequest: Security Group 2c4e197b-
E Neutron server returns request_ids: ['req-43379652-
.tox/nova/
Changed in mos: | |
milestone: | 10.0 → 9.0 |
As we can see from http:// cz7776. bud.mirantis. net:8080/ jenkins/ job/9.0_ Neutron_ NovaCeph/ 2/testReport/ mos_tests. nova.nova_ test/NovaIntegr ationTests/ test_nova_ launch_ v_m_from_ image_with_ all_flavours_ _543358_ _/ , it's cleanup issue, not related to test scenario.