Univention Bugzilla – Bug 40563
SSH connection check should exclude docker instances
Last modified: 2016-04-13 14:53:41 CEST
SSH connection check should exclude docker instances because the docker instances don't start a ssh daemon by default: -------------------------------------------------------------------------------- The ssh connection to at least one other UCS server failed. The following list shows the affected remote servers and the reason for the failed ssh connection: tecart-1454054491105368.deadlock0.intranet - [Errno -2] Name or service not known tecart-1454054491105368 - [Errno -2] Name or service not known --------------------------------------------------------------------------------
Docker hosts have: udm computers/memberserver list --filter name=tecart-1454054491105368 | grep objectFlag objectFlag: docker There is also ucr get appcenter/apps/tecart/hostdn
univention-appcenter (5.0.20-31): r68218 | Bug #40563: exclude docker instances in ssh connections univention-appcenter.yaml: r68222 | YAML Bug #38530, Bug #39896, Bug #40563, Bug #39907
Please revert the patch, it does not really have any impact. While it is true that the functions find docker hosts, they won't in reality: Only DC Master and DC Backup servers are searched for and those will never be docker hosts. The only function that would benefit from it is get_all_hosts and this function is not used anymore. It was for collecting data for the frontend, but this is now done by the new code that already filters docker hosts. Anyway, this bug has nothing to do with the App Center. You need to patch management/univention-management-console-module-diagnostic/umc/python/diagnostic/plugins/ssh_connection.py
Oups, I didn't see the component... r68544 | Revert "Bug #40563: exclude docker instances in ssh connections"
univention-management-console-module-diagnostic.yaml: r68546 | YAML Bug #40563 univention-management-console-module-diagnostic (2.0.0-5): r68545 | Bug #40563: exclude docker hosts in SSH connection check
Changeset: OK YAML: OK
<http://errata.software-univention.de/ucs/4.1/151.html>