Bug 25281 - Could not find an UDM module for the superordinate object
Could not find an UDM module for the superordinate object
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 4.0-1-errata
Assigned To: Florian Best
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-07 15:03 CET by Florian Best
Modified: 2015-03-23 13:48 CET (History)
5 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, Usability
Max CVSS v3 score:


Attachments
Screenshot (85.36 KB, image/png)
2015-03-18 11:47 CET, Florian Best
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2011-12-07 15:03:13 CET
Wenn man sich innerhalb einer Superordinate befindet (z.b. DHCP Service), während man in einem anderem Tab diese löscht kommt folgender Traceback, weil sich die Ansicht von selbst aktualisiert, nun aber das Übergeordnete Objekt nicht mehr finden kann.

File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 81, in _run
tmp = self._function()
File '/usr/lib/pymodules/python2.6/notifier/__init__.py', line 104, in __call__
return self._function( *tmp, **self._kwargs )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 412, in _thread
raise UMC_OptionTypeError( _( 'Could not find an UDM module for the superordinate object %s' ) % superordinate )

UMC_OptionTypeError: Es konnte kein UDM-Modul f�r das �bergeordnete Objekt cn=fooDHCP,cn=dhcp,dc=ucs,dc=test gefunden werden
Comment 1 Dirk Wiesenthal univentionstaff 2014-01-14 13:17:42 CET
Als Traceback-Feedback aufgetaucht

 Traceback:
  File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File
"/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line
485, in _thread
    raise UMC_OptionTypeError( _( 'Could not find an UDM module for the superordinate
object %s' ) % superordinate )

UMC_OptionTypeError: Es konnte kein UDM-Modul für das übergeordnete Objekt
cn=XXX.dev,cn=dhcp,dc=XXX,dc=dev gefunden werden
Comment 2 Florian Best univentionstaff 2014-09-01 10:59:47 CEST
Reported by feedback.
Remark:
Nach dem Löschen einer DNS-Zone erscheint die Fehlermeldung, dass kein Modul für das
Objekt der gelöschten DNS Zone gefunden werden konnte.
Comment 3 Florian Best univentionstaff 2014-12-08 11:22:22 CET
reported again, 4.0-0 errata0 (Walle):

UMC_OptionTypeError: Es konnte kein UDM-Modul für das übergeordnete Objekt
zoneName=**.***.com,cn=dns,dc=office,dc=****,dc=com gefunden werden
Comment 4 Florian Best univentionstaff 2014-12-16 12:06:53 CET
I guess we need to fix Bug #30809 for this.
Comment 5 Florian Best univentionstaff 2015-01-09 10:18:22 CET
With UCS 4.0-0 errata 18 this error will not occur as traceback anymore. Nevertheless there seems to be a error in the frontend. (browser related?)
Bug #25281/Bug #30809: after removing a superordinate the tree gets reloaded with a not existing DN sent to the server.
Bug #34245: an empty DN is sent when creating a superordinate object.
Bug #36918: an empty superordinate-DN is sent when creating a object.
Comment 6 Florian Best univentionstaff 2015-01-12 13:41:13 CET
@Alex: The old summary is better for the search as the string is wrong in the code.
Comment 7 Stefan Gohmann univentionstaff 2015-03-12 07:25:14 CET
Is this issue still reported?
Comment 8 Florian Best univentionstaff 2015-03-13 10:32:44 CET
(In reply to Stefan Gohmann from comment #7)
> Is this issue still reported?
The traceback can't be reported anymore with UCS 4.0-0-errata~60. There have not been a traceback report with a older version anymore.

I just found the problem here, why this error could occur:
We are creating DNS host records and pointer records without univentionObjectType in simpleComputer. That causes that specific code can't identify the object as DNS object. This specific problem was fixed (for new installations) in Bug #37504 (svn r58940). The problem still exists for DHCP entries.
Comment 9 Florian Best univentionstaff 2015-03-18 11:47:01 CET
Created attachment 6770 [details]
Screenshot

I know exactly how to reproduce now:
1. Open two DNS tabs
2. In the first tab click in the tree on one zone
3. In the second tab display the zone overview (default) and remove that zone there
→ Then the error will occur (since UCS 4.0-0 errata 18 only with an error message, see screenshot)
Comment 10 Florian Best univentionstaff 2015-03-18 13:47:38 CET
I close this as WORKSFORME as we have more userfriendly error message now (instead of tracebacks), which is enough I think. REOPEN if we should disable the automatic reload of the tree/search in the case there are multiple tabs opened.
Comment 11 Stefan Gohmann univentionstaff 2015-03-19 08:23:11 CET
It is now better because a traceback is no longer shown. The error message could be improved for example a new search doesn't help if the deleted superordinate is selected, but I think we should first do more important issues in the DNS / DHCP modules.