Bug 1025053

Summary: Need ability to create uidgid entries for corosync in cluster.conf for use with ccs
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: urgent Docs Contact:
Priority: urgent    
Version: 6.5CC: cluster-maint, djansa, fdinitto, jharriga, jkurik, rsteiger, sbradley
Target Milestone: rcKeywords: Reopened, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ccs-0.16.2-70.el6 Doc Type: Bug Fix
Doc Text:
Cause: Users were unable to configure uidgid entries for corosync in cluster.conf. Consequence: Users could not configure access to corosync with users/groups other than root. Fix: --setuidgid/--rmuidgid options were added to ccs Result: ccs can now configure uidgid entries with --setuidgid/--rmuidgid options in ccs
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 07:29:26 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: 1038271, 1038272    

Description Chris Feist 2013-10-30 21:08:10 UTC
Need ability to create uidgid entries for corosync in cluster.conf using ccs

Comment 1 Chris Feist 2013-12-03 23:06:21 UTC
Before fix:
[root@ask-02 ~]# ccs -f testcluster.conf --createcluster testcluster
[root@ask-02 ~]# ccs -f testcluster.conf --setuidgid uid=test gid=test
Usage: ccs [OPTION]...
Cluster configuration system.

...

After fix:
[root@ask-02 ~]# ccs -f testcluster.conf --createcluster testcluster
[root@ask-02 ~]# ccs -f testcluster.conf --setuidgid uid=testuid gid=testgid
[root@ask-02 ~]# cat testcluster.conf | grep uidgid
  <uidgid gid="testgid" uid="testuid"/>
[root@ask-02 ~]# ccs -f testcluster.conf --rmuidgid uid=testuid
Error: unable to find uidgid with uid=testuid, gid=
[root@ask-02 ~]# ccs -f testcluster.conf --rmuidgid uid=testuid gid=testgid
Removing uid=testuid, gid=testgid
[root@ask-02 ~]# cat testcluster.conf | grep uidgid
[root@ask-02 ~]#

Comment 10 errata-xmlrpc 2014-10-14 07:29:26 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-1539.html