Missing Python Module univention.udm.exceptions
Prevents UMC Server Initialization in Nubus Version 1.9.1
Description
In Nubus version 1.9.1, the UMC server fails to start due to a missing Python module: univention.udm.exceptions
. This results in an inability to import the core UDM module, which is crucial for administrative and user management tasks. As a consequence, the UMC backend does not initialize properly, leading to functional degradation.
Environment
- Product: Nubus for Kurbenetes
- Version: 1.9.1
- Component: UMC Server (
ums-umc-server-pod
) - Namespace:
$NAMESPACE
- Runtime: Kubernetes (
kubectl
) - Container:
umc-server
(default)
Attachments / Logs
Log Snippet:
16.06.25 11:24:08.792 DEBUG_INIT
16.06.25 11:24:09.262 ADMIN ( WARN ) : Failed to import univention.lib.admember
16.06.25 11:24:09.887 MODULE ( ERROR ) : Could not load udm module: No module named 'univention.udm.exceptions'
Root Cause
This issue is tracked and documented in the official Univention bug tracker:
Bug #58405 - Missing Python Module univention.udm.exceptions
Steps to Reproduce
-
Deploy Nubus version 1.9.1 in a Kubernetes environment.
-
Run the following command to retrieve UMC server logs:
kubectl logs -n $NAMESPACE ums-umc-server-pod
-
Alternatively, test the module import directly inside the container:
kubectl exec -it ums-umc-server-pod -- python3 -c "import univention.udm.exceptions"
Actual Results
Log Output:
16.06.25 11:24:09.887 MODULE ( ERROR ) : Could not load udm module: No module named 'univention.udm.exceptions'
Manual Import Output:
ModuleNotFoundError: No module named 'univention.udm.exceptions'
Stack Trace:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/univention/udm/__init__.py", line 108, in <module>
from .exceptions import (
ModuleNotFoundError: No module named 'univention.udm.exceptions'
Expected Results
The umc-server
container should successfully import the univention.udm.exceptions
module without raising an exception. This ensures that UDM modules load properly and all user and system management capabilities remain fully operational.
Impact
- Administrative functionality in UMC is likely non-functional or severely degraded.
- Operations involving user provisioning, authentication, or third-party integration may fail.
- General system management via UDM is disrupted.
Suggested Actions
- Verify that the
univention.udm
Python package is present and intact in theumc-server
image. - Confirm that all dependencies were properly installed during the image build or container initialization process.
- Cross-reference the issue with official Univention bug tracking resources.