redhat-developer / redhat-developer/vscode-openshift-tools

"message": "no deployable components found" when create a new component in vscode

Open
#2,498 34 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
123
Forks
63
Avg merge
6h 16m
Merged PRs (30d)
74

Description

I installed the openshift connector extension for vscode. I tried to deploy a spring boot restful api java application to openshift cluster. When I did "create a new component", get the following error. What settings I have to configure such that the extension can find a deployable component?

Command failed: "/Users/hchen/.vscode/extensions/redhat.vscode-openshift-connector-0.4.0-darwin-x64/out/tools/darwin/odo" catalog list components -o json
{
"kind": "Error",
"apiVersion": "odo.dev/v1alpha1",
"metadata": {
"creationTimestamp": null
},
"message": "no deployable components found"
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the VS Code extension's odo catalog list components -o json command and inspect the reported no deployable components found response for the Spring Boot application. Done means the extension can find the application's deployable component when using "create a new component".

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes, spring-boot, typescript
Domain
cloud, developer-experience, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.