Univention Bugzilla – Bug 25305
[Process overview] SIGKILL/SIGTERM of not anymore running process causes traceback
Last modified: 2015-03-25 16:42:10 CET
Das Prozessübersicht-Modul läd derzeit die Ansicht nicht neu, wenn ein Prozess terminiert wurde, weshalb dieser immernoch in der angezeigten Liste ist obwohl er nicht mehr läuft. Der Nutzer hat daher die Möglichkeit erneut ein "Terminate/Force terminate" für den bereits beendeten Prozess durchzuführen, was jedoch zu dem folgenden Traceback führt: ========================================================================== Execution of command 'top/kill' has failed: Traceback (most recent call last): File '/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py', line 97, in execute func( request ) File '/usr/lib/pymodules/python2.6/univention/management/console/modules/top/__init__.py', line 122, in kill failed = ', '.join(failed) TypeError: sequence item 0: expected string, int found =========================================================================== (identisch für Terminat/Force terminate)
Das Grid sollte auf jeden Fall neu geladen werden. Der Fall muss aber trotzdem abgefangen werden (vielleicht ist der Prozess ja währenddessen auf anderem Wege beendet worden)
+1
Occurred again during the UCS 4.0 Product tests.
Created attachment 6338 [details] patch The attached patch fixes every issue: * reload the grid after killing a process * show a standby animation during killing a process * fix the backend traceback so that a normal error message is displayed again
Reported by traceback feedback, 3.2-4 errata273 (Borgfeld)
(In reply to Florian Best from comment #4) > Created attachment 6338 [details] > patch > > The attached patch fixes every issue: > * reload the grid after killing a process > * show a standby animation during killing a process > * fix the backend traceback so that a normal error message is displayed again implemented patch: r59116 univention-management-console-module-top (4.1.0-5) * Bug #25305: prevent traceback when SIGKILL/SIGTERM is send to an process that isn't running anymore YAML: r59117
OK: error message is shown again OK: standby animation during kill OK: grid reload OK: YAML
<http://errata.univention.de/ucs/4.0/133.html>