Bug 54656 - quota/partitions/activate: unsupported operand type(s) for ^: 'bool' and 'NoneType'
quota/partitions/activate: unsupported operand type(s) for ^: 'bool' and 'Non...
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: 2022-04-08 14:57 CEST by Maximilian Janßen
Modified: 2022-04-08 14:57 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
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: 2022040721000382
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2022-04-08 14:57:26 CEST
Version: 5.0-1 errata279

Remark: Can't activate quota in partition /dev/sdf1

Error: 
Internal server error during "quota/partitions/activate".
Request: quota/partitions/activate

Traceback (most recent call last):
  File "%PY3%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY3%/notifier/__init__.py", line 105, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY3%/univention/management/console/modules/quota/tools.py", line 185, in _do_activate_quota
    status = _do_activate_quota_partition(fs, fstab_entry, activate)
  File "%PY3%/univention/management/console/modules/quota/tools.py", line 209, in _do_activate_quota_partition
    if not (activate ^ quota_enabled):
TypeError: unsupported operand type(s) for ^: 'bool' and 'NoneType'

Role: memberserver