Table creation with set type hash key fails on backend and gets CREATE_FAILURE status, however we are expecting that attempt of creation will fail on validation level
Request Body: {"key_schema": [{"key_type": "HASH", "attribute_name": "set"}], "table_name": "testtempest532783213", "attribute_definitions": [{"attribute_type": "SS", "attribute_name": "set"}]}
Response Status: 200
Response Headers: {'date': 'Wed, 08 Oct 2014 12:57:27 GMT', 'content-length': '560', 'content-type': 'application/json', 'connection': 'close, close'}
Response Body: {"table_description": {"key_schema": [{"key_type": "HASH", "attribute_name": "set"}], "creation_date_time": 0, "links": [{"href": "http://192.168.122.100:8480/v1/bca75afd0f3b47fc882f90a1c03f1bc4/data/tables/testtempest532783213", "rel": "self"}, {"href": "http://192.168.122.100:8480/v1/bca75afd0f3b47fc882f90a1c03f1bc4/data/tables/testtempest532783213", "rel": "bookmark"}], "table_name": "testtempest532783213", "table_size_bytes": 0, "table_status": "CREATING", "attribute_definitions": [{"attribute_type": "SS", "attribute_name": "set"}], "item_count": 0}}
}}}
Fix proposed to branch: master /review. openstack. org/132871
Review: https:/