Univention Bugzilla – Bug 53685
ValueError: '' does not appear to be an IPv4 or IPv6 address
Last modified: 2023-03-29 12:41:09 CEST
Version: 5.0-0 errata68 Remark: Sigh .. why is it always .... Error: Internal server error during "udm/put (computers/computer)". Request: udm/put (computers/computer) 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/udm/__init__.py", line 442, in _thread module.modify(properties) File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 647, in modify self._map_properties(obj, ldap_object) File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 513, in _map_properties obj[property_name] = property_obj.syntax.parse(value) File "%PY3%/univention/admin/handlers/__init__.py", line 3300, in __setitem__ if not ips or ip_address(u'%s' % (ip1,)) not in subnet: File "/usr/lib/python3.7/ipaddress.py", line 54, in ip_address address) ValueError: '' does not appear to be an IPv4 or IPv6 address Role: domaincontroller_master
Version: 5.0-0 errata158
Today we get the same error-message when we try to change the IP-Adress of a client and press "Speichern" (Save) When leaving the field "Netzwerk" (network) empty, the saving is possible. UCS-Version: 5.0-1 errata292 UMC-Version: 12.0.12-22A~5.0.0.202204041241
Interner Server-Fehler in "udm/put (computers/computer)". Request: udm/put (computers/computer) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/notifier/threads.py", line 80, in _run result = self._function() File "/usr/lib/python3/dist-packages/notifier/__init__.py", line 105, in __call__ return self._function(*tmp, **self._kwargs) File "/usr/lib/python3/dist-packages/univention/management/console/modules/udm/__init__.py", line 442, in _thread module.modify(properties) File "/usr/lib/python3/dist-packages/univention/management/console/modules/udm/udm_ldap.py", line 647, in modify self._map_properties(obj, ldap_object) File "/usr/lib/python3/dist-packages/univention/management/console/modules/udm/udm_ldap.py", line 513, in _map_properties obj[property_name] = property_obj.syntax.parse(value) File "/usr/lib/python3/dist-packages/univention/admin/handlers/__init__.py", line 3321, in __setitem__ if not ips or ip_address(u'%s' % (ip1,)) not in subnet: File "/usr/lib/python3.7/ipaddress.py", line 54, in ip_address address) ValueError: '' does not appear to be an IPv4 or IPv6 address
A way to reproduce the error: - Create a client with 2 MAC-adresses with a network, ip-adress, DNS-Zones, DHCP - Change the network and try to save - The error should occur Workaround: - Delete one MAC-adress with ip-adress, DNS-Zones, DHCP AND also change the network before saving - Saving should be possible - Now changing of the network is possible (with only one MAC-adress) - Adding a second MAC-adress (ip-adress, DNS-Zones, DHCP) after changing the network
Version: 5.0-3 errata614 Error: Internal server error during "udm/put (computers/computer)". Request: udm/put (computers/computer) 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/udm/__init__.py", line 449, in _thread module.modify(properties) File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 640, in modify self._map_properties(obj, ldap_object) File "%PY3%/univention/management/console/modules/udm/udm_ldap.py", line 506, in _map_properties obj[property_name] = property_obj.syntax.parse(value) File "%PY3%/univention/admin/handlers/__init__.py", line 3336, in __setitem__ if not ips or ip_address(u'%s' % (ip1,)) not in subnet: File "/usr/lib/python3.7/ipaddress.py", line 54, in ip_address address) ValueError: '' does not appear to be an IPv4 or IPv6 address Role: domaincontroller_master