Bug 37268 - Start slowed down by offline clients
Start slowed down by offline clients
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.0 R2
Assigned To: Florian Best
Alexander Kramer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-12-09 16:40 CET by Jan Christoph Ebersbach
Modified: 2015-05-11 19:24 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
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
Fixed layout on reboot page (45.96 KB, image/png)
2015-04-17 16:36 CEST, Sönke Schwardt-Krummrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Christoph Ebersbach univentionstaff 2014-12-09 16:40:32 CET
A customer reported that the start of exam mode is heavily slowed down by  clients that are offline (not reachable).  After exam user creation a window is shown presenting all clients in the room to quickly reboot them.  If clients are offline it takes very long for the window to be ready for input - probably because of timeouts.

Since it's very common that some clients in a classroom are offline it always takes a long time to start up exam mode.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-12-11 09:49:39 CET
The timeout has been chosen that long on purpose during implementation phase. The module tries to prevent that some computers are currently in boot phase but booted early enough to not evaluate the latest exam GPOs.

If the timeout is (too) short, there may be computers that are not exam mode after boot/reboot. Then the users (student/teacher) have to reboot the corresponding computers again, which also takes time.

If the timeout is longer, the teacher has to wait for the timeout if at least one computer is not running.

I don't know, which of those 2 options is the best one or if there is a third options.

Request for comments.
Comment 2 Jan Christoph Ebersbach univentionstaff 2014-12-11 12:02:47 CET
I'd suggest to reduce the timeout and display a warning for the clients that couldn't be reached.  If a teacher uses the exam mode it can be expected that he/she feels more comfortable with computers and is able to determine which clients need to be rebooted.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2015-04-09 15:13:28 CEST
As discussed, the reboot dialog shall be revised:

1) the grid shall be updated continuously
2) during the first 5 seconds, when switching to the reboot page, the page shall be disabled via standby animation
3) there shall be 2 buttons ("next without restart" and "next with restart")
   - both buttons shall present a confirmation dialog when clicked
4) currently there are only two states for computers "unreachable/offline" or 
   "reboot required". For bug 38004 a third state "ignored/skipped" should be 
   added.
   A computer shall *not* be restarted (state "ignored/skipped") if
   a) the current UMC user is logged on on that computer (use the browser's IP 
      address; see automatic room selection code in computerroom)
   b) a teacher is logged on on that computer (optional feature; add a UCR 
      variable to disable 4b)
Comment 4 Florian Best univentionstaff 2015-04-17 14:46:13 CEST
(In reply to Sönke Schwardt-Krummrich from comment #3)
> 1) the grid shall be updated continuously
implemented

> 2) during the first 5 seconds, when switching to the reboot page, the page
> shall be disabled via standby animation
implemented

> 3) there shall be 2 buttons ("next without restart" and "next with restart")
>    - both buttons shall present a confirmation dialog when clicked
I added 2 grid buttons ('restart student computers', 'restart selected computers'). Then none of these actions were triggered the 'next' button asks again.

> 4) currently there are only two states for computers "unreachable/offline"
> or 
>    "reboot required". For bug 38004 a third state "ignored/skipped" should
> be 
>    added.
>    A computer shall *not* be restarted (state "ignored/skipped") if
>    a) the current UMC user is logged on on that computer (use the browser's
> IP 
>       address; see automatic room selection code in computerroom)
>    b) a teacher is logged on on that computer (optional feature; add a UCR 
>       variable to disable 4b)
don't touched this, as it was already implemented. Teacher computers already have the 'not necessary' state.

Fix: svn r59817, r59818
Package: ucs-school-umc-exam

The following UCR variables have been removed:
ucsschool/exam/delay/min
ucsschool/exam/delay/max
ucsschool/exam/delay/offset

Still open because the next button is somehow not visible on Sönkes notebook:
http://billy/~sschwardt/neustart1.png
Comment 5 Florian Best univentionstaff 2015-04-17 15:38:18 CEST
(In reply to Florian Best from comment #4)
> Still open because the next button is somehow not visible on Sönkes notebook:
> http://billy/~sschwardt/neustart1.png
→ fixed?!
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2015-04-17 16:36:21 CEST
Created attachment 6836 [details]
Fixed layout on reboot page

> > Still open because the next button is somehow not visible on Sönkes notebook:
> > http://billy/~sschwardt/neustart1.png
> → fixed?!

Yes, fixed.
Comment 7 Alexander Kramer univentionstaff 2015-04-24 11:11:21 CEST
OK - debian changelog
OK - xml changelog

OK - 1) the grid shall be updated continuously
OK - 2) standby animation during the first 5 seconds
OK - 3) there shall be 2 buttons
-- OK if none of these actions were triggered the 'next' button asks again
Comment 8 Florian Best univentionstaff 2015-05-11 19:24:54 CEST
UCS@school 4.0 R2 v1 has been released:
http://docs.univention.de/release-notes-ucsschool-4.0R2v1-de.html

If this error occurs again, please use "Clone This Bug".