Pre-conditions: log in and obtain token
Steps to reproduce: create cluster without value of node param
Expected result: HTTP return status is 400
Actual result: HTTP return status is 500
for example:
request POST http://url/v0.2/token/node-templates body: { "node_template": { "name": "custom-user-template", "node_type": "TT+DN", "flavor_id": "m1.medium", "task_tracker": { "heap_size": 384, "max_map_tasks": 3, "max_reduce_tasks": 1, "task_heap_size": 640 } , "data_node": { "heap_size": "" } }
responce { "error_message": "Template 'custom-user-template', value missed for required param: data_node heap_size", "error": 500 }
Pre-conditions:
log in and obtain token
Steps to reproduce:
create cluster without value of node param
Expected result:
HTTP return status is 400
Actual result:
HTTP return status is 500
for example:
request url/v0. 2/token/ node-templates user-template" ,
POST http://
body: {
"node_template": {
"name": "custom-
"node_type": "TT+DN",
"flavor_id": "m1.medium",
"task_tracker":
{ "heap_size": 384, "max_map_tasks": 3, "max_reduce_tasks": 1, "task_heap_size": 640 }
,
"data_node":
{ "heap_size": "" }
}
responce user-template' , value missed for required param: data_node heap_size", "error": 500 }
{ "error_message": "Template 'custom-