Bug 682868 - Fix ccs logic to prevent bad cluster.conf files (and update man page).
Summary: Fix ccs logic to prevent bad cluster.conf files (and update man page).
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ricci
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Chris Feist
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-07 20:13 UTC by Chris Feist
Modified: 2011-05-19 14:18 UTC (History)
2 users (show)

Fixed In Version: ricci-0.16.2-33.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 14:18:05 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0749 0 normal SHIPPED_LIVE ricci bug-fix update 2011-05-18 18:09:02 UTC

Description Chris Feist 2011-03-07 20:13:57 UTC
In certain cases it's possible to create cluster.conf files with ccs that don't validate with the schema, just need one extra check before sending the file to the hosts to make sure it validates with the schema.

Comment 3 Chris Feist 2011-04-05 22:18:52 UTC
To test generating a bad cluster.conf


ccs -f test2 --createcluster
ccs -f test2 --addresource blah

You should get the following error:

"Validation Failure, unable to modify configuration file (use -i to ignore this error)."

If you use a proper resource (like nfsclient)...

ccs -f test2 --addresource nfsclient ref=/test

It succeeds and nfsclient shows up in the test2 file that was created.

Comment 4 Brian Brock 2011-04-13 00:00:07 UTC
fix verified in ccs-0.16.2-35.el6

Comment 5 errata-xmlrpc 2011-05-19 14:18:05 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-2011-0749.html


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