Bug 58446 - Add more verbosity to 58_univentionObjectIdentifier diagnostic plugin
Summary: Add more verbosity to 58_univentionObjectIdentifier diagnostic plugin
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC - System diagnostic
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.2-2-errata
Assignee: Florian Best
QA Contact: Arvid Requate
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-02 15:14 CEST by Florian Best
Modified: 2025-07-09 18:27 CEST (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):
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 Florian Best univentionstaff 2025-07-02 15:14:56 CEST
The diagnostic module "58_univentionObjectIdentifier" prints only the number of objects which are lacking a univentionObjectIdentifer.

It should show every object, which will be migrated.

Additionally it should not implement the logic twice, but just call the existing script: 
/usr/share/univention-ldap/univention-update-univention-object-identifier with a newly added --dry-run parameter.
Comment 1 Arvid Requate univentionstaff 2025-07-02 17:48:27 CEST
3c8a5b77a8f | feat(ldap): add dry-run in univention-update-univention-object-identifier
05f3d8fc56d | feat(diagnostic): add verbose information in 58_univentionObjectIdentifier diagnostic script


Package: univention-ldap
Version: 18.2.5
Branch: 5.2-0
Scope: errata5.2-2

Package: univention-management-console-module-diagnostic
Version: 8.2.2
Branch: 5.2-0
Scope: errata5.2-2
Comment 2 Arvid Requate univentionstaff 2025-07-02 17:53:35 CEST
Verified:
* Code review
* Package update
* Functionality
* Advisory
Comment 3 Florian Best univentionstaff 2025-07-03 08:36:43 CEST
univention-update-univention-object-identifier now offers a --dry-run option, which prints the missing objects and what would be set.

The diagnostic module now calls univention-update-univention-object-identifier --dry-run to detect missing migrations (instead of searching with a duplicated filter).

univention-management-console-module-diagnostic.yaml
05f3d8fc56d1 | feat(diagnostic): add verbose information in 58_univentionObjectIdentifier diagnostic script

univention-management-console-module-diagnostic (8.2.2)
05f3d8fc56d1 | feat(diagnostic): add verbose information in 58_univentionObjectIdentifier diagnostic script

univention-ldap.yaml
3c8a5b77a8fc | feat(ldap): add dry-run in univention-update-univention-object-identifier

univention-ldap (18.2.5)
3c8a5b77a8fc | feat(ldap): add dry-run in univention-update-univention-object-identifier