Bug 1382172 - MONGODB_VERSION parameter is missing from templates
Summary: MONGODB_VERSION parameter is missing from templates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Templates
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 3.3.1
Assignee: Scott Dodson
QA Contact: Wang Haoran
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-05 23:44 UTC by Bob Kozdemba
Modified: 2016-10-27 16:13 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2016-10-27 16:13:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2122 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix update 2016-10-27 20:11:30 UTC

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


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