Bug 54333 - kelvin is installable on non-ucsschool systems
Summary: kelvin is installable on non-ucsschool systems
Status: CLOSED FIXED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
Version: UCS@school 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Johannes Königer
QA Contact: Carlos García-Mauriño
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-13 11:42 CET by Tobias Wenzel
Modified: 2023-10-17 13:34 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.057
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Wenzel univentionstaff 2022-01-13 11:42:49 CET
Currently the ucsschool-kelvin-rest-api can be installed on systems which do not have ucsschool 

meta-inf/4.4/ucsschool-kelvin-rest-api/ucsschool-kelvin-rest-api_20220107154847.ini

RequiredApps = 


This makes no sense as it is only installable on primary & backups and will lead to errors in the kelvin (or rather, the app is not usable in this state)

UCS: 5.0-1 errata187
Installed: 4.4/ucsschool-kelvin-rest-api=1.5.2



-> no big change, but it should be discussed in the team.
Comment 1 Daniel Tröder univentionstaff 2023-01-26 15:25:15 CET
Additionally to the app-dependency on "ucsschool" "in the domain", a pre-install script should check, that the setup wizard ran through (e.g. "udm users/user | grep -q ucsschoolStudent" or "udm settings/extended_attribute list --filter cn=ucsschoolSchool | grep -q CLIName").
Comment 4 Carlos García-Mauriño univentionstaff 2023-10-17 13:34:22 CEST
Released with Kelvin 1.9.0