Bug 52229 - 34univention-self-service.inst fails if "cn=UMC,cn=policies,$ldap_base" does not exist
34univention-self-service.inst fails if "cn=UMC,cn=policies,$ldap_base" does ...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Jürn Brodersen
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-10-16 12:41 CEST by Jürn Brodersen
Modified: 2021-05-25 15:59 CEST (History)
2 users (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 Jürn Brodersen univentionstaff 2020-10-16 12:41:27 CEST
34univention-self-service.inst fails if "cn=UMC,cn=policies,$ldap_base" does not exist

Happened in the tests today:
"""
Configure 34univention-self-service.inst Fri Oct 16 01:30:29 CEST 2020
2020-10-16 01:30:29.149420230+02:00 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=AutoTest091,dc=local
Object created: cn=univention-self-service,cn=services,cn=univention,dc=AutoTest091,dc=local
Object modified: cn=master091,cn=dc,cn=computers,dc=AutoTest091,dc=local
LDAP Error: No such object
"""


Might have something to do with bug 52211 or bug 51624

It probably worked before because usually some other join script had created that container earlier.
Comment 1 Florian Best univentionstaff 2020-10-19 10:03:13 CEST
(In reply to Jürn Brodersen from comment #0)
> Might have something to do with bug 52211 or bug 51624
Bug #52211 did not change any semantics and even not the univention-self-service package.
Comment 2 Jürn Brodersen univentionstaff 2020-10-20 13:17:28 CEST
Tests work again

[5.0-0 e5aca9e45d] Bug #52229: Ensure "cn=UMC,cn=policies,$ldap_base" has been created
Comment 3 Philipp Hahn univentionstaff 2020-10-29 17:32:06 CET
OK: e5aca9e45d
OK: apt install univention-self-service{master,}
OK: univention-check-join-status
OK: univention-ldapsearch -LLLo ldif-wrap=no cn=UMC
Comment 4 Florian Best univentionstaff 2021-05-25 15:59:36 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

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