Bug 50459 - Joining a member container into a master container fails
Summary: Joining a member container into a master container fails
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-06 16:47 CET by Dirk Wiesenthal
Modified: 2025-02-05 09:29 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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):
Customer ID:
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 2019-11-06 16:47:06 CET
When using UCS Docker Images according to these instructions:
https://hub.docker.com/r/univention/ucs-master-amd64
https://hub.docker.com/r/univention/ucs-member-amd64
to join a Memberserver, the join fails.

System setup starts up, and can be used without issues. But the last step, the join, fails with:


Domäneneinrichtung (Dies kann einige Zeit dauern): Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- FAILED: 92univention-management-console-web-server.inst
Configure 92univention-management-console-web-server.inst Wed Nov  6 16:26:59 CET 2019
sh: 0: getcwd() failed: No such file or directory
2019-11-06 16:27:00.060902646+01:00 (in joinscript_init)
W: The config registry variable 'ucs/web/overview/entries/admin/umc/icon' does not exist
W: The config registry variable 'ucs/web/overview/entries/admin/umc/link' does not exist
W: The config registry variable 'ucs/web/overview/entries/admin/umc/link/de' does not exist
W: The config registry variable 'ucs/web/overview/entries/admin/umc/priority' does not exist
W: The config registry variable 'ucs/web/overview/entries/admin/umc/label' does not exist
W: The config registry variable 'ucs/web/overview/entries/admin/umc/label/de' does not exist
W: The config registry variable 'ucs/web/overview/entries/admin/umc/description' does not exist
W: The config registry variable 'ucs/web/overview/entries/admin/umc/description/de' does not exist
Object created: SAMLServiceProviderIdentifier=https://member1.testdomain.intranet/univention/saml/metadata,cn=saml-serviceprovider,cn=univention,dc=testdomain,dc=intranet
sh: 0: getcwd() failed: No such file or directory
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python2.7/dist-packages/saml2/metadata.py", line 3, in 
    from saml2.sigver import security_context
  File "/usr/lib/python2.7/dist-packages/saml2/sigver.py", line 8, in 
    from OpenSSL import crypto
  File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in 
    from OpenSSL import rand, crypto, SSL
  File "/usr/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 13, in 
    from cryptography.hazmat.primitives.asymmetric import dsa, rsa
  File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/primitives/asymmetric/rsa.py", line 14, in 
    from cryptography.hazmat.backends.interfaces import RSABackend
  File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/__init__.py", line 7, in 
    import pkg_resources
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3019, in 
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 646, in _build_master
    ws = cls()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 639, in __init__
    self.add_entry(entry)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 695, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1994, in find_on_path
    path_item = _normalize_cached(path_item)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2205, in _normalize_cached
    _cache[filename] = result = normalize_path(filename)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2198, in normalize_path
    return os.path.normcase(os.path.realpath(filename))
  File "/usr/lib/python2.7/posixpath.py", line 376, in realpath
    return abspath(path)
  File "/usr/lib/python2.7/posixpath.py", line 364, in abspath
    cwd = os.getcwd()
OSError: [Errno 2] No such file or directory



**************************************************************************
* Join failed!                                                           *
* Contact your system administrator                                      *
**************************************************************************
* Message:  Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- FAILED: 92univention-management-console-web-server.inst
**************************************************************************
Comment 1 Dirk Wiesenthal univentionstaff 2019-12-09 11:34:44 CET
Still true for 4.4-3. This time I tried to join a DC Slave Container.
Comment 2 Jan-Luca Kiok univentionstaff 2025-02-05 09:29:09 CET
This issue has been filed against UCS 4.4.

UCS 4.4 is out of maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer versions, please use "Clone this bug" or reopen this issue. In this case please provide information on how this issue is affecting you.