Bug 52632 - Migrate ucs-school-webproxy to Python 3
Migrate ucs-school-webproxy to Python 3
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v1
Assigned To: Florian Best
Felix Botner
: interim-3
Depends on:
Blocks: 52578
  Show dependency treegraph
 
Reported: 2021-01-12 15:24 CET by Florian Best
Modified: 2021-11-29 17:20 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 Florian Best univentionstaff 2021-01-12 15:24:36 CET
The package ucs-school-webproxy needs to be migrated to Python 3.

See: https://hutten.knut.univention.de/mediawiki/index.php/Python_3_Migration
Comment 1 Florian Best univentionstaff 2021-06-19 05:03:44 CEST
Migrated the listener and univention-reload-service to Python 3.

ucs-school-webproxy (16.0.3)
4b05e45c44ae | Bug #52632: migrate ucs-school-webproxy to Python 3
9f44e02c97e2 | Bug #52632: Migrate pupilgroups.py listener to Python 3
Comment 3 Felix Botner univentionstaff 2021-08-19 15:03:55 CEST
OK - univention-reload-service
2021-08-18 17:51:32+0200 Reloading 'squid' in 0.000000 s
2021-08-18 17:51:32+0200 Reloading 'squid' now
2021-08-18 17:51:34+0200 Reloading 'squid' in 13.809558 s
2021-08-18 17:51:47+0200 Reloading 'squid' now

OK - pupilgroups.py
-> ucr get proxy/filter/usergroup/school1-1a 
s1,s2,s3
-> ucr get proxy/filter/usergroup/school1-1a 
s1,s2

OK - squid/squidGard
-> curl --proxy http://10.200.7.124:3128 www.google.de
Cache Access Denied
-> curl --proxy http://s1:univention@10.200.7.124:3128 www.google.de
OK
-> curl --proxy http://s1:WRONGPASSWORD@10.200.7.124:3128 www.google.de
Cache Access Denied
-> echo www.google.de >> /var/lib/ucs-school-webproxy/blocked
-> ucr set proxy/filter/global/blacklists/domains=blocked
-> curl --proxy http://s1:univention@10.200.7.124:3128 www.google.de
GESPERRTE SEITE
Comment 4 Jürn Brodersen univentionstaff 2021-11-29 17:20:18 CET
UCS@school 5.0 v1 has been released.

https://docs.software-univention.de/release-notes-ucsschool-5.0v1-de.html

If this error occurs again, please clone this bug.