Bug 53570 - univention.management.console.modules.computerroom.room_management.ComputerRoomError: Unknown IP address
univention.management.console.modules.computerroom.room_management.ComputerRo...
Status: RESOLVED DUPLICATE of bug 53624
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room
UCS@school 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-07-13 11:34 CEST by Christian Castens
Modified: 2021-08-03 07:35 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: 2021071221000583
Bug group (optional): Error handling, 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 Christian Castens univentionstaff 2021-07-13 11:34:51 CEST
Version: 5.0-0 errata44

Error:
Interner Server-Fehler in "computerroom/query".
Request: computerroom/query

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/ucsschool/lib/school_umc_ldap_connection.py", line 155, in wrapper_func
    return func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/computerroom/__init__.py", line 534, in query
    result = [computer.dict for computer in self._computerroom.values()]
  File "%PY3%/univention/management/console/modules/computerroom/__init__.py", line 534, in <listcomp>
    result = [computer.dict for computer in self._computerroom.values()]
  File "%PY3%/univention/management/console/modules/computerroom/room_management.py", line 526, in dict
    "ip": self.ipAddress,
  File "%PY3%/univention/management/console/modules/computerroom/room_management.py", line 453, in ipAddress
    raise ComputerRoomError("Unknown IP address")
univention.management.console.modules.computerroom.room_management.ComputerRoomError: Unknown IP address

Role: domaincontroller_master

Errno: 5af1cdf0d0547a6a4efd9ab31a4d489d
Comment 1 Florian Best univentionstaff 2021-07-13 12:02:39 CEST
Happens when opening the computerroom module and the selected room contains an computer without an IP address.
Comment 2 Florian Best univentionstaff 2021-08-03 07:35:59 CEST

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