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

[Regression] Apache Camel devfile not starting on Hosted Che #13832

Closed
Katka92 opened this issue Jul 12, 2019 · 5 comments
Closed

[Regression] Apache Camel devfile not starting on Hosted Che #13832

Katka92 opened this issue Jul 12, 2019 · 5 comments
Labels
area/devfile-registry kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@Katka92
Copy link
Contributor

Katka92 commented Jul 12, 2019

Description

When starting Che 7 workspace based on Apache Camel based on Spring Boot, the workspace is not started saying Error: Failed to run the workspace: "Unrecoverable event occurred: 'FailedCreate', 'Error creating: pods "workspacevd196kj996eb1v7b.maven-85dcd48884-55sdr" is forbidden: [maximum cpu usage per Pod is 6, but limit is 6424m., maximum memory usage per Pod is 3Gi, but limit is 3450109952.]', 'workspacevd196kj996eb1v7b.maven-85dcd48884'".
Screenshot:
image

Reproduction Steps

Log in to https://che.prod-preview.openshift.io. Click Add Workspace, click Apache Camel based on Spring Boot and hit the button CREATE & OPEN.

OS and version:
https://che.prod-preview.openshift.io with version 7.0.0-rh-3.0

@rhopp rhopp added team/osio area/devfile-registry kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. labels Jul 12, 2019
@rhopp rhopp added this to the 7.1.0 milestone Jul 12, 2019
@ibuziuk
Copy link
Member

ibuziuk commented Jul 12, 2019

cc: @tsmaeder it looks like apache camel requires more than 3 GB of RAM, will it be possible to meet 3 GB requirement for this devfile?

@l0rd @slemeur in general in order to have all the devfiles supported on che.openshift.io we need to make 3 GB of RAM as a limitation for all the devfiles in the registry

@rhopp
Copy link
Contributor

rhopp commented Jul 12, 2019

@l0rd @slemeur So far I've put milestone 7.1 to this, as this is not working only on che.openshift.io (due to memory limits). If you think otherwise, feel free to change this.
btw. Do we need this devfile for che 7.0 GA? That may be the simplest and safest solution.

@apupier
Copy link
Contributor

apupier commented Jul 23, 2019

it was working before on che.openshift.io. I spent a large amount of time to tweak memory limits to be able to do it. Why is it not working anymore? Which memory limits are no more correct?

Also, we have not included Project Initializer in it to be able to work on che.openshift.io. very disappointed that it is no more working.

@apupier
Copy link
Contributor

apupier commented Jul 23, 2019

Maybe it is because the apache camel plugin has no more memory limit specified in devfile

https://github.com/eclipse/che-devfile-registry/blob/91f5b9bc220ceb6105ba17aaa7b6a7361367e880/devfiles/apache-camel-springboot/devfile.yaml#L16-L18

and that the default value for plugin is set to 512M

https://github.com/eclipse/che-plugin-registry/blob/603ff3819b973b138f806e9f7c0bb8c6ddcb5c4d/v3/plugins/camel-tooling/vscode-apache-camel/0.0.14/meta.yaml#L17

although in initial proposal, it was 128M

#13146 (comment)

i'm nto sure how I can test as i cannot access https://che.prod-preview.openshift.io/dashboard/
and i'm also no more able to connect to http://che.openshift.io so cannot test it withthem.
I installed Che 7 locally. how can i set the workspace limit for workspace the same way?

@apupier
Copy link
Contributor

apupier commented Jul 23, 2019

there is also the Java extension which is now 1500M by default https://github.com/eclipse/che-plugin-registry/blob/603ff3819b973b138f806e9f7c0bb8c6ddcb5c4d/v3/plugins/redhat/java/latest/meta.yaml#L16-L18
although using 1280M in the initial stack
#13146 (comment)

@apupier apupier changed the title Apache Camel devfile not starting on Hosted Che [Regression] Apache Camel devfile not starting on Hosted Che Jul 23, 2019
apupier added a commit to apupier/che-devfile-registry that referenced this issue Jul 23, 2019
che.openshift.io eclipse-che/che#13832

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
apupier added a commit to apupier/che-devfile-registry that referenced this issue Jul 24, 2019
che.openshift.io eclipse-che/che#13832

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
ibuziuk pushed a commit to eclipse-che/che-devfile-registry that referenced this issue Jul 25, 2019
che.openshift.io eclipse-che/che#13832

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
@apupier apupier modified the milestones: 7.1.0, 7.0.0 Jul 26, 2019
@apupier apupier closed this as completed Jul 26, 2019
nickboldt pushed a commit to nickboldt/che-devfile-registry that referenced this issue Aug 9, 2019
che.openshift.io eclipse-che/che#13832

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devfile-registry kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants