Bug 56713 - setup/check/join_info (wizard): socket.gaierror: [Errno -2] Name or service not known
setup/check/join_info (wizard): socket.gaierror: [Errno -2] Name or service n...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Join (univention-join)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-06 11:52 CEST by Mika Westphal
Modified: 2023-10-06 11:54 CEST (History)
0 users

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: 2023100321000321, 2023100321000303
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 Mika Westphal univentionstaff 2023-10-06 11:52:39 CEST
Internal server error during "setup/check/join_info (wizard)".
Request: setup/check/join_info (wizard)

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 387, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 285, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 478, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 189, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 602, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 444, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/setup/__init__.py", line 799, in check_domain_join_information
    domain = util.check_credentials_ad(nameserver, address, username, password)
  File "%PY3%/univention/management/console/modules/setup/util.py", line 1122, in check_credentials_ad
    check_ad_account(ad_domain_info, username, password)
  File "%PY3%/univention/lib/admember.py", line 304, in check_ad_account
    (previous_host_static_ucr_set, previous_host_static_ucr_unset) = prepare_dns_reverse_settings(ad_domain_info, ucr=ucr)
  File "%PY3%/univention/lib/admember.py", line 1206, in prepare_dns_reverse_settings
    ip = socket.gethostbyname(ad_server_name)
socket.gaierror: [Errno -2] Name or service not known
Comment 1 Mika Westphal univentionstaff 2023-10-06 11:53:07 CEST
(In reply to Mika Westphal from comment #0)
5.0-5 errata798