OpenStack Networking (Neutron)
Go to file
Rafael Weingärtner 2f0c352973 Log exception generated in Controller.prepare_request_body
While implementing some Neutron extension, I noticed that whenever a parameter
that is expected by the API is not entered, we receive an internal error
message. However, from the user/operator/dev calling the API, it might not be
clear what the error is. Therefore, we should at least, log these validation
errors.

This patch proposes to enclose the call to Controller.prepare_request_body with
a try/except block, and then we log the exception in warning level. After
logging the exception, we raise it to allow the normal execution flow to
continue.

Change-Id: I855442ee8c0c4b4f0aff19968a5db07fca898146
2020-08-18 16:18:34 -03:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack [OVN] Update sample local.conf to support segments 2020-08-12 13:08:41 +00:00
doc Fix port can not be created with the sg of other project 2020-08-10 10:58:30 -04:00
etc Merge "Migrate "ethtool" to oslo.privsep" 2020-08-14 22:58:44 +00:00
neutron Log exception generated in Controller.prepare_request_body 2020-08-18 16:18:34 -03:00
playbooks Use ebtables-legacy on Ubuntu Focal 2020-08-04 10:57:37 +00:00
rally-jobs [ci] Fix several rally task arguments 2020-05-06 14:56:27 +03:00
releasenotes Merge "Allow RBAC on Neutron quotas" 2020-08-18 16:57:41 +00:00
roles Use ebtables-legacy on Ubuntu Focal 2020-08-04 10:57:37 +00:00
tools migration: Restart OVS after setting protocols 2020-08-06 14:48:51 +02:00
vagrant/ovn [OVN] Merge networking-ovn vagrant into neutron 2020-02-18 17:26:15 -05:00
zuul.d [ovn]: port forwarding -- core changes 2020-08-11 14:54:05 -04:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Add etc/neutron/*.sample files to be ignored by git 2019-12-12 12:38:24 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
.mailmap
.pylintrc Remove "six" library 2020-07-28 16:55:52 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
bindep.txt Merge "Stop testing python 2" 2019-10-28 00:52:16 +00:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Remove "six" library 2020-07-28 16:55:52 +00:00
LICENSE
lower-constraints.txt Bump neutron-lib version to 2.5.0 2020-08-11 21:20:18 +00:00
plugin.spec Add OSP16.1 choice to migration plugin spec 2020-05-04 20:34:16 +03:00
README.rst Start README.rst with a better title 2019-11-19 17:42:57 +01:00
requirements.txt Bump neutron-lib version to 2.5.0 2020-08-11 21:20:18 +00:00
setup.cfg Remove translation sections from setup.cfg 2020-05-27 22:43:15 +08:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Fix pep8 job 2020-07-07 10:23:15 +00:00
TESTING.rst Updates for python3.8 2020-04-28 14:03:21 -04:00
tox.ini Remove "six" library 2020-07-28 16:55:52 +00:00

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute, please read the CONTRIBUTING.rst file.