Univention Bugzilla – Bug 43277
adtakeover/sysvol_info: ValueError: need more than 1 value to unpack
Last modified: 2020-08-21 12:42:58 CEST
Version: 4.1-3 errata268 (Vahr) Remark: an Active Directory Takeover of a Win 2003 domain. Unable ot proceed. Traceback(af6593e353fdd3d087d996d906e64127): Execution of command 'adtakeover/sysvol_info' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/adtakeover/__init__.py", line 111, in sysvol_info return takeover.sysvol_info() File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 496, in sysvol_info 'ad_hostname' : get_ad_hostname(), File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 489, in get_ad_hostname return get_ip_and_hostname_of_ad()[1] File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 479, in get_ip_and_hostname_of_ad ad_server_fqdn, ad_server_name = ucr["hosts/static/%s" % ad_server_ip].split() ValueError: need more than 1 value to unpack
Version: 4.2-0 errata0 (Lesum) Remark: Unable to takeover
Version: 4.1-4 errata406 (Vahr) Einrichten der Active-Directory-Verbindung: need more than 1 value to unpack
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
reported again: Version: 4.4-2 errata330 (Blumenthal) Remark: can't takeover Traceback(af6593e353fdd3d087d996d906e64127): Internal server error during "adtakeover/sysvol_info". Request: adtakeover/sysvol_info Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 358, in __error_handling six.reraise(etype, exc, etraceback) File "/usr/lib/python2.7/dist-packages/univention/management/console/base.py", line 261, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/adtakeover/__init__.py", line 114, in sysvol_info return takeover.sysvol_info() File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 524, in sysvol_info 'ad_hostname': get_ad_hostname(), File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 516, in get_ad_hostname return get_ip_and_hostname_of_ad()[1] File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 505, in get_ip_and_hostname_of_ad ad_server_fqdn, ad_server_name = ucr["hosts/static/%s" % ad_server_ip].split() ValueError: need more than 1 value to unpack Role: domaincontroller_master
Version: 4.4-3 errata427 (Blumenthal) reported again: Remark: AD Takeover geht nicht Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/adtakeover/__init__.py", line 61, in _background result = func(self, request) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/adtakeover/__init__.py", line 122, in take_over_domain takeover.take_over_domain(self.progress) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/adtakeover/takeover.py", line 343, in take_over_domain takeover_final = AD_Takeover_Finalize(ucr) File "/usr/lib/python2.7/dist-packages/univention/management/console/modules/adtakeover/takeover.py", line 1495, in __init__ self.ad_server_fqdn, self.ad_server_name = self.ucr["hosts/static/%s" % self.ad_server_ip].split(None, 1) ValueError: need more than 1 value to unpack Role: domaincontroller_master