Bug 1821356

Summary: "oc new-project" output says "oc new-app ruby~https://github.com/sclorg/ruby-ex.git" is "Python", instead of Ruby
Product: OpenShift Container Platform Reporter: Marek Schmidt <maschmid>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, jokerman, mfojtik
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:25:34 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 Marek Schmidt 2020-04-06 16:24:03 UTC
Description of problem:

./oc new-project foobar

says 

"For example, try: oc new-app ruby~https://github.com/sclorg/ruby-ex.git to build a new example application in Python."

The example is Ruby, not Python.

Version-Release number of selected component (if applicable):
./oc version
Client Version: 4.4.0-0.nightly-2020-04-04-025830
Server Version: 4.4.0-0.nightly-2020-04-04-025830
Kubernetes Version: v1.17.1


How reproducible:
Always

Steps to Reproduce:
1. oc new-project foobar

Actual results:

says

"For example, try: oc new-app ruby~https://github.com/sclorg/ruby-ex.git to build a new example application in Python."


Expected results:

should either suggest an actual Python example, or admit the "ruby~https://github.com/sclorg/ruby-ex.git" example is actually in Ruby

Additional info:

Comment 4 RamaKasturi 2020-04-30 15:26:16 UTC
Verified in the below versions and i see that "to build a new example application in Python" has been changed to "to build a new example application in Ruby.", so moving the bug to verified state.

[ramakasturinarra@dhcp OpenShift]$ oc version
Client Version: 4.5.0-202004300829-5079abc
Server Version: 4.5.0-0.nightly-2020-04-30-023404
Kubernetes Version: v1.18.0-rc.1

Comment 5 RamaKasturi 2020-04-30 15:28:00 UTC

(In reply to RamaKasturi from comment #4)
> Verified in the below versions and i see that "to build a new example
> application in Python" has been changed to "to build a new example
> application in Ruby.", so moving the bug to verified state.
> 
> [ramakasturinarra@dhcp OpenShift]$ oc version
> Client Version: 4.5.0-202004300829-5079abc
> Server Version: 4.5.0-0.nightly-2020-04-30-023404
> Kubernetes Version: v1.18.0-rc.1

Adding the complete output which is seen while a new project is been created.

[ramakasturinarra@dhcp OpenShift]$ oc new-project test2
Now using project "test2" on server "https://api.knarra-4430.qe.devcluster.openshift.com:6443".

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app ruby~https://github.com/sclorg/ruby-ex.git

to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:

    kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node

Comment 6 errata-xmlrpc 2020-07-13 17:25:34 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-2020:2409