Bug 53550 - Missing error handling in quota.py listener
Missing error handling in quota.py listener
Status: NEW
Product: UCS
Classification: Unclassified
Component: Quota
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-07-06 09:48 CEST by Florian Best
Modified: 2022-03-08 09:29 CET (History)
0 users

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): Error handling
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 2021-07-06 09:48:21 CEST
1 times in /var/log/univention/listener.log:

https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/job/AutotestJoin/SambaVersion=s4,Systemrolle=member/ws/test/listener.log

Traceback (most recent call last):
  File "/usr/lib/univention-directory-listener/system/quota.py", line 265, in postrun
    policy_result = univention.lib.policy_result.policy_result(dn)[0]
  File "/usr/lib/python3/dist-packages/univention/lib/policy_result.py", line 66, in policy_result
    raise PolicyResultFailed("Error getting univention-policy-result for '%(dn)s': %(error)s" % {'dn': dn, 'error': stderr.decode('utf-8', 'replace')}, returncode=p.returncode)
univention.lib.policy_result.PolicyResultFailed: Error getting univention-policy-result for 'cn=5y7eG8SS,cn=member097.autotest097.local,cn=shares,dc=autotest097,dc=local': LDAP Error: No such object