Why am I getting "Not Implemented" when trying to create a policy
I am running the Tempest smoke test suite in a couple OpenStack environments I have, but I keep getting the same error in both when running this test:
tempest.api.identity.admin.v3.test_policies.PoliciesTestJSON.test_create_update_delete_policy
The test is failing with the following error message:
pythonlogging:'': {{{ 2015-10-08 15:34:59,697 14385 INFO [tempest_lib.common.rest_client] Request (PoliciesTestJSON:test_create_update_delete_policy): 201 POST http://172.16.0.2:5000/v3/auth/tokens 2015-10-08 15:34:59,697 14385 DEBUG [tempest_lib.common.rest_client] Request - Headers: {}
Body: None
Response - Headers: {'status': '201', 'content-length': '5995', 'x-subject-token': 'a25194f0b066401491bd99cd2aef6fed', 'vary': 'X-Auth-Token', 'connection': 'close', 'date': 'Thu, 08 Oct 2015 22:34:58 GMT', 'content-type': 'application/json'}
Body: None 2015-10-08 15:34:59,822 14385 INFO [tempest_lib.common.rest_client] Request (PoliciesTestJSON:test_create_update_delete_policy): 501 POST http://172.16.0.2:5000/v3/policies
0.124s 2015-10-08 15:34:59,822 14385 DEBUG [tempest_lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"policy": {"type": "tempest-PolicyType-222433904", "blob": "tempest-BlobName-2078459825"}}
Response - Headers: {'status': '501', 'content-length': '122', 'vary': 'X-Auth-Token', 'connection': 'close', 'date': 'Thu, 08 Oct 2015 22:34:58 GMT', 'content-type': 'application/json'}
Body: {"error": {"message": "The action you have requested has not been implemented.", "code": 501, "title": "Not Implemented"}} }}}
Does anyone know why this is happening? How can that not be implemented?