Currently if user pass incorrect or invalid cluster ID to nodegroup
creation POST request the 500 Internal Server error is occur. That's
not the way we should handle invalid input data. Let's throw
404 Not Found if invalid cluster ID is passed.
Closes-Bug: #1494320
Change-Id: Ief3754367690c83021f1e636f58311f0c02c941a
Signed-off-by: Igor Kalnitsky <email address hidden>
Reviewed: https:/ /review. openstack. org/232553 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=8529ce0a3ce 316ab9fd87b0de5 787b8ff2523498
Committed: https:/
Submitter: Jenkins
Branch: stable/7.0
commit 8529ce0a3ce316a b9fd87b0de5787b 8ff2523498
Author: Igor Kalnitsky <email address hidden>
Date: Fri Sep 18 18:08:04 2015 +0300
Validate cluster in node group creation
Currently if user pass incorrect or invalid cluster ID to nodegroup
creation POST request the 500 Internal Server error is occur. That's
not the way we should handle invalid input data. Let's throw
404 Not Found if invalid cluster ID is passed.
Closes-Bug: #1494320
Change-Id: Ief3754367690c8 3021f1e636f5831 1f0c02c941a
Signed-off-by: Igor Kalnitsky <email address hidden>