Bug 207482 - system-config-cluster does not reload cluster.conf when incomplete
Summary: system-config-cluster does not reload cluster.conf when incomplete
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-cluster
Version: 5.0
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: Jim Parsons
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-21 12:28 UTC by Jerome Delamarche
Modified: 2009-04-16 22:33 UTC (History)
1 user (show)

Fixed In Version: RC
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-08 00:14:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jerome Delamarche 2006-09-21 12:28:48 UTC
Description of problem:

The system-config-cluster tool may generate a cluster.conf file which is
syntactically correct (from the XML point-overview), but which it cannot reload.

Version-Release number of selected component (if applicable):
system-config-cluster 1.0.27

How reproducible:

easyly

Steps to Reproduce:
1.declare a GFS resource corresponding to a filesystem that still does not exist
2.save the file
3.reload it using system-config-cluster
  
Actual results:

Relax-NG validity error : Extra element rm in interleave
/root/cluster.conf:2: element cluster: Relax-NG validity error : Element cluster
failed to validate content
/root/cluster.conf fails to validate

Expected results:

no error, but you can click OK to continue, it will succeed.

Additional info:

The problem is caused by the missing "fsid" attribute of a "<fs>" resource.
Since the filesystem did not exist, no fsid has been found.

Workaround:
add an empty attribute in the cluster.conf file:
<fs .... fsid="" .... />

Comment 3 Jim Parsons 2007-01-10 18:12:37 UTC
This required alot of consistency fixes between the schema file and the UI,
which I believe are all addressed now - so I am marking this ticket modified as
of build 1.0.36-1.0

Comment 4 RHEL Program Management 2007-02-08 00:14:15 UTC
A package has been built which should help the problem described in 
this bug report. This report is therefore being closed with a resolution 
of CURRENTRELEASE. You may reopen this bug report if the solution does 
not work for you.


Comment 5 Nate Straz 2007-12-13 17:29:31 UTC
Moving all RHCS ver 5 bugs to RHEL 5 so we can remove RHCS v5 which never existed.


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