Bug 51523 - ldap/debug/level=none
ldap/debug/level=none
Status: RESOLVED DUPLICATE of bug 49354
Product: UCS
Classification: Unclassified
Component: UMC - System diagnostic
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-06-18 10:25 CEST by Florian Best
Modified: 2020-06-18 10:31 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
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 Florian Best univentionstaff 2020-06-18 10:25:49 CEST
management/univention-ldap/debian/univention-ldap-server.postinst:      ldap/debug/level?none \
management/univention-ldap/debian/univention-ldap-server.postinst:                      ucr set ldap/debug/level=none

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/__init__.py", line 280, in execute
    result = execute(umc_module, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/30_disk_usage.py", line 136, in run
    if problem_on_varlog and high_log_levels():
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/30_disk_usage.py", line 108, in high_log_levels
    return any(check(configRegistry) for check in checks)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/30_disk_usage.py", line 108, in 
    return any(check(configRegistry) for check in checks)
  File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/diagnostic/plugins/30_disk_usage.py", line 73, in 
    return lambda ucr: int(ucr.get(variable, default)) > default
ValueError: invalid literal for int() with base 10: 'none'

univention/management/console/modules/diagnostic/plugins/30_disk_usage.py:
…
        def is_high(variable, default):
                return lambda ucr: int(ucr.get(variable, default)) > default
…
                is_high('ldap/debug/level', 0),
…
Comment 1 Julia Bremer univentionstaff 2020-06-18 10:31:13 CEST
We already have a patch for that at Bug #49354

*** This bug has been marked as a duplicate of bug 49354 ***