Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1614156

Summary: nodejs-mongodb-example's repository should be sclorg/nodejs-ex, instead of openshift/nodejs-ex
Product: OpenShift Container Platform Reporter: Liang Xia <lxia>
Component: TemplatesAssignee: Ben Parees <bparees>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: low Docs Contact:
Priority: medium    
Version: 3.11.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-11 07:24:08 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 Liang Xia 2018-08-09 05:36:06 UTC
Description of problem:
nodejs-mongodb-example's repository should be sclorg/nodejs-ex, instead of openshift/nodejs-ex,as we are moving to github.com/sclorg


Version-Release number of selected component (if applicable):
oc v3.11.0-0.11.0
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO


How reproducible:
Always

Steps to Reproduce:
1. oc new-app nodejs-mongodb-example


Actual results:
$ oc new-app nodejs-mongodb-example
--> Deploying template "openshift/nodejs-mongodb-example" to project lxiapp

     Node.js + MongoDB (Ephemeral)
     ---------
     An example Node.js application with a MongoDB database. For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.
     
     WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.

     The following service(s) have been created in your project: nodejs-mongodb-example, mongodb.
     
     For more information about using this template, including OpenShift considerations, see https://github.com/openshift/nodejs-ex/blob/master/README.md.

     * With parameters:
        * Name=nodejs-mongodb-example
        * Namespace=openshift
        * Version of NodeJS Image=8
        * Version of MongoDB Image=3.4
        * Memory Limit=512Mi
        * Memory Limit (MongoDB)=512Mi
        * Git Repository URL=https://github.com/openshift/nodejs-ex.git
        * Git Reference=
        * Context Directory=
        * Application Hostname=
        * GitHub Webhook Secret=atXpXGiSDpg0mkrEa0krijF7QeaPgsqGss8GcbtM # generated
        * Generic Webhook Secret=Y51ElOgOgguTJUh8OV1MK46kM7o8KqGnxlsTSmFe # generated
        * Database Service Name=mongodb
        * MongoDB Username=userGEU # generated
        * MongoDB Password=wJcnqKYXr0B0g8eE # generated
        * Database Name=sampledb
        * Database Administrator Password=keBVmbh5NXW8n6PA # generated
        * Custom NPM Mirror URL=

--> Creating resources ...
    secret "nodejs-mongodb-example" created
    service "nodejs-mongodb-example" created
    route.route.openshift.io "nodejs-mongodb-example" created
    imagestream.image.openshift.io "nodejs-mongodb-example" created
    buildconfig.build.openshift.io "nodejs-mongodb-example" created
    deploymentconfig.apps.openshift.io "nodejs-mongodb-example" created
    service "mongodb" created
    deploymentconfig.apps.openshift.io "mongodb" created
--> Success
    Access your application via route 'nodejs-mongodb-example-lxiapp.apps.0809-yws.qe.rhcloud.com' 
    Build scheduled, use 'oc logs -f bc/nodejs-mongodb-example' to track its progress.
    Run 'oc status' to view your app.


Expected results:
We should use sclorg/nodejs-ex, instead of openshift/nodejs-ex since it can confuse end users.


Additional info:

Comment 1 Ben Parees 2018-08-09 14:11:46 UTC
This is already fixed in origin:
https://github.com/openshift/origin/blob/master/examples/quickstarts/nodejs-mongodb.json

But we haven't synced openshift-ansible lately.

Comment 3 XiuJuan Wang 2018-08-30 06:22:13 UTC
Move this bug as verified
nodejs-mongo-persistent and nodejs-mongodb-example use sclorg/nodejs-ex source repo instead in ocp v3.11.0-0.25.0

Comment 5 errata-xmlrpc 2018-10-11 07:24:08 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-2018:2652