Bug 1310534 - [RFE] Add ability to pass additional parameters to mongodb
Summary: [RFE] Add ability to pass additional parameters to mongodb
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: Wang Haoran
URL:
Whiteboard:
Depends On:
Blocks: 1337328 1347090
TreeView+ depends on / blocked
 
Reported: 2016-02-22 07:32 UTC by Alexander Koksharov
Modified: 2019-09-12 09:57 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1337328 1347090 (view as bug list)
Environment:
Last Closed: 2016-09-28 11:38:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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