diff --git a/tacker/extensions/vnfm.py b/tacker/extensions/vnfm.py index caddee9a4..bf7cc6d58 100644 --- a/tacker/extensions/vnfm.py +++ b/tacker/extensions/vnfm.py @@ -86,7 +86,7 @@ class ParamYAMLNotWellFormed(exceptions.InvalidInput): class InputValuesMissing(exceptions.InvalidInput): - message = _("Input values missing for 'get_input") + message = _("Parameter input values missing for the key '%(key)s'") class ParamYAMLInputMissing(exceptions.InvalidInput): diff --git a/tacker/vm/drivers/heat/heat.py b/tacker/vm/drivers/heat/heat.py index 3d600c877..5acdab6f3 100644 --- a/tacker/vm/drivers/heat/heat.py +++ b/tacker/vm/drivers/heat/heat.py @@ -111,13 +111,13 @@ class DeviceHeat(abstract_driver.DeviceAbstractDriver): self._update_params(value, paramvalues[key], False) else: LOG.debug('Key missing Value: %s', key) - raise vnfm.InputValuesMissing() + raise vnfm.InputValuesMissing(key=key) elif 'get_input' in value: if value['get_input'] in paramvalues: original[key] = paramvalues[value['get_input']] else: LOG.debug('Key missing Value: %s', key) - raise vnfm.InputValuesMissing() + raise vnfm.InputValuesMissing(key=key) else: self._update_params(value, paramvalues, True)