In a few places err_msg was passed to NvpPluginException though that
expected err_desc. This patch makes NvpPluginException take err_msg
instead and updates err_desc to err_msg when calling NvpPluginException
Fixes bug
1098351
Change-Id: I10eca5f2b98ce8faa81ad7c7687902b6f08752c1
"in NVP for port %s") % port_data['id']
LOG.exception(err_msg)
super(NvpPluginV2, self).delete_port(context, port["port"]["id"])
- raise nvp_exc.NvpPluginException(err_desc=err_msg)
+ raise nvp_exc.NvpPluginException(err_msg=err_msg)
LOG.debug(_("create_port completed on NVP for tenant %(tenant_id)s: "
"(%(id)s)"), port_data)
class NvpPluginException(q_exc.QuantumException):
- message = _("An unexpected error occurred in the NVP Plugin:%(err_desc)s")
+ message = _("An unexpected error occurred in the NVP Plugin:%(err_msg)s")
class NvpInvalidConnection(NvpPluginException):