neutron-lib/neutron_lib/exceptions
Bence Romsics 1e6a07c5fc Placement client: improve Placement 4xx exceptions
For 4xx errors Placement sends back a complex JSON object describing
the error. When turned into an exception that becomes a non-trivial
attribute of the error object. Usual ways of logging an exception (that
is LOG.exception) completely ignore that attribute, therefore the real
error message is not logged. For example we only logged the fact that
we received a BadRequest response and nothing else while Placement did
provide a whole lot more detail. Here we dig out that error detail and
re-throw a better exception with it.

Change-Id: Id97116c1c298f54f898a746d6e3c96b1f412bb49
Related-Bug: #1578989
2018-11-26 17:42:37 +01:00
..
__init__.py Rehome get_port_binding_by_status_and_host 2018-07-13 18:38:12 -05:00
address_scope.py rehome neutron's address-scope extension API definition 2017-07-17 07:27:58 -06:00
agent.py rehome neutron's agent extension API definition 2017-07-13 11:50:40 -06:00
allowedaddresspairs.py rehome allowedaddresspairs API definition 2017-08-07 09:56:38 -06:00
availability_zone.py rehome availability zone API def 2017-08-04 10:51:43 -06:00
dhcpagentscheduler.py rehome dhcpagentscheduler api def 2017-11-28 05:57:51 -07:00
dns.py Rehome dns-integration extension 2017-06-16 13:14:56 +09:00
dvr.py fix up dvr api def exceptions 2017-11-10 13:46:16 -07:00
external_net.py rehome external net api definition 2017-08-14 10:05:42 -06:00
extraroute.py rehome extraroute api definition 2017-08-15 04:36:38 -06:00
firewall_v1.py Move Firewall Exceptions to neutron-lib 2017-07-11 16:36:21 +00:00
firewall_v2.py Fix spaces in Firewall's error messages 2017-07-23 15:16:13 +05:30
flavors.py rehome flavor extension API definition 2017-09-18 05:14:30 -06:00
l3.py rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00
l3_ext_ha_mode.py rehome l3 ext ha mode extension api definition 2017-09-07 10:23:24 -06:00
metering.py rehome metering extension api definition 2017-08-16 13:26:33 -06:00
multiprovidernet.py rehome multi provider net extension api definition 2017-11-02 10:27:46 -06:00
placement.py Placement client: improve Placement 4xx exceptions 2018-11-26 17:42:37 +01:00
port_security.py rehome port security api-def 2017-03-03 11:12:46 -07:00
qos.py rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00
vlantransparent.py rehome vlantransparent api def 2017-12-05 09:53:11 -07:00
vpn.py Migrate neutron-vpnaas API definitions to neutron-lib 2018-01-26 09:14:42 +08:00