yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04788
[Bug 1204321] Re: Plumgrid plugin raises exceptions incorrectly
** Changed in: neutron
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1204321
Title:
Plumgrid plugin raises exceptions incorrectly
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
Plumgrid plugin exception class PLUMgridException is derived from
NeutronException class (plugins / plumgrid / common / exceptions.py):
class PLUMgridException(base_exec.NeutronException):
message = _("An unexpected error occurred in the PLUMgrid Plugin: "
"%(err_msg)s")
However, the plugin raises this exception incorrectly in several
locations by using something like this:
err_message = _("PLUMgrid NOS communication failed: ")
LOG.Exception(err_message)
raise plum_excep.PLUMgridException(err_message)
I simply noticed this reading the code so I thought I should report
it. The fix is rather straightforward but wanted to check with others
before fixing it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1204321/+subscriptions