SessionClient should not raise exception when status code >=400
Bug #1376171 reported by
Cedric Brandily
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
High
|
Cedric Brandily |
Bug Description
Currently SessionClient raises an exception when status code >= 400 unlike HTTPClient. neutronclient.
In practice, when using neutron command, specific messages returned by neutron are hidden:
$# neutron net-create oups --router:external # using a non-admin user
With SessionClient:
>> Forbidden (HTTP 403) (Request-ID: req-0bc1c823-
with HTTPClient:
>> Policy doesn't allow create_network to be performed.
Changed in python-neutronclient: | |
milestone: | none → 2.3.9 |
importance: | Undecided → High |
Changed in python-neutronclient: | |
milestone: | 2.3.9 → 2.3.10 |
Changed in python-neutronclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/125289
Review: https:/