Bug 57025 - Veyon screen preview does not scale in large environments
Summary: Veyon screen preview does not scale in large environments
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: Veyon
Version: UCS@school 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UCS@school maintainers
QA Contact:
URL:
Keywords:
Depends on: 56829
Blocks: 55775
  Show dependency treegraph
 
Reported: 2024-02-05 12:20 CET by Christina Scheinig
Modified: 2024-11-11 09:10 CET (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.600
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2024012921000315, 2023031621000374, 2023121221000131, 2024041721000145, 2024041921000151, 2024041621000316, 2024091121000058, 2024081221000111
Bug group (optional): UCS Performance
Customer ID:
Max CVSS v3 score:


Attachments
Shows the interruption (458.00 KB, image/png)
2024-02-05 12:20 CET, Christina Scheinig
Details
iptraffic (33.95 KB, image/png)
2024-02-05 12:21 CET, Christina Scheinig
Details

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Christina Scheinig univentionstaff 2024-02-05 12:21:17 CET
Created attachment 11189 [details]
iptraffic
Comment 3 Christina Scheinig univentionstaff 2024-02-05 12:29:25 CET
In a customer environment the use case is to have 6 classrooms, maybe more, open in parallel. 

The teachers open the classroom and monitor all screens, but there are still interruptions in view. (see screenshot)

These are caused for example by restarting clients in one classroom during exammode, while the other room gets these interruptions.


First school:
Summe Clients: 	345
Anzahl Räume: 	72

Second school
Summe Clients:  351
Anzahl Räume: 	82
Comment 6 Mirac Erdemiroglu univentionstaff 2024-03-08 09:17:08 CET
Another customer affected 2023121221000131

Customer use near 1000 devices in the school environment and between 300-400 devices are active in use at the same time.

I guess this is a bit to much to handle for the Veyon Proxy.
Comment 7 Johannes Königer univentionstaff 2024-03-08 12:53:43 CET
(In reply to Mirac Erdemiroglu from comment #6)
> Another customer affected 2023121221000131
> 
> Customer use near 1000 devices in the school environment and between 300-400
> devices are active in use at the same time.
> 
> I guess this is a bit to much to handle for the Veyon Proxy.

Which version of the Veyon Proxy was used in this case, and are there any crashes reported by the Veyon Proxy when calling `univention-app logs ucsschool-veyon-proxy`?
Comment 8 Dirk Schnick 2024-03-11 15:57:36 CET
At the other customer Mirac mentioned we used latest ucsschool appcenter veyon first and pulled 4.8.2.17 in a given procedure from Univention support team then. So we used original ucsscholl veyon version and also 4.8.2.17 now.
Comment 9 Mirac Erdemiroglu univentionstaff 2024-04-19 14:49:07 CEST
Another customer affected 2024041921000151

They using 30 computer rooms and 700 clients.
Comment 10 Mirac Erdemiroglu univentionstaff 2024-04-19 14:51:22 CEST
The update to a newer container version "could" be help.

docker pull veyon/webapi-proxy:4.8.2.17
docker tag veyon/webapi-proxy:4.8.2.17 docker.software-univention.de/ucsschool-veyon-proxy:4.7.4.14-0
univention-app remove ucsschool-veyon-proxy
univention-app install ucsschool-veyon-proxy --do-not-pull-image
Comment 11 Christina Scheinig univentionstaff 2024-04-23 09:10:59 CEST
Because of the increasing list of tickets at this bug I increased the "who will be affected by this bug"
Comment 12 Mirac Erdemiroglu univentionstaff 2024-05-08 06:07:14 CEST
(In reply to Mirac Erdemiroglu from comment #10)
> The update to a newer container version "could" be help.
> 
> docker pull veyon/webapi-proxy:4.8.2.17
> docker tag veyon/webapi-proxy:4.8.2.17
> docker.software-univention.de/ucsschool-veyon-proxy:4.7.4.14-0
> univention-app remove ucsschool-veyon-proxy
> univention-app install ucsschool-veyon-proxy --do-not-pull-image



We get a feedback from Ticket 2024041921000151 after they update the container version for veyon proxy to 4.8.2.17.



> Create class work - errors:
>  
> Error message when creating the class assignment
>  
> Internal server error in "schoolexam/exam/start".
> Request: schoolexam/exam/start
>
> Traceback (most recent call last):
> File
> "/usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py",
> line 259, in _run
> result = self._function(*args, **kwargs) # type: Union[BaseException, _T]
> File
> "/usr/lib/python3/dist-packages/univention/management/console/modules/schoolexam/__init__.py",
> line 784, in _thread
> Instance.set_nt_acls_on_exam_folders(my.project.getRecipients())
> File
> "/usr/lib/python3/dist-packages/univention/management/console/modules/schoolexam/__init__.py",
> line 258, in set_nt_acls_on_exam_folders
> deny_owner_change_permissions(root)
> File
> "/usr/lib/python3/dist-packages/univention/management/console/modules/schoolexam/__init__.py",
> line 125, in deny_owner_change_permissions
> lp.load_default()
> RuntimeError: Unable to load default file
>  
> Then the creation process starts again, until after the 3rd time it is 
> reported that
> such a work has already been created.
> If you click away all this and go to the classroom control, you can manage the
> manage the work.
> The first time I tried it, I activated the Internet and had a file distributed > with it.
> and that worked. So it uses the settings from the first
> attempt. The students can then also log in with their exam-account.
>  
> Completing the work:
>  
> Collecting the results, error message:
> 
>  
> The additional saved files were not collected.
>  
> End class work: Success message that the class work has been completed 
> properly
> has been completed properly. BUT: The results were not collected.
>  
> The exam users are still there, the students cannot log in with the normal 
> accounts.
> cannot log in. Funnily enough, when logging in with the K users, the class 
> exchange directory is now available
> the class exchange directory is now available, which the students can actually > access.
>  
> Honestly, from my attempt now, it looks worse than before. I
> will now clean up the class work via script...
>  
> I have one more thing: the classroom control with monitoring of the student 
> PCs is more stable now...
Comment 18 Mirac Erdemiroglu univentionstaff 2024-09-27 05:59:56 CEST
Another customer effected 2024081221000111
Comment 19 Jan-Luca Kiok univentionstaff 2024-11-11 09:10:06 CET
The products capabilities regarding the screen share performance have been improved in the last weeks, most notably via Bug 57610, Bug 57099, Bug 57631 and Bug 57604.
With the feedback we got I am going to close this bug since I feel like the improvements were enough to provide a sufficient level of performance.