Bug 39144 - "superordinate object not present" traceback when removing DHCP/DNS objects
"superordinate object not present" traceback when removing DHCP/DNS objects
Status: RESOLVED DUPLICATE of bug 40649
Product: UCS
Classification: Unclassified
Component: UMC - DHCP
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: UMC maintainers
:
: 33964 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-11 10:35 CEST by Florian Best
Modified: 2016-10-11 17:56 CEST (History)
2 users (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:
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 Florian Best univentionstaff 2015-08-11 10:35:51 CEST
Reported traceback, 4.0-2 errata264 (Walle)

Maybe has to do with the frontend tree reload.

Execution of command 'udm/remove navigation' has failed:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 207, 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 439, in _thread
    module.remove(ldap_dn, options.get('cleanup', False), options.get('recursive', False))
  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 522, in remove
    obj = self.module.object(None, ldap_connection, ldap_position, dn=ldap_dn, superordinate=superordinate)
  File "%PY2.7%/univention/admin/handlers/dhcp/host.py", line 128, in __init__
    raise univention.admin.uexceptions.insufficientInformation, 'superordinate object not present'
insufficientInformation: superordinate object not present
Comment 1 Florian Best univentionstaff 2015-10-26 10:53:21 CET
Another similar traceback:

Execution of command 'udm/get navigation' has failed:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 207, 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 487, in _thread
    obj = module.get(ldap_dn)
  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 630, in get
    UDM_Error(exc).reraise()
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 618, in get
    obj = self.module.object(None, ldap_connection, None, ldap_dn, superordinate, attributes=attributes)
  File "%PY2.7%/univention/admin/handlers/dhcp/subnet.py", line 137, in __init__
    raise univention.admin.uexceptions.insufficientInformation, 'superordinate object not present'
UDM_Error: Information provided is not sufficient. superordinate object not present

Version:
4.0-3 errata342 (Walle)
Comment 2 Florian Best univentionstaff 2016-03-01 10:01:07 CET
Instead of raising such an exception we could also search for the superordinate if the object exists.
Comment 3 Florian Best univentionstaff 2016-09-13 13:30:37 CEST
*** Bug 33964 has been marked as a duplicate of this bug. ***
Comment 4 Florian Best univentionstaff 2016-10-11 17:56:13 CEST

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