Che: [Hosted Che] java + mysql / java + mongo devfiles are failing on Hosted Che with quota issue

Created on 9 Apr 2020  路  6Comments  路  Source: eclipse/che

java + mysql / java + mongo devfiles are failing on Hosted Che with quota issue.

Che version

7.11.0

Steps to reproduce

  • Start workspace with any of those stacks on Hosted Che:

image

Expected behavior

Workspace started without quota issues

Eclipse Che Logs

pulling image "quay.io/eclipse/che-plugin-metadata-broker:v3.1.2"
Successfully pulled image "quay.io/eclipse/che-plugin-metadata-broker:v3.1.2"
Created container
Started container
Starting plugin metadata broker
List of plugins and editors to install
- redhat/java/latest - Java Linting, Intellisense, formatting, refactoring, Maven/Gradle support and more...
- redhat-developer/che-workspace-telemetry-woopra-backend/0.0.1 - Telemetry plugin to send information to Woopra
- eclipse/che-machine-exec-plugin/7.11.0 - Che Plug-in with che-machine-exec service to provide creation terminal or tasks for Eclipse Che workspace containers.
- eclipse/che-theia/7.11.0 - Eclipse Theia

All plugin metadata has been successfully processed
Error: Failed to run the workspace: "Failure executing: POST at: https://f8osoproxy-test-dsaas-production.09b5.dsaas.openshiftapps.com/apis/apps/v1/namespaces/ibuziuk-che/deployments. Message: Deployment.apps "workspacepmm4chbb8avsx137.workspace" is invalid: spec.template.spec.containers[3].resources.requests: Invalid value: "67108864": must be less than or equal to memory limit. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.template.spec.containers[3].resources.requests, message=Invalid value: "67108864": must be less than or equal to memory limit, reason=FieldValueInvalid, additionalProperties={})], group=apps, kind=Deployment, name=workspacepmm4chbb8avsx137.workspace, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Deployment.apps "workspacepmm4chbb8avsx137.workspace" is invalid: spec.template.spec.containers[3].resources.requests: Invalid value: "67108864": must be less than or equal to memory limit, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={})."
aredevfile-registry arehosted-che kinbug severitP1

All 6 comments

Looks like it could be related to https://github.com/eclipse/che/issues/16572

@JPinkney good catch, do you happen to know who is working on the fix?

It looks like @mingfang just started on a fix, once he does a PR to the devfile registry I'll merge it

Fix has been promoted to prod. @mingfang thank you for the help! Closing

Was this page helpful?
0 / 5 - 0 ratings