Univention Bugzilla – Bug 39044
Network settings page validation error on unjoined system
Last modified: 2015-08-06 17:52:57 CEST
If a UCS system has not been joined during system setup and the user tries to change the network settings of that system, the form validation fails. Error message reads "The following entries could not be validated:" with no further indication what went wrong. Example when trying to add a nameserver on an unjoined memberserver: Validate request is {"options":{"values":{"nameserver2":"192.168.0.3"}},"flavor":"network"} shortened respone: status 200, message <null>, and the result array contains a valid:false entry for hostname, with the error message "No hostname has been specified for the system." The check is done in univention-system-setup/umc/python/setup/__init__.py:validate Workaround: Set network settings via UCR variables
*** Bug 38374 has been marked as a duplicate of this bug. ***
http://forum.univention.de/viewtopic.php?f=43&t=4214&p=15636
Created attachment 7072 [details] patch for /usr/share/pyshared/univention/management/console/modules/setup/__init__.py
The patch looks fine, I applied it while working on Bug 39048. univention-system-setup (8.1.69-23): r62540 | Bug #39044: correct server-side validation for unjoined systems 2015-07-30-univention-system-setup.yaml: r62541 | Bug #39044: added YAML entry
Merge into 4.1-0. univention-system-setup (9.0.1-1): r62543 | Bug #39044: correct server-side validation for unjoined systems
Fix: OK Yaml: OK >> Verified
<http://errata.univention.de/ucs/4.0/274.html>