Univention Bugzilla – Bug 46053
Unjoined backup fails to install
Last modified: 2018-04-14 13:37:11 CEST
UCS 4.2-3 Generic-unsafe KVM template IP=static 10.200.17.32/24, DNS=192.168.0.3 "Join into existing domain" Backup Unselect "Join during setup" No components selected > Ein Fehler ist aufgetreten > Could not process the request > Die Ausführung des Kommandos setup/validate wizard ist fehlgeschlagen: > >Traceback (most recent call last): > File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 250, in execute > function.__func__(self, request, *args, **kwargs) > File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response > result = _multi_response(self, request) > File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 192, in _response > return function(self, request) > File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 440, in _response > return list(function(self, iterator, *nones)) > File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 286, in _fake_func > yield function(self, *args) > File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/__init__.py", line 398, in validate > _check('domainname', util.is_domainname, _("Please enter a valid fully qualified domain name (e.g. host.example.com).")) > File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/__init__.py", line 379, in _check > if not check(values[key]): > File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/util.py", line 851, in is_domainname > return all(is_domainname.RE.match(_) for _ in domainname.split('.')) >AttributeError: 'bool' object has no attribute 'split' curl 'http://localhost/univention/command/setup/validate' -H 'Host: localhost' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0' -H 'Accept: application/json; q=1.0, text/html; q=0.3; */*; q=0.1' -H 'Accept-Language: de-DE' --compressed -H 'X-XSRF-Protection: 5ade0a2f-0da2-42d1-90ac-175d1ff68002' -H 'Content-Type: application/json' -H 'X-Requested-With: XMLHttpRequest' -H 'Referer: http://localhost/univention/setup/?username=__systemsetup__&password=9cP9itASazH0PQU1VhBJNe8KavDgaR&lang=en_US' -H 'Content-Length: 539' -H 'Cookie: UMCSessionId=5ade0a2f-0da2-42d1-90ac-175d1ff68002' -H 'Connection: keep-alive' {"options":{"values":{"interfaces":{"eth0":{"name":"eth0","interfaceType":"Ethernet","ip4dynamic":false,"ip4":[["10.200.17.32","24"]],"ip6":[]}},"interfaces/primary":"eth0","server/role":"domaincontroller_backup","components":[],"locale/default":"de_DE.UTF-8:UTF-8","timezone":"Europe/Berlin","xorg/keyboard/options/XkbLayout":"de","gateway":"10.200.17.1","nameserver1":"192.168.0.3","start/join":false,"hostname":"qa32","root_password":"univention","update/system/after/setup":true,"domainname":true,"ad/member":false}},"flavor":"wizard"}
*** This bug has been marked as a duplicate of bug 45838 ***
usr/share/univention-system-setup/www/ApplianceWizard.js: 2718 »···»···»···if (pageName == 'credentials-ad' || pageName == 'credentials-nonmaster') { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ true 2719 »···»···»···»···return this.standbyDuring(this._checkCredentials().then(lang.hitch(this, function(domain) { 2720:»···»···»···»···»···this._domainName = domain; ^^^^^^ true ... 2982:»···»···»···»···if (this._domainName) { 2983:»···»···»···»···»··· vals.domainname = this._domainName; 2985:»···»···»···»···»···»···vals['ldap/base'] = this._computeLDAPBase(this._domainName); Code changed by eedc7f933a96d8edaa4d620a4521b5ab49245680 for Bug #44448, so maybe already fixed? By why is that darned thing checking credentials if I explicitly told it to NOT join sturing setup?
Yes, it was a typo in an interim version (Bug 45838 comment 6). Bug #44448 fixed it.