tempest.common.rest_client: INFO: Request: POST http://localhost:8080/v1/testtenantid/data/tables
tempest.common.rest_client: DEBUG: Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
tempest.common.rest_client: DEBUG: Request Body: {"local_secondary_indexes": [{"key_schema": [{"key_type": "HASH", "attribute_name": "forum"}, {"key_type": "RANGE", "attribute_name": "last_posted_by"}], "index_name": "last_posted_by_index", "projection": {"projection_type": "ALL"}}], "key_schema": [{"key_type": "HASH", "attribute_name": "forum"}, {"key_type": "RANGE", "attribute_name": "subject"}], "table_name": "testtempest636329974", "attribute_definitions": [{"attribute_type": "S", "attribute_name": "forum"}, {"attribute_type": "S", "attribute_name": "subject"}, {"attribute_type": "S", "attribute_name": "last_posted_by"}]}
tempest.common.rest_client: INFO: Response Status: 500
tempest.common.rest_client: DEBUG: Response Headers: {'date': 'Thu, 20 Mar 2014 10:56:15 GMT', 'content-length': '149', 'content-type': 'application/x-amz-json-1.0'}
tempest.common.rest_client: DEBUG: Response Body: {"__type":"com.amazonaws.dynamodb.v20111205#InternalServerError","message":"The server encountered an internal error trying to fulfill the request."}
On server side:
2014-03-20 10:56:15.795 2727 ERROR magnetodb.storage.impl.cassandra_impl [-] Error executing query CREATE TABLE "testtenantid"."user_testtempest636329974" ( "user_last_posted_by" text,"user_forum" text,"user_subject" text, "system_attrs" map<text, blob>, "system_attr_types" map<text, text>, "system_attr_exist" set<text>, system_hash text, PRIMARY KEY ("user_forum","user_subject")):Cannot add column family 'user_testtempest636329974' to non existing keyspace 'testtenantid'.
Expected Responce Status: 404