-
Bug
-
Resolution: Done
-
Critical
-
2.0.0.GA
-
None
-
CRW 2.0 installed on OCP 3.11 instance by chectl:next:
chectl server:start -a operator -p openshift -b console.ocp311.crw --che-operator-image=quay.io/crw/operator-rhel8:2.0 --che-operator-cr-yaml=/home/ashmaraiev/CRW2/crw2-cr.yaml -n aleks-crw2-test
apiVersion: org.eclipse.che/v1 kind: CheCluster metadata: name: eclipse-che spec: server: # server image used in Che deployment cheImage: 'quay.io/crw/server-rhel8' # tag of an image used in Che deployment cheImageTag: '2.0' # image:tag used in Devfile registry deployment devfileRegistryImage: 'quay.io/crw/devfileregistry-rhel8:2.0' # image:tag used in plugin registry deployment pluginRegistryImage: 'quay.io/crw/pluginregistry-rhel8:2.0' # defaults to `che`. When set to `codeready`, CodeReady Workspaces is deployed # the difference is in images, labels, exec commands cheFlavor: 'codeready' # when set to true the operator will attempt to get a secret in OpenShift router namespace # to add it to Java trust store of Che server. Requires cluster-admin privileges for operator service account # selfSignedCert: false # TLS mode for Che. Make sure you either have public cert, or set selfSignedCert to true # tlsSupport: false # protocol+hostname of a proxy server. Automatically added as JAVA_OPTS and https(s)_proxy # to Che server and workspaces containers # proxyURL: '' # port of a proxy server # proxyPort: '' # username for a proxy server # proxyUser: '' # password for a proxy user # proxyPassword: '' # a list of non-proxy hosts. Use | as delimiter, eg localhost|my.host.com|123.42.12.32 # nonProxyHosts: '' # overrides for https://github.com/eclipse/che/blob/master/assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/che.properties customCheProperties: CHE_WORKSPACE_SIDECAR_IMAGE__PULL__POLICY: 'Always' CHE_DOCKER_ALWAYS__PULL__IMAGE: 'true' CHE_INFRA_KUBERNETES_PVC_JOBS_IMAGE: 'registry.access.redhat.com/ubi8-minimal:8.0-213' CHE_WORKSPACE_PLUGIN__BROKER_INIT_IMAGE: 'quay.io/crw/pluginbrokerinit-rhel8:2.0' CHE_WORKSPACE_PLUGIN__BROKER_UNIFIED_IMAGE: 'quay.io/crw/pluginbroker-rhel8:2.0' CHE_SERVER_SECURE__EXPOSER_JWTPROXY_IMAGE: 'quay.io/crw/jwtproxy-rhel8:2.0' # when set to true, the operator skips deploying Postgres, and passes connection details of existing DB to Che server # otherwise a Postgres deployment is created # externalDb: false # Postgres deployment in format image:tag. Defaults to registry.redhat.io/rhscl/postgresql-96-rhel7 (see pkg/deploy/defaults.go for latest tag) postgresImage: 'registry.redhat.io/rhscl/postgresql-96-rhel7:1-47' storage: # persistent volume claim strategy for Che server. Can be common (all workspaces PVCs in one volume), # per-workspace (one PVC per workspace for all declared volumes) and unique (one PVC per declared volume). Defaults to common # pvcStrategy: 'per-workspace' # size of a persistent volume claim for workspaces. Defaults to 1Gi # pvcClaimSize: '1Gi' # instruct Che server to launch a special pod to precreate a subpath in a PV # preCreateSubPaths: true # image:tag for preCreateSubPaths jobs pvcJobsImage: 'registry.access.redhat.com/ubi8-minimal:8.0-213' auth: # instructs operator on whether or not to deploy Keycloak/RH SSO instance. When set to true provision connection details # externalIdentityProvider: false # retrieved from respective route/ingress unless explicitly specified in CR (when ExternalKeycloak is true) # instructs an Operator to enable OpenShift v3 identity provider in Keycloak, # as well as create respective oAuthClient and configure Che configMap accordingly # openShiftoAuth: false # image:tag used in Keycloak deployment identityProviderImage: 'registry.redhat.io/redhat-sso-7/sso73-openshift:1.0-15' # your global ingress domain # ingressDomain: '192.168.99.101.nip.io'
CRW 2.0 installed on OCP 3.11 instance by chectl:next: chectl server:start -a operator -p openshift -b console.ocp311.crw --che- operator -image=quay.io/crw/ operator -rhel8:2.0 --che- operator -cr-yaml=/home/ashmaraiev/CRW2/crw2-cr.yaml -n aleks-crw2-test crw2-cr.yaml: https://gist.github.com/rhopp/89c2de97c0dfb750412bd06f255a0fcd apiVersion: org.eclipse.che/v1 kind: CheCluster metadata: name: eclipse-che spec: server: # server image used in Che deployment cheImage: 'quay.io/crw/server-rhel8' # tag of an image used in Che deployment cheImageTag: '2.0' # image:tag used in Devfile registry deployment devfileRegistryImage: 'quay.io/crw/devfileregistry-rhel8:2.0' # image:tag used in plugin registry deployment pluginRegistryImage: 'quay.io/crw/pluginregistry-rhel8:2.0' # defaults to `che`. When set to `codeready`, CodeReady Workspaces is deployed # the difference is in images, labels, exec commands cheFlavor: 'codeready' # when set to true the operator will attempt to get a secret in OpenShift router namespace # to add it to Java trust store of Che server. Requires cluster-admin privileges for operator service account # selfSignedCert: false # TLS mode for Che. Make sure you either have public cert, or set selfSignedCert to true # tlsSupport: false # protocol+hostname of a proxy server. Automatically added as JAVA_OPTS and https(s)_proxy # to Che server and workspaces containers # proxyURL: '' # port of a proxy server # proxyPort: '' # username for a proxy server # proxyUser: '' # password for a proxy user # proxyPassword: '' # a list of non-proxy hosts. Use | as delimiter, eg localhost|my.host.com|123.42.12.32 # nonProxyHosts: '' # overrides for https: //github.com/eclipse/che/blob/master/assembly/assembly-wsmaster-war/src/main/webapp/WEB-INF/classes/che/che.properties customCheProperties: CHE_WORKSPACE_SIDECAR_IMAGE__PULL__POLICY: 'Always' CHE_DOCKER_ALWAYS__PULL__IMAGE: ' true ' CHE_INFRA_KUBERNETES_PVC_JOBS_IMAGE: 'registry.access.redhat.com/ubi8-minimal:8.0-213' CHE_WORKSPACE_PLUGIN__BROKER_INIT_IMAGE: 'quay.io/crw/pluginbrokerinit-rhel8:2.0' CHE_WORKSPACE_PLUGIN__BROKER_UNIFIED_IMAGE: 'quay.io/crw/pluginbroker-rhel8:2.0' CHE_SERVER_SECURE__EXPOSER_JWTPROXY_IMAGE: 'quay.io/crw/jwtproxy-rhel8:2.0' # when set to true , the operator skips deploying Postgres, and passes connection details of existing DB to Che server # otherwise a Postgres deployment is created # externalDb: false # Postgres deployment in format image:tag. Defaults to registry.redhat.io/rhscl/postgresql-96-rhel7 (see pkg/deploy/defaults.go for latest tag) postgresImage: 'registry.redhat.io/rhscl/postgresql-96-rhel7:1-47' storage: # persistent volume claim strategy for Che server. Can be common (all workspaces PVCs in one volume), # per-workspace (one PVC per workspace for all declared volumes) and unique (one PVC per declared volume). Defaults to common # pvcStrategy: 'per-workspace' # size of a persistent volume claim for workspaces. Defaults to 1Gi # pvcClaimSize: '1Gi' # instruct Che server to launch a special pod to precreate a subpath in a PV # preCreateSubPaths: true # image:tag for preCreateSubPaths jobs pvcJobsImage: 'registry.access.redhat.com/ubi8-minimal:8.0-213' auth: # instructs operator on whether or not to deploy Keycloak/RH SSO instance. When set to true provision connection details # externalIdentityProvider: false # retrieved from respective route/ingress unless explicitly specified in CR (when ExternalKeycloak is true ) # instructs an Operator to enable OpenShift v3 identity provider in Keycloak, # as well as create respective oAuthClient and configure Che configMap accordingly # openShiftoAuth: false # image:tag used in Keycloak deployment identityProviderImage: 'registry.redhat.io/redhat-sso-7/sso73-openshift:1.0-15' # your global ingress domain # ingressDomain: '192.168.99.101.nip.io'
There was Not Found error on start of java Maven workspace:
The same result with Node JS workspace:
Default devfile:
metadata: name: jmaven projects: - name: console-java-simple source: location: 'https://github.com/che-samples/console-java-simple' type: git components: - id: redhat/java8/latest type: chePlugin - mountSources: true memoryLimit: 512Mi type: dockerimage volumes: - name: m2 containerPath: /home/jboss/.m2 image: registry.redhat.io/codeready-workspaces/stacks-java-rhel8 alias: maven env: - value: /home/jboss/.m2 name: MAVEN_CONFIG - value: >- -XX:MaxRAMPercentage=50.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/jboss name: JAVA_OPTS - value: $(JAVA_OPTS) name: MAVEN_OPTS apiVersion: 1.0.0 commands: - name: maven build actions: - workdir: '${CHE_PROJECTS_ROOT}/console-java-simple' type: exec command: mvn clean install component: maven - name: maven build and run actions: - workdir: '${CHE_PROJECTS_ROOT}/console-java-simple' type: exec command: mvn clean install && java -jar ./target/*.jar component: maven - name: dependency analysis actions: - type: exec command: >- ${HOME}/stack-analysis.sh -f ${CHE_PROJECTS_ROOT}/console-java-simple/pom.xml -p ${CHE_PROJECTS_ROOT}/console-java-simple component: maven