Univention Bugzilla – Full Text Bug Listing |
Summary: | [UDM] Traceback: Rechner in IPv4 Netzwerk mit IPv6 Adresse anlegen | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - Domain management (Generic) | Assignee: | UMC maintainers <umc-maintainers> |
Status: | RESOLVED WONTFIX | QA Contact: | |
Severity: | normal | ||
Priority: | P5 | CC: | klaeser |
Version: | UCS 4.0 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=7809 https://forge.univention.org/bugzilla/show_bug.cgi?id=34035 https://forge.univention.org/bugzilla/show_bug.cgi?id=24828 |
||
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, External feedback | |
Max CVSS v3 score: |
Description
Florian Best
2011-11-16 16:03:35 CET
Dies sollte eigentlich bei der Validierung abgefangen werden, so dass eine benutzerfreundliche Fehlermeldung mit Verweis auf das entsprechende Feld angezeigt werden kann. 4.0-1 errata142 (Walle) We received also a very similar traceback which happens adding a invalid IP address like 255.255.255.256 into the range when modifying a DHCP subnet via UMC. Die Ausführung des Kommandos udm/put dhcp/dhcp ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/notifier/threads.py", line 82, in _run tmp = self._function() File "%PY2.7%/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 408, in _thread module.modify(properties) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 163, in _decorated return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 146, in wrapper_func return _func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 139, in _func ret = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 551, in modify obj.modify() File "%PY2.7%/univention/admin/handlers/__init__.py", line 364, in modify return self._modify(modify_childs,ignore_license=ignore_license) File "%PY2.7%/univention/admin/handlers/__init__.py", line 839, in _modify ml=self._ldap_modlist() File "%PY2.7%/univention/admin/handlers/dhcp/subnet.py", line 171, in _ldap_modlist if not univention.admin.ipaddress.ip_is_in_network(self['subnet'], self['subnetmask'], j): File "%PY2.7%/univention/admin/ipaddress.py", line 51, in ip_is_in_network lip=struct.unpack('!I', socket.inet_aton(ip))[0] >> 32-int(subnetmask) error: illegal IP address string passed to inet_aton Another one I found is this: entering a IPv6 address into the DHCP range: Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/notifier/threads.py", line 82, in _run tmp = self._function() File "%PY2.7%/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 409, in _thread module.modify(properties) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 163, in _decorated return func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 146, in wrapper_func return _func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 139, in _func ret = func(*args, **kwargs) File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 551, in modify obj.modify() File "%PY2.7%/univention/admin/handlers/__init__.py", line 364, in modify return self._modify(modify_childs,ignore_license=ignore_license) File "%PY2.7%/univention/admin/handlers/__init__.py", line 839, in _modify ml=self._ldap_modlist() File "%PY2.7%/univention/admin/handlers/dhcp/subnet.py", line 166, in _ldap_modlist if i != j and univention.admin.ipaddress.is_range_overlapping(i, j): File "%PY2.7%/univention/admin/ipaddress.py", line 102, in is_range_overlapping if is_ip_in_range(range2[0], range1) or is_ip_in_range(range2[1], range1): File "%PY2.7%/univention/admin/ipaddress.py", line 94, in is_ip_in_range if int(ip_compare(ip, range[0])) < 1 and int(ip_compare(ip,range[1])) > -1: File "%PY2.7%/univention/admin/ipaddress.py", line 86, in ip_compare if int(sip1[i]) > int(sip2[i]): ValueError: invalid literal for int() with base 10: '::3' This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you. |