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

Default URL does not propagate to .odo/env/env.yaml and you cannot delete it. #3893

Closed
cdrage opened this issue Sep 3, 2020 · 1 comment
Closed
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)).

Comments

@cdrage
Copy link
Member

cdrage commented Sep 3, 2020

/kind bug

What versions of software are you using?

Operating System: Linux

Output of odo version: master

How did you run odo exactly?

See this GIST: https://gist.github.com/cdrage/62a6c6184c827ce834cbb920e0e8a848

Essentially the following below:

~/openshift/o                                                                                                                                                                                                                                                                                                                                                               
▶ odo create nodejs foobar --starter
Experimental mode is enabled, use at your own risk

Validation
 ✓  Checking devfile existence [45784ns]
 ✓  Checking devfile compatibility [117619ns]
 ✓  Creating a devfile component from registry: DefaultDevfileRegistry [131631ns]
 ✓  Validating devfile component [297606ns]

Starter Project
 ✓  Downloading starter project nodejs-starter from https://github.com/odo-devfiles/nodejs-ex.git [173ms]

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

~/openshift/o                                                                                                                                                                                                                                                                                                                                                               
▶ odo push

Validation
 ✓  Validating the devfile [40806ns]

Creating Kubernetes resources for component foobar
 ✓  Waiting for component to start [4s]

Applying URL changes
 ✓  URL http-3000: http://http-3000-foobar-foo.e8ca.REDACTED created

Syncing to component foobar
 ✓  Checking files for pushing [1ms]
 ✓  Syncing files to the component [830ms]

Executing devfile commands for component foobar
 ✓  Executing install command "npm install" [3s]
 ✓  Executing run command "npm start" [1s]

Pushing devfile component foobar
 ✓  Changes successfully pushed to component

~/openshift/o                                                                                                                                                                                                                                                                                                                                                               
▶ odo url list
Found the following URLs for component foobar
NAME          STATE               URL                                                           PORT     SECURE     KIND
http-3000     Locally Deleted     http://http-3000-foobar-foo.e8ca.REDACTED     3000     false      route
There are local changes. Please run 'odo push'.

~/openshift/o                                                                                                                                                                                                                                                                                                                                                               
▶ odo url delete http-3000 -f
 ✗  the URL http-3000 does not exist within the component foobar

Actual behavior

Unable to delete the actual URL that's pushed

Expected behavior

Expected behavior is that we would be able to delete the URL that's created within odo push

Any logs, error output, etc?

See above

@cdrage cdrage added the priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). label Sep 3, 2020
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Sep 3, 2020
@cdrage cdrage mentioned this issue Sep 3, 2020
4 tasks
@girishramnani
Copy link
Contributor

seems like #3857 resolved it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)).
Projects
None yet
Development

No branches or pull requests

4 participants