ironic/releasenotes/notes/debug-no-api-tracebacks-a8a0caddc9676b06.yaml
Jim Rollenhagen bd60603e44 Don't return tracebacks in API response in debug mode
The API should not return tracebacks in a production environment. As
deployers often run services in debug mode, because OpenStack is hard to
debug, we should not return tracebacks in debug mode. To allow
developers etc to continue to use this feature, add a new config option
'debug_tracebacks_in_api' that maintains this behavior.

Also add to troubleshooting docs.

Change-Id: Idbbf7efc45140e9e3d8b9491edd58905cbba0363
Closes-Bug: #1525002
2016-01-04 15:11:03 +00:00

8 lines
228 B
YAML

---
upgrade:
- Adds a config option 'debug_tracebacks_in_api' to allow
the API service to return tracebacks in API responses
in an error condition.
fixes:
- No longer returns tracebacks for API errors in debug mode.