Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 882277

Summary: cluster-cim: missing symbols/provider library not compiled properly
Product: Red Hat Enterprise Linux 5 Reporter: michal novacek <mnovacek>
Component: clustermonAssignee: Jan Pokorný [poki] <jpokorny>
Status: CLOSED ERRATA QA Contact: michal novacek <mnovacek>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.9CC: cluster-maint, edamato, ekuric, fdinitto, jpokorny, jwest, mnovacek, rsteiger
Target Milestone: rcKeywords: EasyFix, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: clustermon-0.12.1-8.el5 Doc Type: Bug Fix
Doc Text:
Prior to this update, the dynamic library that represents the CIM provider of a cluster status was not built with all the required dependencies, and certain symbols could not be resolved. As a consequence, the cluster status could not be accessed by CIM. This update adds the missing dependencies to the dynamic library, and the cluster status is now accessible as expected.
Story Points: ---
Clone Of: 865588
: 957651 (view as bug list) Environment:
Last Closed: 2013-09-30 22:10:43 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: 865588    
Bug Blocks: 928849, 957651, 958026    
Attachments:
Description Flags
reproducer bash script (changed path to .mof files) none

Comment 3 Jan Pokorný [poki] 2013-04-22 20:26:45 UTC
Patch reflects the one for [bz865588] (linkt with necessary local object
and rt).

Comment 11 michal novacek 2013-05-30 12:46:22 UTC
Created attachment 754835 [details]
reproducer bash script (changed path to .mof files)

Comment 12 michal novacek 2013-05-30 12:58:57 UTC
verified with reproducer script in attachment 655103 [details]

# clustat
Cluster Status for STSRHTS29545 @ Thu May 30 08:49:25 2013
Member Status: Quorate

 Member Name                                 ID   Status
 ------ ----                                 ---- ------
 virt-011.cluster-qe.lab.eng.brq.redhat.com      1 Online, Local
 virt-014.cluster-qe.lab.eng.brq.redhat.com      2 Online


BUGGY version: cluster-cim-0.12.1-7.el5

# ./reproducer.sh 
+ trap err ERR
...
+ wbemcli ei http://root:beaker@localhost:5988/root/cimv2:RedHat_Cluster
*
* wbemcli: Cim: (1) CIM_ERR_FAILED: ProviderLoadFailure \
 (/usr/lib64/Pegasus/providers/libRedHatClusterProvider.so:RedHatClusterProvider):Cannot \
 load library, error: \
 /usr/lib64/Pegasus/providers/libRedHatClusterProvider.so: undefined symbol: \
 _ZN17ClusterMonitoring7Cluster15runningServicesEv
*

----

CORRECTED version: cluster-cim-0.12.1-10.el5

# ./reproducer.sh 
+ trap err ERR
...
+ wbemcli ei http://root:beaker@localhost:5988/root/cimv2:RedHat_Cluster

+ wbemcli ei http://root:beaker@localhost:5988/root/cimv2:RedHat_Cluster
localhost:5988/root/cimv2:RedHat_Cluster.*KEYBINDING="MISSING*" Name="STSRHTS29545",Votes=2,VotesNeededForQuorum=2,MaxNumberOfNodes=0,NodesNumber=2,AvailableNodesNumber=2,UnavailableNodesNumber=0,NodesNames="virt-011.cluster-qe.lab.eng.brq.redhat.com","virt-014.cluster-qe.lab.eng.brq.redhat.com",AvailableNodesNames="virt-011.cluster-qe.lab.eng.brq.redhat.com","virt-014.cluster-qe.lab.eng.brq.redhat.com",UnavailableNodesNames=,ServicesNumber=0,RunningServicesNumber=0,StoppedServicesNumber=0,FailedServicesNumber=0,ServicesNames=,RunningServicesNames=,StoppedServicesNames=,FailedServicesNames=,OperationalStatus=2,StatusDescriptions="All services and nodes functional",ClusterState=2,Types=2,CreationClassName="RedHat_Cluster"

Comment 14 errata-xmlrpc 2013-09-30 22:10:43 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-2013-1305.html