Bug 43298

Summary: Missing dependency of python-u-d-m to python-u-license
Product: UCS Reporter: Janek Walkenhorst <walkenhorst>
Component: UDM (Generic)Assignee: Janek Walkenhorst <walkenhorst>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: best
Version: UCS 4.1   
Target Milestone: UCS 4.1-4-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103 Enterprise Customer affected?: Yes
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 43257, 43299    

Description Janek Walkenhorst univentionstaff 2017-01-05 12:47:20 CET
python-u-license is not always installed (e.g. on memberserver), because it is only recommended by
 u-server-master
 u-server-backup
and required by
 python-u-connector
 python-u-connector-ad
 python-u-connector-s4

This leads to the provided API u.admin.license breaking some times:
  > import univention.admin.license
  Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/univention/admin/license.py", line 36, in <module>
     import univention.license
  ImportError: No module named license

We should add a dependency on python-u-license to python-u-d-m to make the behavior more consistent.

This occurred on some memberserver systems with Bug #43257
Comment 1 Janek Walkenhorst univentionstaff 2017-01-06 13:53:51 CET
univention-directory-manager-modules.yaml
fix: 11.0.3-54.1449.201701061249
* Add missing dependency python-univention-license to fix error when
  using the univention.admin.license Python module
Comment 2 Florian Best univentionstaff 2017-01-09 15:39:21 CET
OK: added dependency
~OK: YAML
Comment 3 Florian Best univentionstaff 2017-01-10 11:19:20 CET
Please merge to UCS 4.2. Also Bug #43257.
Comment 4 Janek Walkenhorst univentionstaff 2017-01-11 11:37:54 CET
(In reply to Florian Best from comment #3)
> Please merge to UCS 4.2. Also Bug #43257.
r75677
Comment 5 Florian Best univentionstaff 2017-01-11 11:42:00 CET
OK: merge to UCS 4.2
Comment 6 Janek Walkenhorst univentionstaff 2017-01-11 12:19:35 CET
<http://errata.software-univention.de/ucs/4.1/375.html>