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/225194 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=6eb78b05cb0 2d7b472caff7a2e 8b83d27c47e5ee
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6eb78b05cb02d7b 472caff7a2e8b83 d27c47e5ee
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>