Skip to content

Misleading url name issue when using the java-openliberty devfile #4060

@sympatheticmoose

Description

@sympatheticmoose

/kind bug

What versions of software are you using?

Operating System: MacOS 10.15.7

**Output of odo version:**odo v2.0.0 (6fbb9d9)

How did you run odo exactly?

  1. odo create java-openliberty --starter
  2. odo url create --host localhost

Actual behavior

Output is ✓ URL java-openliberty-9080 created for component: java-openliberty
Then with odo push you get the message:
✓ URL java-openlibert: http://java-openlibert.localhost/ created

and odo url list gives:
Screenshot 2020-09-30 at 13 57 41

However, you can't do odo url delete java-openlibert... ✗ the URL java-openlibert does not exist as the url name is actually java-openliberty-9080 as with the output msg from url create.

Expected behavior

I'd expect the service to be available at 'java-openliberty-9080.localhost' and the url name to be java-openliberty-9080. Not sure where the truncation is happening.

Any logs, error output, etc?

Metadata

Metadata

Assignees

Labels

estimated-size/M (10-20)Rough sizing for Epics. About 1 sprint of work for one personkind/bugCategorizes issue or PR as related to a bug.priority/MediumNice to have issue. Getting it done before priority changes would be great.v2Issue or PR that applies to the v2 of odo

Type

No type

Projects

Status

Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions