Univention Bugzilla – Bug 45343
UMC system diagnostic module hangs for a long time (4.3)
Last modified: 2018-03-28 13:28:26 CEST
Created attachment 9181 [details]
Soemtimes the UMC system diagnostic module hangs for a long time, several minutes (or infinitely?). See attached screenshot. All tests seem to run but finally it hangs at 96% with the last message "Diagnosis of "Gateway is not reachable" was successful". It is not really clear if the module is still doing something.
My environment consisted of a UCS 4.2-2 Master and Backup, both with Samba/AD and I observed this during QA for Bug #36748. I had killed the KDC on the DC Backup for QA purposes.
In case it hangs, I can instruct the browser to reload the page, and then it works (always?). But when I click on "Run tests again", it hangs again.
We had this before under different circumstances and fixed in in the bug I cloned.
+++ This bug was initially created as a clone of Bug #37032 +++
While I filed this bug, an error message popped up:
An unknown error with status code 502 occurred while connecting to the server, please try again later.
I hit "RUN SYSTEM DIAGNOSTICS" again:
* First time: Works
* Second time: Works
* Third time: Hangs
Which UCS Version / errata level?
> My environment consisted of a UCS 4.2-2 Master and Backup, both with Samba/AD
> and I observed this during QA for Bug #36748.
I guess errata level 159
It's diagnostic/plugins/01_ssh_connection.py that sometimes hangs:
This workaround seemed to fix it for me:
8a1ef5f166 | Workaround for Python paramiko hangs
4d9067fe2e | Advisory
Fixing together with Bug 45904 and Bug 45584.
OK - ssh check
OK - YAML