Bug 1310534

Summary: [RFE] Add ability to pass additional parameters to mongodb
Product: OpenShift Container Platform Reporter: Alexander Koksharov <akokshar>
Component: RFEAssignee: Michal Fojtik <mfojtik>
Status: CLOSED CURRENTRELEASE QA Contact: Wang Haoran <haowang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, bparees, erich, jokerman, mfojtik, mmccomas, vigoyal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1337328 1347090 (view as bug list) Environment:
Last Closed: 2016-09-28 11:38:16 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: 1337328, 1347090    

Description Alexander Koksharov 2016-02-22 07:32:44 UTC
Description of problem:
Standard mongodb image from redhat repository does not allow to pass additional parameters to mongodb database.
I need to enable text search on MongoDB: https://docs.mongodb.org/v2.4/tutorial/enable-text-search/ but there is no way to achieve this

Version-Release number of selected component (if applicable):
3.1

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Dan McPherson 2016-04-14 14:34:06 UTC
There are 2 ways to do this now:

- Extend the mongodb image and update the config
- Mount in the config you want to change through a PV

Comment 2 Michal Fojtik 2016-04-15 13:53:45 UTC
This is now merged in upstream GIT, should be available as soon as the new images are pushed out.

Comment 3 Wang Haoran 2016-04-18 02:16:48 UTC
https://github.com/openshift/mongodb/pull/145  pr have revert , failed QA here.

Comment 6 Ben Parees 2016-06-12 22:23:50 UTC
Michal, what PR was this referring to that merged:
"This is now merged in upstream GIT, should be available as soon as the new images are pushed out."

PR 145 was only about text searching so that should not have been used to close this (nor the PR that ultimately re-implemented PR 145 after it was reverted).

Comment 7 Michal Fojtik 2016-06-14 09:05:05 UTC
The original request (first comment) requests only text searching, not allowing to pass any arbitrary parameters.

Comment 8 Ben Parees 2016-06-14 14:55:27 UTC
Thanks Michal, i skimmed right over that second sentence.

QA please re-verify, checking only the text searching feature (which is only a 2.4 feature, there is no configuration for it in 2.6)

Comment 9 Wang Haoran 2016-06-15 06:40:55 UTC
verified with mongodb24 image:
openshift3/mongodb-24-rhel7       latest              633ad321708b