Description of problem: Cannot enter fully qualified hostname for IP Address resource. When configuring IP Address resource with a hostname, luci asks for fully qualified hostname; however, there is not enough space to enter it. For example, entering hostname "rg-218" and clicking "Submit" causes this error message to be displayed: ---------------------------------------------------- The following errors were found: Error:"rg218: Hostnames must be fully qualified. ---------------------------------------------------- Version-Release number of selected component (if applicable): luci-0.10.0-6.el5 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
NOTE: In original comments, the error message should have been this (added hyphen in hostname): The following errors were found: Error:"rg-218": Hostnames must be fully qualified.
What is the actual hostname? You can work around this by partially qualifying the hostname, too. For example, something like "rg-218.lab" would be accepted. The heuristics for the check in the javascript are about as basic as possible: if you don't enter an IP address, it just checks for at least one dot in the hostname.
For 5.2, only allow IP addresses instead of hostnames.
verified in -7.el5, generates a helpful error message upon attempting to use FQDN.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0407.html