Univention Bugzilla – Bug 37169
provide more information in traceback feedback
Last modified: 2015-01-22 11:54:52 CET
By default the following information are really helpful for the traceback feedback: * flavor * UMCP command * (request options without sensitive information) * (response status) * traceback The internal error handling should be unified so that UMC-Server + UMC-Modules + Threaded-Methods all use the same error handling function. The status codes which differentiate a UMC-Module error and a UMC-Server error are not necessary. The real HTTP status code 500 should be used. A unified format of the JSON error response could be implemented for errors. Currently everything is a string using the "message" attribute of the UMCP response. Status titles are generated by the frontend, this is the job of the backend (errors should be viewable independent of the user agent software).
Replace "/usr/lib/pymodules/python2.6/" with "%PY2.6%" → tracebacks pasted into bugzilla/OTRS are faster to read
* server/role * logged_in_user == 'Administrator'
create a hash of the tracebacks (stripping line numbers, whitespace, python-version, etc.)
* ad/member * samba_installed
We should discuss the changes before something will be implemented or released.
(In reply to Stefan Gohmann from comment #5) > We should discuss the changes before something will be implemented or > released. As discussed with Stefan: It is okay to provide the following information, they should be visible for the reporter: * UMCP-command * UMCP-flavor * Traceback The server/role, etc. should not be sent. In our traceback-receive-script on forge we should implement comment #3. This will save some time searching for tracebacks. In the future it's possible to automatically relate tracebacks to bug numbers/etc.
The error handling things have been moved into Bug #37366.
A unique hash of the traceback is now generated when we reseive the traceback. The package need to be updated on forge.univention.de. No YAML required as it is a internal package. Package: univention-system-info-traceback Version: 1.0.0-2.2.201501051513 Branch: ucs_3.0-0 Scope: internal Fix: svn r57081 (build a unique hash for tracebacks) Adding the flavor to the error information. One liner fix. As UDM uses the error handling function from the UMC server core for threads it was enough to fix it there. Bug #37366 will implement the rest. Fix: r57087 YAML: 2014-12-04-univention-management-console.yaml Package: univention-management-console Version: 7.1.63-10.851.201501051823 Branch: ucs_4.0-0 Scope: errata4.0-0
If we ever want to add some more information it would also be interesting to know what browser was used.
OK, flavor is added. univention-system-info-traceback also works nicely.
<http://errata.univention.de/ucs/4.0/44.html>