Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1382172 - MONGODB_VERSION parameter is missing from templates
MONGODB_VERSION parameter is missing from templates
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Templates (Show other bugs)
3.3.0
Unspecified Unspecified
unspecified Severity low
: ---
: 3.3.1
Assigned To: Scott Dodson
Wang Haoran
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-05 19:44 EDT by Bob Kozdemba
Modified: 2016-10-27 12:13 EDT (History)
4 users (show)

See Also:
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 12:13:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2122 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix update 2016-10-27 16:11:30 EDT

  None (edit)
Description Bob Kozdemba 2016-10-05 19:44:51 EDT
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-05 21:50:02 EDT
Scott, I think you just did a PR to fix this.
Comment 2 Scott Dodson 2016-10-05 21:54:17 EDT
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 08:10:58 EDT
https://github.com/openshift/openshift-ansible/pull/2560 for release-1.3
Comment 5 Wang Haoran 2016-10-08 06:04:15 EDT
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 03:07:58 EDT
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 12:13:47 EDT
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.