Bug 683192

Summary: When using --setmulticast with no options it should remove the multicast configurartion
Product: Red Hat Enterprise Linux 6 Reporter: Chris Feist <cfeist>
Component: ricciAssignee: Chris Feist <cfeist>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: bbrock, cluster-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ccs-0.16.2-30.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 14:18:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Chris Feist 2011-03-08 19:45:43 UTC
Description of problem:


Version-Release number of selected component (if applicable):
ricci-0.16.2-2.28.el6

How reproducible:
Everytime

Steps to Reproduce:
[cfeist@gold tmp]$ ccs -f test --createcluster testcluster
[cfeist@gold tmp]$ ccs -f test --setmulticast 224.0.0.0
[cfeist@gold tmp]$ grep multicast test
    <multicast addr="224.0.0.0"/>
[cfeist@gold tmp]$ ccs -f test --setmulticast
... gives usage, but should remove the multicast section ...

Comment 1 Chris Feist 2011-03-10 23:43:57 UTC
With old version:

[root@ask-03 ~]# ccs -f test --createcluster testcluster
[root@ask-03 ~]# ccs -f test --setmulticast 1.1.1.1
[root@ask-03 ~]# ccs -f test --setmulticast
Usage: ccs [OPTION]...
...

With fixed version:
[root@ask-02 ~]# ccs -f test --createcluster testcluster
[root@ask-02 ~]# ccs -f test --setmulticast 1.1.1.1
[root@ask-02 ~]# ccs -f test --setmulticast
[root@ask-02 ~]# cat test
<cluster config_version="3" name="testcluster">
  <fence_daemon/>
  <clusternodes/>
  <cman>
  </cman>
  <fencedevices/>
  <rm>
    <failoverdomains/>
    <resources/>
  </rm>
</cluster>

Multicast section has been removed.

Comment 3 Brian Brock 2011-04-13 00:24:05 UTC
fix verified in ccs-0.16.2-35.el6

Comment 4 errata-xmlrpc 2011-05-19 14:18:07 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