Univention Bugzilla – Bug 35864
Network setup check
Last modified: 2014-11-26 06:55:10 CET
We should add a system diagnostic plugin which checks the network setup, for example is the gateway reachable, does the DNS server and the name server answer DNS requests. If an error occurs, the module should redirect to the system setup network module.
Maybe add a test for an eventually configured http proxy too.
Three plugins have been added: gateway.py: pings the gateway with a maximum timeout of 500ms. Refers on failure to the Setup - Network module. proxy.py: if proxy/http is configured it tries to get the content of http://univention.de via the proxy (is it OK to use that domain for testing purposes?) It offers a button to disable the proxy server completely. → remove this? TODO: find out a little bit more about the cause of the failure (wrong credentials, proxy down, etc.). nameserver.py: Tries to reach every nameserver[1-3] doing a lookup of the IP for the own hostname. Tries to reach every dns/forwarder[1-3] doing a lookup of the IP for www.univention.de. If the domain does not exists the test doesn't fail. Every other error fails (e.g. timeout).
The texts have been adapted, some code cleanup was done, proxy.py has been enhanced to give more detailed information.
Move all unfinished MS1 and MS2 bugs to RC.
please remove the notifications as they are very confusing
notifications have been removed.
FAIL - proxy with basic authentication does not work Why do we need a "disable proxy" button here? OK - gateway test OK - nameserver/dnsforwarder test Maybe we should add a hint that the dns/forwarder must be able to resolve "www.univention.de"? Translations missing for: Gateway is not reachable The gatway 31324 could not be ... (*) Nameserver(s) are not responsive 1 of the configured nameservers ... (*) Proxy Server Failure There was an error using the ...
(In reply to Felix Botner from comment #7) > FAIL - proxy with basic authentication does not work > Why do we need a "disable proxy" button here? fixed, curl is able to do BASIC, DIGEST and NTLM. > OK - nameserver/dnsforwarder test > Maybe we should add a hint that the dns/forwarder must be > able to resolve "www.univention.de"? hint added > Translations missing for: → Translations fixed, they were missing in the .mo file because dh_umc.py did not add subdirectories. Package currently builds.
OK
UCS 4.0-0 has been released: http://docs.univention.de/release-notes-4.0-0-en.html http://docs.univention.de/release-notes-4.0-0-de.html If this error occurs again, please use "Clone This Bug".