Univention Bugzilla – Bug 46050
Lost conenction to UCS 4.3 Jenkins VMs
Last modified: 2018-03-14 14:38:39 CET
Some of the UCS 4.3 tests fail because the VMs are not reachable via SSH. It looks like it happens when the eth0 interface is defined as static: => Execute: ucr set interfaces/eth0/type=static on [master090] [master090] 2018-01-16T00:57:15.782037 Reloading bind9 Domain Name Server (DNS)...ldap... [master090] 2018-01-16T00:57:15.800284 proxy... [master090] 2018-01-16T00:57:15.849907 done. [master090] Killed old client process [master090] Internet Systems Consortium DHCP Client 4.3.5 [master090] Copyright 2004-2016 Internet Systems Consortium. [master090] All rights reserved. [master090] For info, please visit https://www.isc.org/software/dhcp/ [master090] Listening on LPF/eth0/02:50:df:1d:38:76 [master090] Sending on LPF/eth0/02:50:df:1d:38:76 [master090] Sending on Socket/fallback [master090] DHCPRELEASE on eth0 to 10.210.0.1 port 67 [master090] 2018-01-16T00:57:18.864671 File: /etc/dhcp/dhclient.conf [master090] 2018-01-16T00:57:20.774582 Reloading bind9 Domain Name Server (DNS)...ldap... [master090] 2018-01-16T00:57:20.802489 proxy... [master090] 2018-01-16T00:57:20.847142 done. [master090] 2018-01-16T00:57:23.581767 Setting interfaces/eth0/type [master090] 2018-01-16T00:57:23.581767 Multifile: /etc/network/interfaces [master090] 2018-01-16T00:57:23.581767 File: /etc/welcome.msg [master090] 2018-01-16T00:57:23.581767 File: /etc/default/ifplugd [master090] 2018-01-16T00:57:23.581767 File: /etc/issue [master090] 2018-01-16T00:57:23.581767 Multifile: /etc/samba/smb.conf [master090] 2018-01-16T00:57:23.581767 File: /usr/share/univention-management-console/meta.json [3600] Network error: [Errno None] Unable to connect to port 22 on 10.210.81.253 [3594] Network error: [Errno None] Unable to connect to port 22 on 10.210.81.253
I've removed the static definition. Let's wait for the tests: https://git.knut.univention.de/univention/ucs/commit/1192c3852eb7b537a5334270687890a704d4a2c1
(In reply to Stefan Gohmann from comment #1) > I've removed the static definition. Let's wait for the tests: > https://git.knut.univention.de/univention/ucs/commit/ > 1192c3852eb7b537a5334270687890a704d4a2c1 The tests are successful now. So, it looks like the UCS 4.3 behavior is different and the UCS is not always reachable via SSH after switching from a dynamic to a static DHCP configuration. Anyway, I think it is very rare and normally nothing what is just done on the fly. Otherwise, feel free to create a new issue.
I checked setting interfaces/eth0/type=static inside virtualbox and it worked without a problem. Like you said, it seems to be a rare problem. A test just failed because of a connection problem: http://jenkins.knut.univention.de:8080/job/UCS-4.3/job/UCS-4.3-0/job/AutotestUpgrade/SambaVersion=s4,Systemrolle=backup/51/ But it sounds like a different problem. I will check the results the next few days.
Seems to work -> Ok -> Verified
UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug".