Bug 1033554

Summary: when installing ceilometer via packstack mongo doesn't get the right version of libv8
Product: Red Hat OpenStack Reporter: Angus Salkeld <asalkeld>
Component: mongodbAssignee: Alan Pevec <apevec>
Status: CLOSED ERRATA QA Contact: Kevin Whitney <kwhitney>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: ajeain, apevec, breeler, databases-maint, eglynn, fpercoco, hateya, sdake, srevivo, yeylon
Target Milestone: rcKeywords: OtherQA
Target Release: 4.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mongodb-2.2.4-3.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-20 00:38:34 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:
Bug Depends On:    
Bug Blocks: 1042837    
Attachments:
Description Flags
Fix none

Description Angus Salkeld 2013-11-22 11:28:35 UTC
Description of problem:

I am trying to install ceilometer with packstack on rhel6.5b
it fails as mongod is not runnning.

The actual error:
mongod -h
mongod: error while loading shared libraries: libv8.so.3: cannot open
shared object file: No such file or directory


 ceilometer depends on mongodb
 mongodb depends on v8
 something else in this toolchain pulls in an SCL for ruby that has a version of v8
 that version of v8 can not be linked into mongodb


$ sudo yum provides  "*/libv8.so.3"
Loaded plugins: priorities, product-id, refresh-packagekit, security,
subscription-manager
This system is receiving updates from Red Hat Subscription Management.
rhel-6-server-cf-tools-1-rpms
rhel-6-server-rhev-agent-rpms
rhel-6-server-rpms
OpenStack-4.0-Puddle/filelists
rhel-6-server-cf-tools-1-rpms/filelists_db
rhel-6-server-rhev-agent-rpms/filelists_db
rhel-6-server-rpms/filelists_db
1:v8-3.14.5.10-2.el6ost.x86_64 : JavaScript Engine
Repo        : OpenStack-4.0-Puddle
Matched from:
Filename    : /usr/lib64/libv8.so.3

1:ruby193-v8-3.14.5.10-2.el6.x86_64 : JavaScript Engine
Repo        : OpenStack-4.0-Puddle
Matched from:
Filename    : /opt/rh/ruby193/root/usr/lib64/libv8.so.3

1:ruby193-v8-3.14.5.10-2.el6.x86_64 : JavaScript Engine
Repo        : installed
Matched from:
Filename    : /opt/rh/ruby193/root/usr/lib64/libv8.so.3

This one ^ is seen to have been "provided" but mongo can't find
it.


How reproducible:
100%

Steps to Reproduce:
1.install packstack with latest puddle
2.enable ceilometer
3.run packstack

Actual results:
mongod: error while loading shared libraries: libv8.so.3: cannot open
shared object file: No such file or directory


Expected results:
packstack success

Additional info:

Comment 1 Alan Pevec 2013-11-22 11:33:15 UTC
So that's a bug in ruby193-v8, SCL must filter autoprovides and this RPM doesn't.

Until that's fixed, we can workaround in rhos4 by adding explicit Requries: v8 in rhos mongodb package.

Comment 2 Flavio Percoco 2013-11-22 11:47:29 UTC
Created attachment 827695 [details]
Fix

As discussed, we'll add Requires: v8 as workaround for this issue until the real issue is fixed.

Comment 4 Alan Pevec 2013-11-28 20:54:05 UTC
Installing:
 mongodb          x86_64  2.2.4-3.el6ost           OpenStack-4.0-Puddle   27 M
Installing for dependencies:
 boost-thread     x86_64  1.41.0-18.el6            rhel-6-server-rpms     41 k
 gperftools-libs  x86_64  2.0-3.el6ost.2           OpenStack-4.0-Puddle  246 k
 libicu           x86_64  4.2.1-9.1.el6_2          rhel-6-server-rpms    4.9 M
 libmongodb       x86_64  2.2.4-3.el6ost           OpenStack-4.0-Puddle  475 k
 snappy           x86_64  1.1.0-1.el6              rhel-6-server-rpms     39 k
 v8               x86_64  1:3.14.5.10-2.el6ost     OpenStack-4.0-Puddle  3.0 M

Comment 5 Alan Pevec 2013-11-28 21:05:32 UTC
With RHOS 4.0 Beta and ruby193-v8 installed:

Installing:
 mongodb            x86_64    2.2.4-2.el6ost     OpenStack-4.0-Puddle     27 M
Installing for dependencies:
 boost-thread       x86_64    1.41.0-18.el6      rhel-6-server-rpms       41 k
 gperftools-libs    x86_64    2.0-3.el6ost.2     OpenStack-4.0-Puddle    247 k
 libmongodb         x86_64    2.2.4-2.el6ost     OpenStack-4.0-Puddle    476 k
 snappy             x86_64    1.1.0-1.el6        rhel-6-server-rpms       39 k

# mongo
mongo: error while loading shared libraries: libv8.so.3: cannot open shared object file: No such file or directory

Comment 9 errata-xmlrpc 2013-12-20 00:38:34 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/RHEA-2013-1859.html