Log the required inputs, instead of raising exceptions

Change-Id: If154aeebf277b3374aaff9c6b5d1d9522ea6c13c
Closes-Bug: #1653992
This commit is contained in:
Bharath Thiruveedula 2017-01-04 23:45:45 +05:30
parent e076a18eab
commit ed70f10d7a
1 changed files with 2 additions and 4 deletions

View File

@ -76,10 +76,8 @@ class TopologyTemplate(object):
if (self.parsed_params and input.name not in self.parsed_params
or self.parsed_params is None) and input.required \
and input.default is None:
exception.ExceptionCollector.appendException(
exception.MissingRequiredParameterError(
what='Template',
input_name=input.name))
log.warning(_('The required parameter %s '
'is not provided') % input.name)
inputs.append(input)
return inputs