Bug 239768

Summary: problem with underscore in nodes name
Product: [Retired] Red Hat Cluster Suite Reporter: Jean-Pierre Joerg <jjoerg>
Component: redhat-config-clusterAssignee: Jim Parsons <jparsons>
Status: CLOSED NOTABUG QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint, rkenna
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-29 08:03:36 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 Jean-Pierre Joerg 2007-05-11 07:28:52 UTC
Description of problem:
When using node name with underscore, the name are modified in the failover domain.
The underscore are deleted from the name ex: pai_fail1 -> paifail1

Version-Release number of selected component (if applicable):
Rhel4 U4

How reproducible:
All times

Steps to Reproduce:
1.create nodes with underscore 
2.create failover domain 
3.create service ip
  
Actual results:
names are converted without underscore in failover domain 

Expected results:
Services can be then disabled OK,
starting service gives a panel telling there is an error and to verify logs but
no errors are reported in logs nor any messages at all.  

Additional info:

Comment 2 Ryan McCabe 2008-02-26 22:44:25 UTC
Underscore is not a valid character in a hostname.

From RFC 952 (http://tools.ietf.org/html/rfc952):
  1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
     to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
     sign (-), and period (.).