Bug 975915

Summary: /sbin/fence_xvmd: libvirt.so.0 => not found
Product: Red Hat Enterprise Linux 5 Reporter: michal novacek <mnovacek>
Component: cmanAssignee: Fabio Massimo Di Nitto <fdinitto>
Status: CLOSED NOTABUG QA Contact: Cluster QE <mspqa-list>
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.9CC: cluster-maint
Target Milestone: rc   
Target Release: ---   
Hardware: ia64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-19 15:59:20 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:

Description michal novacek 2013-06-19 15:17:28 UTC
Description of problem:
TPS found this problem: /sbin/fence_xvmd: unresolved symbols found: libvirt.so.0 => not found

Version-Release number of selected component (if applicable):
cman-2.0.115-118.el5.ia64
rhel5.9

How reproducible: always

Steps to Reproduce:
1. install rhel5.9
2. install cman
3. run 'ldd /sbin/fence_xvmd'

Actual results: libvirt.so.0 => not found

Expected results: libvirt already installed 

Additional info:
libvirt.so.0 is provided by 'libvirt' also 'libvirt-devel' is needed to rebuild cman so I do believe that there should be dependency on it. This seems to be special case for ia64.

http://lab-02.rhts.eng.bos.redhat.com/beaker/logs/tasks/13257+/13257917/tps-rpmtest.log

Comment 1 Fabio Massimo Di Nitto 2013-06-19 15:59:20 UTC
while this might sound odd, it´s not a bug.

In the RHEL5 release, the policy for _any_ fence agent was not to pull in their dependencies to avoid a full install bloat and customers are expected to take care of those themselves.

cman package is correct:

x86_64:
[root@rhel5-node2 ~]# rpm -q --requires cman |grep virt
[root@rhel5-node2 ~]# rpm -q --requires cman |grep xen 
[root@rhel5-node2 ~]# 

ia64:
[root@hp-bl870c-02 ~]# rpm -q --requires cman |grep virt
[root@hp-bl870c-02 ~]# rpm -q --requires cman |grep xen 
[root@hp-bl870c-02 ~]# 

filtering out the dependencies.

For some reasons that I am not going to investigate, x86_64 installations tend to have libvirt installed by default while ia64 no.

that makes TPS scream unnecessarily :)