Bug 721109

Summary: Ricci should probably require clustermon
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: high Docs Contact:
Priority: high    
Version: 6.3CC: cluster-maint, jpokorny, rsteiger, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ricci-0.16.2-43.el6 Doc Type: Bug Fix
Doc Text:
Previous versions of ricci did not require the modcluster package even though it was needed for ricci to work correctly. With this update, ricci now requires modcluster to be installed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 17:33:23 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: 736818, 742345, 748554    

Description Chris Feist 2011-07-13 18:28:15 UTC
If clustermon is not installed when ricci is, ricci responds unexpectedly to cluster module requests causing issues with ccs and probably luci.

Comment 1 Chris Feist 2011-07-13 21:07:56 UTC
To test, run:
rpm -q --requires ricci | grep modcluster

If modcluster is there, then it has been added as a requirement to ricci, if not, then it isn't.  (Once fixed, it modcluster should show up in the output).

Comment 4 Chris Feist 2011-10-18 18:44:30 UTC
Before fix:
[root@ask-03 ~]# rpm -q ricci
ricci-0.16.2-35.el6.x86_64
[root@ask-03 ~]# rpm -q clustermon
package clustermon is not installed
[root@ask-03 ~]# rpm -q modcluster
package modcluster is not installed
[root@ask-03 ~]# rpm -q --requires ricci | grep modcluster
[root@ask-03 ~]# 

After fix:
[root@ask-03 ~]# rpm -Uvh http://porkchop.redhat.com/brewroot/packages/ricci/0.16.2/43.el6/x86_64/ricci-0.16.2-43.el6.x86_64.rpm
Retrieving http://porkchop.redhat.com/brewroot/packages/ricci/0.16.2/43.el6/x86_64/ricci-0.16.2-43.el6.x86_64.rpm
error: Failed dependencies:
	modcluster is needed by ricci-0.16.2-43.el6.x86_64
[root@ask-03 ~]# 

[root@ask-03 ~]# rpm -Uvh http://porkchop.redhat.com/brewroot/packages/ricci/0.16.2/43.el6/x86_64/ricci-0.16.2-43.el6.x86_64.rpm http://porkchop.redhat.com/brewroot/packages/clustermon/0.16.2/14.el6/x86_64/modcluster-0.16.2-14.el6.x86_64.rpm 
Retrieving http://porkchop.redhat.com/brewroot/packages/ricci/0.16.2/43.el6/x86_64/ricci-0.16.2-43.el6.x86_64.rpm
Retrieving http://porkchop.redhat.com/brewroot/packages/clustermon/0.16.2/14.el6/x86_64/modcluster-0.16.2-14.el6.x86_64.rpm
Preparing...                ########################################### [100%]
   1:modcluster             ########################################### [ 50%]
   2:ricci                  ########################################### [100%]
[root@ask-03 ~]# 

[root@ask-03 ~]# rpm -q ricci
ricci-0.16.2-43.el6.x86_64
[root@ask-03 ~]# rpm -q ricci --requires | grep modcluster
modcluster  
[root@ask-03 ~]#

Comment 5 Radek Steiger 2011-10-19 10:50:37 UTC
Running rpmdiff shows that modcluster dependency has been added in -43 build:

[root@west-13 ~]# rpmdiff -i S -i T ricci-0.16.2-42.el6.x86_64.rpm ricci-0.16.2-43.el6.x86_64.rpm 
removed     REQUIRES config(ricci) = 0.16.2-42.el6
added       REQUIRES config(ricci) = 0.16.2-43.el6
added       REQUIRES modcluster  
removed     PROVIDES config(ricci) = 0.16.2-42.el6
removed     PROVIDES ricci(x86-64) = 0.16.2-42.el6
added       PROVIDES config(ricci) = 0.16.2-43.el6
added       PROVIDES ricci(x86-64) = 0.16.2-43.el6


An attempt to remove modcluster with ricci installed leads correctly into this error message:

[root@west-13 ~]# rpm -e modcluster
error: Failed dependencies:
	modcluster is needed by (installed) ricci-0.16.2-43.el6.x86_64


BEFORE FIX:

[root@west-13 ~]# rpm -q ricci
ricci-0.16.2-42.el6.x86_64

[root@west-13 ~]# rpm -q ricci --requires|grep modcluster
[root@west-13 ~]# echo $?
1
[root@west-13 ~]#


AFTER FIX:

[root@west-13 ~]# rpm -q ricci
ricci-0.16.2-43.el6.x86_64

[root@west-13 ~]# rpm -q ricci --requires|grep modcluster
modcluster  
[root@west-13 ~]# echo $?
0
[root@west-13 ~]#


Marking as VERIFIED in ricci-0.16.2-43.el6.

Comment 6 Eliska Slobodova 2011-10-21 14:05:21 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:
Previous versions of ricci did not require the modcluster package even though it was needed for ricci to work correctly. With this update, ricci now requires modcluster to be installed.

Comment 7 Jan Pokorný [poki] 2011-12-06 16:38:08 UTC
Similar situation in Fedora: bug 760419

Comment 8 errata-xmlrpc 2011-12-06 17:33:23 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-2011-1698.html