Bug 758823

Summary: cman and corosync RRP handling are not consistent and needs improvements
Product: Red Hat Enterprise Linux 6 Reporter: Fabio Massimo Di Nitto <fdinitto>
Component: ricciAssignee: Chris Feist <cfeist>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.3CC: ccaulfie, cfeist, cluster-maint, fdinitto, jfriesse, lhh, rmccabe, rpeterso, rsteiger, sdake, teigland
Target Milestone: rc   
Target Release: 6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ricci-0.16.2-53.el6 Doc Type: Bug Fix
Doc Text:
Cause: ccs has no way of configuring RRP Consequence: User can't configure RRP with ccs Fix: options are now available in ccs to configure RRP Result: User can now configure RRP with ccs
Story Points: ---
Clone Of: 733298 Environment:
Last Closed: 2012-06-20 14:14:02 UTC Type: ---
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: 722469, 733298, 735911, 738390    
Bug Blocks: 758821    

Comment 1 Fabio Massimo Di Nitto 2011-11-30 19:05:36 UTC
The relevant bits for ccs are in comment#3 unit test 4.

Comment 8 Chris Feist 2012-03-01 00:29:11 UTC
With ricci-0.16.2-53.el6:


[root@ask-04 ~]# ccs -f testfile --createcluster blah
[root@ask-04 ~]# ccs -i -f testfile --setmulticast 1.1.1.1 port=555
[root@ask-04 ~]# ccs -i -f testfile --setaltmulticast 2.2.2.2 port=777
[root@ask-04 ~]# ccs -i -f testfile --addnode node1
Node node1 added.
[root@ask-04 ~]# ccs -i -f testfile --addnode node2
Node node2 added.
[root@ask-04 ~]# ccs -i -f testfile --addalt node1 myalt  port=888
[root@ask-04 ~]# ccs -i -f testfile --addalt node2 myalt2 port=8888
[root@ask-04 ~]# cat testfile
<cluster config_version="7" name="blah">
  <fence_daemon/>
  <clusternodes>
    <clusternode name="node1" nodeid="1">
      <altname name="myalt" port="888"/>
    </clusternode>
    <clusternode name="node2" nodeid="2">
      <altname name="myalt2" port="8888"/>
    </clusternode>
  </clusternodes>
  <cman>
    <multicast addr="1.1.1.1" port="555"/>
    <altmulticast addr="2.2.2.2" port="777"/>
  </cman>
  <fencedevices/>
  <rm>
    <failoverdomains/>
    <resources/>
  </rm>
</cluster>

multicast, altmulticast & individual cluster node altname's have been added.


[root@ask-04 ~]# ccs -i -f testfile --rmalt node2
[root@ask-04 ~]# ccs -i -f testfile --setmulticast
[root@ask-04 ~]# ccs -i -f testfile --setaltmulticast
[root@ask-04 ~]# cat testfile
<cluster config_version="10" name="blah">
  <fence_daemon/>
  <clusternodes>
    <clusternode name="node1" nodeid="1">
      <altname name="myalt" port="888"/>
    </clusternode>
    <clusternode name="node2" nodeid="2">
    </clusternode>
  </clusternodes>
  <cman>
  </cman>
  <fencedevices/>
  <rm>
    <failoverdomains/>
    <resources/>
  </rm>
</cluster>

multicast, altmulticast and node2 altname have been removed.

Comment 10 Chris Feist 2012-03-15 19:57:26 UTC
    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: ccs has no way of configuring RRP

Consequence: User can't configure RRP with ccs

Fix: options are now available in ccs to configure RRP

Result: User can now configure RRP with ccs

Comment 13 errata-xmlrpc 2012-06-20 14:14:02 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-2012-0898.html