Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"odo url describe" doesn't state "Kind" of the url on windows platform #3532

Closed
prietyc123 opened this issue Jul 9, 2020 · 1 comment
Closed
Labels
area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. kind/bug Categorizes issue or PR as related to a bug.

Comments

@prietyc123
Copy link
Contributor

/kind bug

What versions of software are you using?

Operating System:
Win10, 3.11 cluster on PSI

Output of odo version:
master

How did you run odo exactly?

Ran the steps both on windows and macOS. But on windows its not stating the Kind field.

Steps to reproduce:

On windows:

1. odo preference set Experimental true
Global preference was successfully updated

2. odo project create testdevurl
 V  Project 'testdevurl' is ready for use
 V  New project created and now using project: testdevurl
  1. Copy the project dir of devfile nodejs to the current working directory
4. cd ./project

5. odo create nodejs --project testdevurl blah
Experimental mode is enabled, use at your own risk

Validation
 V  Checking devfile compatibility [2ms]
 V  Creating a devfile component from registry: DefaultDevfileRegistry [89ms]
 V  Validating devfile component [1ms]

Please use `odo push` command to create the component with source deployed

6. odo url create myurlwithhost --port 3000 --host testh.com --ingress 
 V  URL myurlwithhost created for component: blah

To apply the URL configuration changes, please use `odo push`

7. odo url describe myurlwithhost
NAME              STATE          URL                                PORT     SECURE
myurlwithhost     Not Pushed     http://myurlwithhost.testh.com     3000     false
There are local changes. Please run 'odo push'.

macOS:

1. odo preference set Experimental true
Global preference was successfully updated

2. odo project create testdevurl
 V  Project 'testdevurl' is ready for use
 V  New project created and now using project: testdevurl
  1. Copy the project dir of devfile nodejs to the current working directory
4. cd ./project

5. odo create nodejs --project testdevurl blah
Experimental mode is enabled, use at your own risk

Validation
 ✓  Checking devfile existence [136531ns]
 ✓  Checking devfile compatibility [538783ns]
 ✓  Creating a devfile component from registry: RegistryName [515404ns]
 ✓  Validating devfile component [569407ns]

Please use `odo push` command to create the component with source deployed

6. odo url create myurlwithhost --port 3000 --host testh.com --ingress
 ✓  URL myurlwithhost created for component: blah

To apply the URL configuration changes, please use `odo push`

7. odo url describe myurlwithhost
NAME              STATE          URL                                PORT     SECURE     KIND
myurlwithhost     Not Pushed     http://myurlwithhost.testh.com     3000     false      ingress
There are local changes. Please run 'odo push'.

Actual behavior

Described in how to reproduce on windows.

Expected behavior

Should give the result as on macOS.

odo url describe myurlwithhost
NAME              STATE          URL                                PORT     SECURE     KIND
myurlwithhost     Not Pushed     http://myurlwithhost.testh.com     3000     false      ingress
There are local changes. Please run 'odo push'.

Any logs, error output, etc?

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 9, 2020
@prietyc123 prietyc123 added the area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. label Jul 9, 2020
@prietyc123
Copy link
Contributor Author

prietyc123 commented Jul 9, 2020

It was happening basically due to oldest version of odo. On latest master it works fine, so closing the issue

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants