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 :
As a side effect this patch makes the Tempest test tempest. api.compute. security_ groups. test_security_ groups: SecurityGroupsT estJSON. 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/e7c024281795 46dfb289975b073 6a3b5/servers/ 91664b60- c95d-4d29- a828-e318fae6ef 5a/action common. rest_client: DEBUG: Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'} common. rest_client: DEBUG: Request Body: {"addSecurityGr oup": {"name": "sg167766569"}} common. rest_client: INFO: Response Status: 400 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-f321638bb3 12'} common. rest_client: DEBUG: Response Body: {"badRequest": {"message": "Network requires port_security_ enabled and subnet associated in order to apply security groups.", "code": 400}}
tempest.
tempest.
tempest.
tempest.
tempest.