Bug 431105

Summary: IP Address Resource configuration: cannot enter fully qualified hostname
Product: Red Hat Enterprise Linux 5 Reporter: Paul Kennedy <pkennedy>
Component: congaAssignee: Ryan McCabe <rmccabe>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5.1CC: adstrong, cluster-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0407 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:47:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Kennedy 2008-01-31 20:07:54 UTC
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:

Comment 1 Paul Kennedy 2008-01-31 20:11:10 UTC
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.


Comment 2 Ryan McCabe 2008-01-31 20:13:02 UTC
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.

Comment 3 Kiersten (Kerri) Anderson 2008-02-05 16:33:10 UTC
For 5.2, only allow IP addresses instead of hostnames.

Comment 7 Brian Brock 2008-05-15 02:07:24 UTC
verified in -7.el5, generates a helpful error message upon attempting to use FQDN.

Comment 9 errata-xmlrpc 2008-05-21 15:47:45 UTC
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