Bug 46050 - Lost conenction to UCS 4.3 Jenkins VMs
Lost conenction to UCS 4.3 Jenkins VMs
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: Jenkins - Test setups
unspecified
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Stefan Gohmann
Jürn Brodersen
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-16 06:39 CET by Stefan Gohmann
Modified: 2018-03-14 14:38 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2018-01-16 06:39:06 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
Comment 1 Stefan Gohmann univentionstaff 2018-01-16 06:46:00 CET
I've removed the static definition. Let's wait for the tests:
 https://git.knut.univention.de/univention/ucs/commit/1192c3852eb7b537a5334270687890a704d4a2c1
Comment 2 Stefan Gohmann univentionstaff 2018-01-18 21:55:01 CET
(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.
Comment 3 Jürn Brodersen univentionstaff 2018-02-05 12:31:04 CET
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.
Comment 4 Jürn Brodersen univentionstaff 2018-02-13 11:45:59 CET
Seems to work -> Ok
-> Verified
Comment 5 Stefan Gohmann univentionstaff 2018-03-14 14:38:39 CET
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".