Univention Bugzilla – Bug 36873
setup basesystem without FQDN: "NoneType object has no attribute split"
Last modified: 2014-12-04 12:23:09 CET
In appliance mode i chose basesystem and wanted to start the provisioning. The hostname textfield has the description "Enter hostname or FQDN". I just entered a hostname "basesystem". However, i received the error "NoneType object has no attribute split" when trying to start the provisioning When entering "basesystem.ucs.local" everything works fine.
This happened in appliance mode
Traceback from management-console-module-setup.log: 20.11.14 05:47:37.541 MODULE ( WARN ) : Lookup for nameserver 208.67.222.222 timed out: 20.11.14 05:47:37.625 MODULE ( WARN ) : Exception during saving the settings: 'NoneType' object has no attribute 'split' Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/__init__.py", line 244, in _thread util.auto_complete_values_for_join(values, self._very_first_locale) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/util.py", line 150, in auto_complete_values_for_join newValues['domainname'] = get_ucs_domain(newValues.get(nameserver, ucr.get(nameserver))) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/util.py", line 792, in get_ucs_domain domain = get_domain(nameserver) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/util.py", line 798, in get_domain master = get_master(nameserver) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/util.py", line 808, in get_master reverse_address = dns.reversename.from_address(nameserver) File "/usr/lib/python2.7/dist-packages/dns/reversename.py", line 43, in from_address parts = ['%d' % ord(byte) for byte in dns.ipv4.inet_aton(text)] File "/usr/lib/python2.7/dist-packages/dns/ipv4.py", line 41, in inet_aton parts = text.split('.') AttributeError: 'NoneType' object has no attribute 'split'
r56190 univention-system-setup 8.1.65-10.797.201411261607 r56194 2014-11-21-univention-system-setup.yaml - Let a basesystem be configured without a valid domainname - A new script in cleanup-post removes u-s-s-boot and other unnecessary packages at this late stage to not uninstall umc-server while setup is running. I did not move around things to much for other roles to prevent regressions.
Tests Appliance: OK Tests Installation: OK Code review: OK Upgrade: OK YAML: OK
http://errata.univention.de/ucs/4.0/2.html