Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1478882

Summary: installing rh-mongodb32 does not pull the necessary packages
Product: Red Hat Software Collections Reporter: Mario Torre <neugens>
Component: rh-mongodb32Assignee: Honza Horak <hhorak>
Status: CLOSED EOL QA Contact: Databases Maintanance List <databases-maint>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-mongodb32CC: databases-maint, hhorak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1483966 (view as bug list) Environment:
Last Closed: 2019-06-14 14:18:27 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 Mario Torre 2017-08-07 12:36:18 UTC
Description of problem:

I tried to install the rh-mongodb32 collection, after enabling rhel-workstation-rhscl-7-rpms, but the collection only carries a minimal set of packages, which doesn't give me a fully functional mongo (i.e. the mongo binary is missing, but mongod is present):

 rh-mongodb32-boost-chrono
 rh-mongodb32-boost-filesystem
 rh-mongodb32-boost-program-options
 rh-mongodb32-boost-regex
 rh-mongodb32-boost-system
 rh-mongodb32-boost-thread
 rh-mongodb32-libstemmer
 rh-mongodb32-mongodb-server
 rh-mongodb32-mozjs38
 rh-mongodb32-runtime
 rh-mongodb32-yaml-cpp
 
I tried this on a RHEL 7.4 Workstation, fresh install from DVD. I'm not sure if this is intentional though, according to this guide:

https://www.softwarecollections.org/en/scls/rhscl/rh-mongodb32/

I should be able to just install rh-mongodb32 and then run "mongo". It appears that the rh-mongodb32 should at least install also  rh-mongodb32-mongodb and perhaps the rh-mongodb32-mongo-tools, or in alternative, the guide on the website should be changed to reflect that we need to manually install those packages.

Version-Release number of selected component (if applicable):
rh-mongodb32 on RHEL 7.4.

How reproducible:

Always, at least on a fresh install.

Steps to Reproduce:
1. sudo yum install rh-mongodb32
2  $ scl enable rh-mongodb32 bash
3. $ mongo

Actual results:

bash: mongo: command not found...

Expected results:

mongo should start.

Additional info:

Comment 2 Honza Horak 2017-08-08 05:40:58 UTC
This was designed deliberately this way, because there may be cases when user only wants the server package be installed (when accessing the database from another node and when no unneeded software should be installed due to saving disk space and avoid potential security risk).

We don't have soft dependencies in RHEL-7 which would make mongo binary installed by default and still allow users to uninstall it. On the other hand having normal dependency in the meta package, users would still be able to install only the server (they would install just the rh-mongodb32-mongodb-server package by name, without installing rh-mongodb32 meta package). So this way we would get to sane default and still allow installing it.

Comment 3 Mario Torre 2017-08-08 09:45:23 UTC
(In reply to Honza Horak from comment #2)
> This was designed deliberately this way, because there may be cases when
> user only wants the server package be installed (when accessing the database
> from another node and when no unneeded software should be installed due to
> saving disk space and avoid potential security risk).
> 
> We don't have soft dependencies in RHEL-7 which would make mongo binary
> installed by default and still allow users to uninstall it. On the other
> hand having normal dependency in the meta package, users would still be able
> to install only the server (they would install just the
> rh-mongodb32-mongodb-server package by name, without installing rh-mongodb32
> meta package). So this way we would get to sane default and still allow
> installing it.

Yes, that makes totally sense. The website should probably be updated to reflect that though, since the instructions are confusing otherwise. It doesn't seem to be a wiki or I would do it myself.

Comment 4 Mario Torre 2017-08-08 09:46:53 UTC
Btw, I don't know why I marked the bug private, that was a mistake on my part, can we set it public and visible to all?

Comment 5 Marek Skalický 2017-08-11 05:27:13 UTC
OK. I've set it to public.

Comment 6 Marek Skalický 2017-09-27 13:14:06 UTC
This bug will be fixed in rh-mongodb34. Thanks Mario for reporting this.

Leaving this bug open for rh-mongodb32.

Comment 7 Mario Torre 2017-09-27 15:52:34 UTC
(In reply to Marek Skalický from comment #6)
> This bug will be fixed in rh-mongodb34. Thanks Mario for reporting this.
> 
> Leaving this bug open for rh-mongodb32.

Thanks for looking at the issue!

Comment 11 Joe Orton 2019-03-14 11:02:42 UTC
Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release.

This software collection is nearing the retirement date (May 2019) after which customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/

Comment 12 Joe Orton 2019-06-14 14:18:27 UTC
In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended.

New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection.

Customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/