neutronclient should raise generic per-code exceptions
Bug #1296148 reported by
Akihiro Motoki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Akihiro Motoki | ||
python-neutronclient |
Fix Released
|
High
|
Akihiro Motoki |
Bug Description
Neutronclient now raises known exceptions (such as NetworkNotFound, PortNotFound,...) or generic NeutronClientEx
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.
Changed in horizon: | |
milestone: | none → icehouse-rc1 |
importance: | Undecided → Medium |
assignee: | nobody → Akihiro Motoki (amotoki) |
Changed in horizon: | |
milestone: | juno-2 → juno-3 |
Changed in python-neutronclient: | |
milestone: | none → 2.3.5 |
Changed in python-neutronclient: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/82319
Review: https:/