| Summary: | ccs --checkconf works improperly when used on cluster.conf file | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Radek Steiger <rsteiger> |
| Component: | ricci | Assignee: | Chris Feist <cfeist> |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3 | CC: | cluster-maint, rsteiger |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ricci-0.16.2-48.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Using ccs --checkconf with the '-f' option for a local file
Consequence: ccs doesn't go out on each of the nodes specified in the local cluster.conf file to verify it's the same file.
Fix: ccs has been updated to check remote nodes when using local cluster.conf file
Result: When checking local cluster.conf file with --checkconf ccs now checks remote nodes.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 14:13:46 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 756082 | ||
|
Description
Radek Steiger
2011-09-15 08:08:06 UTC
There are actually two ways how to solve this issue: 1) do not compare the node configurations to the given config file, but compare all of the nodes to the first node found in this config file instead 2) fix the intendation (which would possibly be the better way) Before Fix: [root@amoco-02 ~]# ccs -h localhost --checkconf All nodes in sync. [root@amoco-02 ~]# ccs -f /etc/cluster/cluster.conf --checkconf Node: amoco-01.lab.msp.redhat.com does not match Node: amoco-02.lab.msp.redhat.com does not match [root@amoco-02 ~]# [root@amoco-02 ~]# ccs -f /etc/cluster/cluster.conf --checkconf All nodes in sync. Commit: https://github.com/feist/ccs/commit/c56501b776b367ebc3cbae2452b0c33b75ca15a0 With ricci-0.16.2-48.el6 [root@ask-04 tmp]# ccs -h localhost --checkconf All nodes in sync. [root@ask-04 tmp]# ccs -f /etc/cluster/cluster.conf --checkconf All nodes in sync.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause: Using ccs --checkconf with the '-f' option for a local file
Consequence: ccs doesn't go out on each of the nodes specified in the local cluster.conf file to verify it's the same file.
Fix: ccs has been updated to check remote nodes when using local cluster.conf file
Result: When checking local cluster.conf file with --checkconf ccs now checks remote nodes.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0898.html |