Bug 47055 - User-Import not possible on school slave due missing python modules
User-Import not possible on school slave due missing python modules
Status: RESOLVED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
UCS@school 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-23 16:43 CEST by Tobias Birkefeld
Modified: 2020-07-10 12:47 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Birkefeld univentionstaff 2018-05-23 16:43:16 CEST
Following traceback is shown after opening the umc modul "Benutzerimport" at a school slave:

Traceback (most recent call last): 
ImportError: No module named importer.utils.ldap_connection 
    from ucsschool.importer.utils.ldap_connection import get_machine_connection 
  File "/usr/lib/pymodules/python2.7/ucsschool/http_api/client.py", line 54, in <module> 
    from ucsschool.http_api.client import Client, ConnectionError, PermissionError, ObjectNotFound, ServerError 
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/schoolimport/__init__.py", line 47, in <module>

    self.__module = __import__(file_, [], [], modname) 
  File "/usr/lib/pymodules/python2.7/univention/management/console/protocol/modserver.py", line 101, in _load_module 

Following package were installed:
univention-install ucs-school-umc-import

UCS Version: 4.2-3 errata313 (Lesum)

It's look like there are some missing python modules from "ucs-school-import-http-api".
Comment 1 Daniel Tröder univentionstaff 2018-05-23 18:55:29 CEST
ucsschool/importer/utils/ldap_connection.py is in package ucs-school-import. That package will indeed not be installed on a DC slave.
We'll have to see, how it can be moved to a ..-python or ..-common package.
Comment 2 Daniel Tröder univentionstaff 2018-05-23 21:45:39 CEST
I just remembered: The UMC-Module has been _design_ to be installed on the DC master only.

I changed the bug to be a feature request.
Comment 3 Michel Smidt 2020-07-10 12:47:45 CEST
This issue has been filed against UCS@school 4.2.

UCS@school 4.2 is out of maintenance and many UCS@school components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS@school versions, please reopen it and update the UCS@school version. In this case please provide detailed information on how this issue is affecting you.