Bug 1821356 - "oc new-project" output says "oc new-app ruby~https://github.com/sclorg/ruby-ex.git" is "Python", instead of Ruby
Summary: "oc new-project" output says "oc new-app ruby~https://github.com/sclorg/ruby...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.5.0
Assignee: Maciej Szulik
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-06 16:24 UTC by Marek Schmidt
Modified: 2020-07-13 17:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:25:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift oc pull 377 0 None closed Bug 1821356: fix comment 2020-07-13 14:27:03 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:25:53 UTC

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


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