Bug 53232 - Exam cleanup script cron job is wrong on singleserver installations
Summary: Exam cleanup script cron job is wrong on singleserver installations
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: UMC - Exam mode
Version: UCS@school 4.4
Hardware: Other Mac OS X 10.1
: P5 normal
Target Milestone: UCS@school 5.0 v5-errata
Assignee: Alexander Steffen
QA Contact: Johannes Königer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-06 15:45 CEST by Ole Schwiegert
Modified: 2024-09-13 15:43 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID: 08505
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 2021-05-06 15:45:18 CEST
On UCS@school singleserver environments the packages ucs-school-umc-master and ucs-school-umc are installed. They provide a cronjob that cleans up the exam mode.

Due to the fact that some cleanup tasks cannot be performed on the primary node, the genrated cronjob in the master package has skip statements for the cleanup job:

ucsschool/exam/cron/cleanup-master/options: --skip-exam-shutdown --skip-ucr-cleanup --skip-exam-cleanup --skip-room-cleanup
ucsschool/exam/cron/cleanup-master: 30 3 * * *
ucsschool/exam/cron/cleanup/options: <empty>
ucsschool/exam/cron/cleanup: <empty>

On singleservers there should be no skips since all jobs can be performed. That has to be fixed.
Comment 1 Silke Meyer univentionstaff 2023-12-06 15:43:13 CET
Hi, could you please let me know if this is still a problem in ucs@school 5.0 and/or if it will be fixed in 5.0 or 5.2? For the customer we are talking about this bug means that the exam cleanup is broken on all installations as they only have single server installations.
Comment 2 Jan-Luca Kiok univentionstaff 2023-12-15 14:25:17 CET
Created issue in GitLab for this bug at: https://git.knut.univention.de/univention/ucsschool/-/issues/1170
Comment 3 Alexander Steffen univentionstaff 2024-08-07 10:06:11 CEST
Fixed for 4.4 with Version 9.0.1-58
Fixed for 5.0 with Version 10.0.13
Comment 4 Alexander Steffen univentionstaff 2024-08-22 14:07:50 CEST
(In reply to Alexander Steffen from comment #3)
> Fixed for 4.4 with Version 9.0.1-58
> Fixed for 5.0 with Version 10.0.13

Actual fixed version for 4.4 is Version 9.0.1-59
Comment 5 Jürn Brodersen univentionstaff 2024-09-13 15:43:56 CEST
Errata updates for UCS@school 5.0 v5 have been released.

https://docs.software-univention.de/ucsschool-changelog/5.0v5/en/changelog.html
https://docs.software-univention.de/ucsschool-changelog/5.0v5/de/changelog.html

If this error occurs again, please clone this bug.