Comment 8 for bug 1189059

Revision history for this message
Jordan Pittier (jordan-pittier) wrote :

As a side effect this patch makes the Tempest test tempest.api.compute.security_groups.test_security_groups:SecurityGroupsTestJSON.test_server_security_groups to work in a *Quantum* environment. Without the patch the test was failing with this message :

tempest.common.rest_client: INFO: Request: POST http://10.1.59.157:8774/v2/e7c02428179546dfb289975b0736a3b5/servers/91664b60-c95d-4d29-a828-e318fae6ef5a/action
tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
tempest.common.rest_client: DEBUG: Request Body: {"addSecurityGroup": {"name": "sg167766569"}}
tempest.common.rest_client: INFO: Response Status: 400
tempest.common.rest_client: DEBUG: Response Headers: {'date': 'Wed, 12 Jun 2013 10:10:13 GMT', 'content-length': '139', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-057d0509-7429-4a77-b0b6-f321638bb312'}
tempest.common.rest_client: DEBUG: Response Body: {"badRequest": {"message": "Network requires port_security_enabled and subnet associated in order to apply security groups.", "code": 400}}