Bug 352631 - Underscores in node names are accidentally trimmed in cluster.conf://failoverdomainnode/@name
Summary: Underscores in node names are accidentally trimmed in cluster.conf://failover...
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-cluster   
(Show other bugs)
Version: 5.0
Hardware: All Linux
Target Milestone: ---
: ---
Assignee: Ryan McCabe
QA Contact: Cluster QE
: 488191 (view as bug list)
Depends On:
Blocks: 530200
TreeView+ depends on / blocked
Reported: 2007-10-25 16:22 UTC by Satoru SATOH
Modified: 2016-08-29 11:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 530200 (view as bug list)
Last Closed: 2010-03-30 08:54:14 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
An experimental patch to allow underscores in cluster node names (427 bytes, patch)
2007-10-25 16:22 UTC, Satoru SATOH
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0288 normal SHIPPED_LIVE system-config-cluster bug fix update 2010-03-29 14:05:22 UTC

Description Satoru SATOH 2007-10-25 16:22:24 UTC
Description of problem: Underscores in node name
(cluster.conf://failoverdomainnode/@name) are accidentally trimmed
because label texts passed to gtk.MenuItem without use_underline parameter.

So if node name includes '_',  //clusternode/@name and 
//failoverdomainnode/@name in cluster.conf becomes mismatched and 
cluster should not work correctly.

Version-Release number of selected component (if applicable):
I confirmed this issue with system-config-cluster in Red Hat Cluster 
Suite 4 U5 and RHEL 5 AP.

How reproducible: always

Steps to Reproduce:
1. set node name includes '_' (underscore)
2. select that node in failover domain dialog

Actual results: 
'_' in node name (cluster.conf://failoverdomainnode/@name) is trimmed.

Expected results: Not trimmed.

Additional info:
I attach an experimental patch to fix this issue.

Comment 1 Satoru SATOH 2007-10-25 16:22:24 UTC
Created attachment 237551 [details]
An experimental patch to allow underscores in cluster node names

Comment 2 Satoru SATOH 2007-11-04 00:57:21 UTC
It's a evident problem of the program and easy to fix although host (node) name
should not contain '_', so I raise the level of severity and priority of this.

Comment 5 Chris Ward 2010-02-11 10:13:41 UTC
~~ Attention Customers and Partners - RHEL 5.5 Beta is now available on RHN ~~

RHEL 5.5 Beta has been released! There should be a fix present in this 
release that addresses your request. Please test and report back results 
here, by March 3rd 2010 (2010-03-03) or sooner.

Upon successful verification of this request, post your results and update 
the Verified field in Bugzilla with the appropriate value.

If you encounter any issues while testing, please describe them and set 
this bug into NEED_INFO. If you encounter new defects or have additional 
patch(es) to request for inclusion, please clone this bug per each request
and escalate through your support representative.

Comment 6 Brian Brock 2010-03-09 20:17:03 UTC
fix verified in system-config-cluster-1.0.57-3, cluster.conf looks good for nodes with _ in the name.

Comment 10 errata-xmlrpc 2010-03-30 08:54:14 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.


Comment 11 Ryan McCabe 2010-10-26 20:31:57 UTC
*** Bug 488191 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.