Bug 1382841

Summary: RHSCL MongoDB32 Openshift RHEL image is missing mongodb32-mongo-tools
Product: Red Hat Software Collections Reporter: Travis Rogers <trogers>
Component: rh-mongodb32-containerAssignee: Marek Skalický <mskalick>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: high    
Version: rh-mongodb32CC: jkaur, pkubat
Target Milestone: alpha   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-09 08:36:54 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:

Description Travis Rogers 2016-10-07 20:48:02 UTC
RHSCL image registry.access.redhat.com/rhscl/mongodb-32-rhel7:3.2-3.5 (latest) is missing the mongodb32-mongo-tools package.  According to [1], the tools now reside in their own package that does not appear to be included in this version of the docker formatted image [2].


[1]
https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/2/html-single/2.2_Release_Notes/index.html#sect-Migration-MongoDB

[2]
https://github.com/sclorg/rhscl-dockerfiles/blob/master/rhel7.rh-mongodb32/Dockerfile#L34


Version-Release number of selected component (if applicable):
registry.access.redhat.com/rhscl/mongodb-32-rhel7:3.2-3.5


Steps to verify:
1. 
# docker pull registry.access.redhat.com/rhscl/mongodb-32-rhel7

2. 
# docker run --rm -u 0 -it registry.access.redhat.com/rhscl/mongodb-32-rhel7:latest /bin/bash

3. 
# ls -la /opt/rh/rh-mongodb32/root/usr/bin
total 74920
dr-xr-xr-x.  2 root root       82 Sep  8 03:27 .
drwxr-xr-x. 13 root root      155 Sep  8 03:27 ..
-rwxr-xr-x.  1 root root  5915440 May 10 11:51 mongo
-rwxr-xr-x.  1 root root 19774592 May 10 11:51 mongod
-rwxr-xr-x.  1 root root 19494592 May 10 11:51 mongoperf
-rwxr-xr-x.  1 root root 12003528 May 10 11:51 mongos
-rwxr-xr-x.  1 root root 19519208 May 10 11:51 mongosniff

4. 
# rpm -qa | grep -i mongo
rh-mongodb32-runtime-2.2-8.el7.x86_64
rh-mongodb32-boost-thread-1.58.0-16.el7.x86_64
rh-mongodb32-boost-filesystem-1.58.0-16.el7.x86_64
rh-mongodb32-boost-program-options-1.58.0-16.el7.x86_64
rh-mongodb32-yaml-cpp-0.5.1-10.el7.x86_64
rh-mongodb32-mongodb-server-3.2.6-2.el7.x86_64
rh-mongodb32-mongodb-3.2.6-2.el7.x86_64
rh-mongodb32-boost-system-1.58.0-16.el7.x86_64
rh-mongodb32-boost-chrono-1.58.0-16.el7.x86_64
rh-mongodb32-mozjs38-38.2.1-9.el7.x86_64
rh-mongodb32-boost-regex-1.58.0-16.el7.x86_64
rh-mongodb32-libstemmer-0-5.585svn.el7.x86_64
rh-mongodb32-2.2-8.el7.x86_64

5.
# vi /root/buildinfo/Dockerfile-rhscl-mongodb-32-rhel7-3.2-3.5
...
    INSTALL_PKGS="bind-utils gettext iproute rsync tar rh-mongodb32-mongodb rh-mongodb32" && \
    yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
...


Actual results:
Tools not included in image.

Expected results:
Tools included in image.

Comment 2 Petr Kubat 2016-12-13 07:42:21 UTC
rh-mongodb32-mongo-tools is included in the latest build of mongodb-32-rhel7:

# docker run --rm -u 0 -it registry.access.redhat.com/rhscl/mongodb-32-rhel7:latest /bin/bash -c "cat /root/buildinfo/Dockerfile-rhscl-mongodb-32-rhel7-3.2-5.1 | grep mongo-tools"
INSTALL_PKGS="bind-utils gettext iproute rsync tar rh-mongodb32-mongodb rh-mongodb32 rh-mongodb32-mongo-tools" && \

So I think this BZ can be closed.

Comment 3 Marek Skalický 2017-05-09 08:36:54 UTC
Feel free to reopen.