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

Che throws server exception when OpenShift/k8s recipe cannot be loaded. #12522

Closed
amisevsk opened this issue Jan 26, 2019 · 1 comment
Closed
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@amisevsk
Copy link
Contributor

Description

When an OpenShift/Kubernetes recipe cannot be loaded (e.g. it has an object with non-existent kind section), an internal server error occurs.

Instead a) this error should be handled, and b) a message should be shown to the user with the actual issue (e.g. "No resource type found for: v1#Pod1")

Reproduction Steps

  1. Create Che 7 workspace
  2. Edit workspace config recipe.content to change kind: Pod to kind: Pod2.
  3. Attempt to save changes
  4. Internal Server Error occurred,
@amisevsk amisevsk added kind/bug Outline of a bug - must adhere to the bug report template. team/osio labels Jan 26, 2019
@amisevsk amisevsk self-assigned this Jan 26, 2019
@amisevsk
Copy link
Contributor Author

amisevsk commented Feb 1, 2019

Fixed in #12486

@amisevsk amisevsk closed this as completed Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

1 participant