Bug 49158

Summary: Migrate management/univention-management-console-module-top to dh_python2
Product: UCS Reporter: Florian Best <best>
Component: GeneralAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Johannes Keiser <keiser>
Severity: normal    
Priority: P5 CC: requate
Version: UCS 4.4   
Target Milestone: UCS 4.4-2-errata   
Hardware: All   
OS: Linux   
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:
Bug Depends on: 49161    
Bug Blocks: 28497    

Description Florian Best univentionstaff 2019-03-28 10:27:00 CET
The package management/univention-management-console-module-top should be migrated to use dh_python instead of python-support.

Migration-Guide: https://hutten.knut.univention.de/mediawiki/index.php/Python_DebHelper_Migration
Comment 1 Florian Best univentionstaff 2019-10-08 17:42:30 CEST
Fixed in:

univention-management-console-module-top (8.0.1-2)
4afd65a99fc2 | Bug #49158: migrate to dh_python

univention-management-console-module-top.yaml
4afd65a99fc2 | Bug #49158: migrate to dh_python
Comment 2 Florian Best univentionstaff 2019-10-10 09:38:07 CEST
The jenkins test fails with:
UMC request failed: 592 on slave074.autotest074.local (command/top/query): {"status": 592, "message": "Das angefragte Modul 'top' existiert nicht.\nDas Modul k\u00f6nnte k\u00fcrzlich entfernt worden sein.\nBitte erneut an der Univention Management Console einloggen um zu sehen, ob der Fehler bestehen bleibt.\nWeitere Informationen k\u00f6nnen der Protokolldatei /var/log/univention/management-console-module-top.log entnommen werden.", "traceback": null, "location": "https://slave074.autotest074.local/univention/command"}

Maybe we need a UMC-Server restart after Bug #49161 migrates the structure.
Comment 3 Florian Best univentionstaff 2019-10-11 13:02:24 CEST
(In reply to Florian Best from comment #2)
> The jenkins test fails with:
> UMC request failed: 592 on slave074.autotest074.local (command/top/query):
> {"status": 592, "message": "Das angefragte Modul 'top' existiert nicht.\nDas
> Modul k\u00f6nnte k\u00fcrzlich entfernt worden sein.\nBitte erneut an der
> Univention Management Console einloggen um zu sehen, ob der Fehler bestehen
> bleibt.\nWeitere Informationen k\u00f6nnen der Protokolldatei
> /var/log/univention/management-console-module-top.log entnommen werden.",
> "traceback": null, "location":
> "https://slave074.autotest074.local/univention/command"}
> 
> Maybe we need a UMC-Server restart after Bug #49161 migrates the structure.

This was an interim bug which has been fixed in the latest version.
Comment 4 Johannes Keiser univentionstaff 2019-11-08 11:21:09 CET
OK code changes
OK module import
OK dpkg -L
OK UMC module
OK yaml (c3dd0fe4a5 Bug #49158: yaml)
-> verified
Comment 5 Erik Damrose univentionstaff 2019-11-13 16:04:32 CET
<http://errata.software-univention.de/ucs/4.4/337.html>