Bug 52425 - Allow computerroom to deal with multiple IPs and MACs solution problems
Allow computerroom to deal with multiple IPs and MACs solution problems
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room
unspecified
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v8-errata
Assigned To: Ole Schwiegert
Tobias Wenzel
:
Depends on:
Blocks: 53024
  Show dependency treegraph
 
Reported: 2020-11-24 13:35 CET by Ole Schwiegert
Modified: 2021-03-31 12:32 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.343
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020090821000697
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 Ole Schwiegert univentionstaff 2020-11-24 13:35:51 CET
+++ This bug was initially created as a clone of Bug #51976 +++

Laptops being added to the computerroom will always appear "offline" when there are two MACs and IPs assigned and they use WiFi instead of Ethernet.

Laptops frequently have mutliple NICs (Ethernet and WiFi) and thus are configured accordingly. But in schools they are frequently only connected to the WiFi when in use and as the Ethernet interface is not reachable they will apear "offline" even though they are not.

Computerroom should check both (or all) assigned IPs.


---------------

The implemented solution is causing massive waiting times due to the timeouts of "ping" if the target IP is not reachable. We need to find a solution for this problem.
Comment 1 Ole Schwiegert univentionstaff 2020-11-24 14:17:51 CET
We decided to change the feature in a way, so that the handling of multiple IPs has to be activated via UCR. Without admnin actions the old behavior should apply.

Tests have to be adapted. A short section in the manual needs to be added.
Comment 2 Tobias Wenzel univentionstaff 2020-11-25 12:15:48 CET
A new ucr-v is introduced, which activates the behaviour.
⇒ ucsschool/umc/computerroom/ping-client-ip-addresses

The unit tests were modified & documentation was added.


The fix is implemented in 

[4.4] 6feef380b Bug #52425: add changelog and yaml
[4.4] ea03b5324 Bug #52425: Merge branch 'twenzel/52425' into 4.4
[4.4] b845ad7e4 Bug #52425: add doc section
[4.4] 3e7b08073 Bug #52425: add ucr-v


and built as discussed:

Package: ucs-school-umc-computerroom
Version: 11.0.0-27A~4.4.0.202011251212
Branch: ucs_4.4-0
Scope: ucs-school-4.4
Comment 3 Tobias Wenzel univentionstaff 2020-11-25 12:53:56 CET
...also built ucs-test

[4.4] 292658381 Bug #52425: yaml version
[4.4] c179672c5 Bug #52425: add ucs-test changelog
[4.4] 6feef380b Bug #52425: add changelog and yaml


Package: ucs-test-ucsschool
Version: 6.0.161A~4.4.0.202011251249
Branch: ucs_4.4-0
Scope: ucs-school-4.4
Comment 4 Ole Schwiegert univentionstaff 2020-11-26 10:47:18 CET
Tests: OK
Manual test: OK
Advisory&Changelog: OK
Comment 5 Ole Schwiegert univentionstaff 2020-11-26 11:40:58 CET
UCS@school 4.4 v8 has been released (errata update to the release).

https://docs.software-univention.de/changelog-ucsschool-4.4v8-de.html

If this error occurs again, please clone this bug.