Univention Bugzilla – Bug 54327
schoolrooms/put: ValidationError: IPv6 address
Last modified: 2022-08-01 16:40:30 CEST
Version: 4.4-8 errata1146 (Blumenthal) - UCS@school 4.4 v9 Error: Internal server error during "schoolrooms/put". Request: schoolrooms/put Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/schoolrooms/__init__.py", line 158, in put ldap_user_write, File "%PY2.7%/univention/management/console/modules/schoolrooms/__init__.py", line 214, in _set_teacher_computers computer.modify(ldap_user_write) File "%PY2.7%/ucsschool/lib/models/base.py", line 674, in modify success = self.modify_without_hooks(lo, validate, move_if_necessary) File "%PY2.7%/ucsschool/lib/models/computer.py", line 298, in modify_without_hooks self.create_network(lo) File "%PY2.7%/ucsschool/lib/models/computer.py", line 332, in create_network network.create(lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 608, in create success = self.create_without_hooks(lo, validate) File "%PY2.7%/ucsschool/lib/models/network.py", line 66, in create_without_hooks dns_reverse_zone.create(lo) File "%PY2.7%/ucsschool/lib/models/base.py", line 608, in create success = self.create_without_hooks(lo, validate) File "%PY2.7%/ucsschool/lib/models/base.py", line 623, in create_without_hooks raise ValidationError(self.errors.copy()) ValidationError: {'name': ['A subnet for reverse lookup consists of the first 1-3 octets of an IPv4 address (example: "192.168.0") or of the first 1 to 31 nibbles of an expanded (with leading zeroes and without ::-substitution) IPv6 address (example: "2001:0db8:010" for "2001:db8:100::/24")']} Role: domaincontroller_master