Bug 33848 - Traceback in DC Backup's UDM UMC module if DC Master is down
Traceback in DC Backup's UDM UMC module if DC Master is down
Status: RESOLVED DUPLICATE of bug 38789
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: UMC maintainers
:
: 34235 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-06 11:42 CET by Dirk Wiesenthal
Modified: 2018-04-13 13:29 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 Dirk Wiesenthal univentionstaff 2014-01-06 11:42:35 CET
If the DC Master is down, LDAP is unreachable for the DC Backup. This leads to several tracebacks in UMC, e.g.:

Die Ausführung des Kommandos udm/containers ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute
    func( request )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py", line 282, in _response
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py", line 384, in _response
    for res in function(self, iterator, *nones):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/decorators.py", line 266, in _fake_func
    yield function(self, *args)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 605, in containers
    module = self._get_module( objectType, flavor )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 97, in _get_module
    return UDM_Module( module_name )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 221, in __init__
    self.load( force_reload=force_reload )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 233, in load
    self.module = _module_cache.get( module, force_reload=force_reload )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 150, in wrapper_func
    raise LDAP_ConnectionError( 'Opening LDAP connection failed: %s' % str( e ) )
LDAP_ConnectionError: Opening LDAP connection failed: {'desc': "Can't contact LDAP server"}


******
Also holds for reports (mentioned because this needs a different fix):


Die Ausführung des Kommandos udm/reports/query ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute
    func( request )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 494, in reports_query
    entries.append( entry )
AttributeError: 'Instance' object has no attribute 'reports_cfg'
Comment 1 Florian Best univentionstaff 2014-03-05 09:23:34 CET
*** Bug 34235 has been marked as a duplicate of this bug. ***
Comment 2 Florian Best univentionstaff 2015-11-20 17:34:40 CET

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