** Changed in: python-neutronclient
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1296148

Title:
  neutronclient should raise generic per-code exceptions

Status in OpenStack Dashboard (Horizon):
  Fix Committed
Status in Python client library for Neutron:
  Fix Released

Bug description:
  Neutronclient now raises known exceptions (such as NetworkNotFound, 
PortNotFound,...) or generic NeutronClientException, and library users (like 
Horizon) cannot catch generic NotFound exception without checking the detail of 
NeutronClientException.
  Obviously neutronclient should raise individual exceptions based on response 
status code (400, 404, 409 and so on).

  By doing so, Horizon exception handling will be much simpler and I believe it 
brings the similar merits to other library users.
  In Horizon it is targeted to Icehouse release.

  It is related to bug 1284317, which is specific to Router Not Found
  exception, and this bug is intended to address the issue in more
  generic way.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1296148/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to