Fix argument checking in LUSetClusterParams
Fix argument checking in LUSetClusterParams

This patch fixes two issues with LUSetClusterParams and argument
checking.

First, this LU used the wrong function name (CheckParameters instead of
CheckArguments), which means that no parameter checking was done at all;
this impacted the candidate_pool_size checks (the only one done at this
stage).

Second, int() can raise both ValueError and TypeError, and we should
correctly handle both.

Signed-off-by: Iustin Pop <acf83a5274f31a43af6b914614365999469c1a31@google.com>
Reviewed-by: Guido Trotter <f62ca4d5358bdaeef0e50e57f9f7e231de63727e@google.com>

ganeti-github-testing/ganeti-test-1,bitemyapp/ganeti,ganeti/ganeti,mbakke/ganeti,dimara/ganeti,apyrgio/snf-ganeti,apyrgio/ganeti,andir/ganeti,yiannist/ganeti,apyrgio/ganeti,leshchevds/ganeti,mbakke/ganeti,ganeti/ganeti,andir/ganeti,yiannist/ganeti,grnet/snf-ganeti,andir/ganeti,leshchevds/ganeti,yiannist/ganeti,grnet/snf-ganeti,apyrgio/snf-ganeti,bitemyapp/ganeti,ganeti-github-testing/ganeti-test-1,ganeti/ganeti,onponomarev/ganeti,dimara/ganeti,onponomarev/ganeti,mbakke/ganeti,leshchevds/ganeti