Bug 896628

Summary: [RFE] Implement configuration syncing over all nodes [rhel6]
Product: Red Hat Enterprise Linux 6 Reporter: Radek Steiger <rsteiger>
Component: pcsAssignee: Chris Feist <cfeist>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4CC: cluster-maint, fdinitto, slevine
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.9.123-6.el6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1092720 (view as bug list) Environment:
Last Closed: 2014-10-14 07:21:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1025054, 1092720    

Description Radek Steiger 2013-01-17 16:17:28 UTC
Description of problem:

PCS on RHEL6 is able to generate a cluster.conf to get pacemaker work with cman, however it is not able to sync the configuration to all other nodes.

One way to do this would be to just invoking ccs_sync, this will however require to have ccs authenticated against other nodes' ricci daemon.

Comment 5 Chris Feist 2014-06-11 21:56:43 UTC
With pcsd support in RHEL6, this now works....

Two nodes, bid-05, bid-06 (authentication is already done)...


[root@bid-05 pcs]# pcs cluster setup --name testcluster bid-05 bid-06 --start
bid-05: Updated cluster.conf...
bid-06: Updated cluster.conf...
Starting cluster on nodes: bid-05, bid-06...
bid-05: Starting Cluster...
bid-06: Starting Cluster...
...

Comment 8 Chris Feist 2014-08-07 22:57:27 UTC
Should now be working:

[root@bid-05 ~]# rpm -q pcs
pcs-0.9.123-6.el6.x86_64
[root@bid-05 ~]# pcs cluster sync
bid-05: Updated cluster.conf...
bid-06: Updated cluster.conf...
m2: Updated cluster.conf...


[root@bid-06 ~]# grep uidgid /etc/cluster/cluster.conf
[root@bid-06 ~]# 

[root@bid-05 ~]# pcs cluster uidgid add uid=root
bid-05: Updated cluster.conf...
bid-06: Updated cluster.conf...
m2: Updated cluster.conf...


[root@bid-06 ~]# grep uidgid /etc/cluster/cluster.conf
  <uidgid gid="" uid="root"/>

Comment 10 Radek Steiger 2014-08-08 08:48:48 UTC
For activating the new config it is also possible to use "cman_tool version -r -S" on any of the nodes.

VERIFIED in pcs-0.9.123-6.el6

Comment 12 errata-xmlrpc 2014-10-14 07:21:14 UTC
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-2014-1526.html