Bug 1382172

Summary: MONGODB_VERSION parameter is missing from templates
Product: OpenShift Container Platform Reporter: Bob Kozdemba <bkozdemb>
Component: TemplatesAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: Wang Haoran <haowang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aos-bugs, jokerman, mmccomas, wsun
Target Milestone: ---   
Target Release: 3.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
The MONGODB_VERSION parameter has been added to the MongoDB templates allowing users to choose which version of MongoDB to deploy.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-27 16:13:47 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 Bob Kozdemba 2016-10-05 23:44:51 UTC
Description of problem:
The MONGODB_VERSION parameter is missing from both mongodb templates.

Version-Release number of selected component (if applicable):
atomic-openshift-master-3.3.0.32

How reproducible:
100%

Steps to Reproduce:
1. oc describe template mongodb-ephemeral -n openshift
2. oc describe template mongodb-persistent -n openshift
3.

Actual results:
MONGODB_VERSION parameter is not defined and does not appear in the output.

Expected results:


Additional info:
The MONGODB_VERSION parameter is defined in the upstream source at:

https://github.com/openshift/origin/blob/master/examples/db-templates/mongodb-ephemeral-template.json#L214-L218

Comment 1 Ben Parees 2016-10-06 01:50:02 UTC
Scott, I think you just did a PR to fix this.

Comment 2 Scott Dodson 2016-10-06 01:54:17 UTC
https://github.com/openshift/openshift-ansible/pull/2556 needs to be picked into release-1.3 branch, will do that tomorrow.

Comment 3 Scott Dodson 2016-10-06 12:10:58 UTC
https://github.com/openshift/openshift-ansible/pull/2560 for release-1.3

Comment 5 Wang Haoran 2016-10-08 10:04:15 UTC
Failed with :
openshift version
openshift v3.3.1.1
kubernetes v1.3.0+52492b4
etcd 2.3.0+git

oc describe template mongodb-ephemeral -n openshift| grep MONGODB
    Name:		MONGODB_USER
    Name:		MONGODB_PASSWORD
    Name:		MONGODB_DATABASE
    Name:		MONGODB_ADMIN_PASSWORD

There is no MONGODB_VERSION

Comment 7 Wang Haoran 2016-10-11 07:07:58 UTC
Verified with : openshift-ansible-3.3.34-1.git.0.5b998bb.el7.noarch
oc describe template mongodb-ephemeral -n openshift| grep MONGODB
    Name:		MONGODB_USER
    Name:		MONGODB_PASSWORD
    Name:		MONGODB_DATABASE
    Name:		MONGODB_ADMIN_PASSWORD
    Name:		MONGODB_VERSION

Comment 9 errata-xmlrpc 2016-10-27 16:13:47 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.

https://access.redhat.com/errata/RHBA-2016:2122