Bug 1033554 - when installing ceilometer via packstack mongo doesn't get the right version of libv8
Summary: when installing ceilometer via packstack mongo doesn't get the right version ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: mongodb
Version: 4.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 4.0
Assignee: Alan Pevec
QA Contact: Kevin Whitney
URL:
Whiteboard:
Depends On:
Blocks: 1042837
TreeView+ depends on / blocked
 
Reported: 2013-11-22 11:28 UTC by Angus Salkeld
Modified: 2016-04-26 16:17 UTC (History)
10 users (show)

Fixed In Version: mongodb-2.2.4-3.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-20 00:38:34 UTC
Target Upstream Version:


Attachments (Terms of Use)
Fix (949 bytes, patch)
2013-11-22 11:47 UTC, Flavio Percoco
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

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


Note You need to log in before you can comment on or make changes to this bug.