Bug 47882 - Internal server error during "udm/query (dhcp/dhcp)"
Internal server error during "udm/query (dhcp/dhcp)"
Status: NEW
Product: UCS
Classification: Unclassified
Component: DHCP
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-28 15:24 CEST by Nico Gulden
Modified: 2021-01-26 12:10 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018092821000547, 2021010821000762
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 Nico Gulden univentionstaff 2018-09-28 15:24:35 CEST
UCS Version: 4.3-2 errata257 (Neustadt)

Internal server error during "udm/query (dhcp/dhcp)".
TypeError: argument 1 must be string, not object
    result = func(*args,**kwargs)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call
    timeout,sizelimit,
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 586, in search_ext
    msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 590, in search_ext_s
    return func(self,*args,**kwargs)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 931, in _apply_method_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 993, in search_ext_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 597, in search_s
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "/usr/lib/pymodules/python2.7/univention/uldap.py", line 273, in get
    return self.lo.get(dn, attr, required)
  File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 656, in get
    if superordinate and not ldap_connection.get(superordinate):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 499, in search
    result = func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/management/console/ldap.py", line 143, in _decorated
    return method(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/udm_ldap.py", line 84, in _decorated
    result = module.search(container, objectProperty, objectPropertyValue, superordinate, scope=scope, hidden=hidden)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/udm/__init__.py", line 595, in _thread
    return self._function( *tmp, **self._kwargs )
  File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__
    tmp = self._function()
  File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 78, in _run

Request: udm/query (dhcp/dhcp)
Internal server error during "udm/query (dhcp/dhcp)".
Comment 1 Christian Castens univentionstaff 2021-01-26 12:10:43 CET
reported again
Version: 4.4-7 errata863 (Blumenthal)

Error:
Internal server error during "udm/object/policies (dhcp/dhcp)".
Request: udm/object/policies (dhcp/dhcp)

  File "%PY2.7%/notifier/threads.py", line 80, in _run
    result = 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 1175, in _thread
    object_dn, container_dn, obj = _get_object_parts(ioptions)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1165, in _get_object_parts
    _obj = _get_object(_object_dn, _module)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 1144, in _get_object
    _obj = _module.get(_dn)
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 724, in get
    if superordinate and not ldap_connection.get(superordinate):
  File "%PY2.7%/univention/admin/uldap.py", line 710, in get
    return self.lo.get(dn, attr, required)
  File "%PY2.7%/univention/uldap.py", line 207, in _decorated
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/uldap.py", line 438, in get
    result = self.lo.search_s(dn, ldap.SCOPE_BASE, '(objectClass=*)', attr)
  File "%PY2.7%/ldap/ldapobject.py", line 597, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "%PY2.7%/ldap/ldapobject.py", line 993, in search_ext_s
    return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs)
  File "%PY2.7%/ldap/ldapobject.py", line 931, in _apply_method_s
    return func(self,*args,**kwargs)
  File "%PY2.7%/ldap/ldapobject.py", line 590, in search_ext_s
    msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit)
  File "%PY2.7%/ldap/ldapobject.py", line 586, in search_ext
    timeout,sizelimit,
  File "%PY2.7%/ldap/ldapobject.py", line 106, in _ldap_call
    result = func(*args,**kwargs)
TypeError: argument 1 must be string, not object

Role: domaincontroller_master