-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
devfiles v1 is not working with devWorkspace.enabled #20072
Comments
Cannot reproduce on 4.7 RHPDS. |
@mshaposhnik I get also using installer operator for chectl:
|
@flacatus can you provide CheCluster configuration? |
With single-host exposure: + echo '{
"apiVersion": "org.eclipse.che/v1",
"kind": "CheCluster",
"metadata": {
"name": "eclipse-che"
},
"spec": {
"auth": {
"externalIdentityProvider": false,
"identityProviderAdminUserName": "",
"identityProviderClientId": "",
"identityProviderPassword": "",
"identityProviderRealm": "",
"identityProviderURL": "",
"initialOpenShiftOAuthUser": true,
"oAuthClientName": "",
"oAuthSecret": ""
},
"database": {
"chePostgresDb": "",
"chePostgresHostName": "",
"chePostgresPassword": "",
"chePostgresPort": "",
"chePostgresUser": "",
"externalDb": false
},
"devWorkspace": {
"enable": true
},
"metrics": {
"enable": true
},
"server": {
"allowUserDefinedWorkspaceNamespaces": false,
"cheClusterRoles": "",
"cheFlavor": "",
"cheWorkspaceClusterRole": "",
"gitSelfSignedCert": false,
"nonProxyHosts": "",
"proxyPassword": "",
"proxyPort": "",
"proxyURL": "",
"proxyUser": "",
"serverExposureStrategy": "single-host",
"serverTrustStoreConfigMapName": "",
"tlsSupport": true,
"useInternalClusterSVCNames": true,
"workspaceNamespaceDefault": "<username>-che"
},
"storage": {
"postgresPVCStorageClassName": "",
"preCreateSubPaths": true,
"pvcClaimSize": "10Gi",
"pvcStrategy": "common",
"workspacePVCStorageClassName": ""
}
}
}' |
Multi-host che cluster: + echo '{
"apiVersion": "org.eclipse.che/v1",
"kind": "CheCluster",
"metadata": {
"name": "eclipse-che"
},
"spec": {
"auth": {
"externalIdentityProvider": false,
"identityProviderAdminUserName": "",
"identityProviderClientId": "",
"identityProviderPassword": "",
"identityProviderRealm": "",
"identityProviderURL": "",
"initialOpenShiftOAuthUser": true,
"oAuthClientName": "",
"oAuthSecret": ""
},
"database": {
"chePostgresDb": "",
"chePostgresHostName": "",
"chePostgresPassword": "",
"chePostgresPort": "",
"chePostgresUser": "",
"externalDb": false
},
"devWorkspace": {
"enable": true
},
"metrics": {
"enable": true
},
"server": {
"allowUserDefinedWorkspaceNamespaces": false,
"cheClusterRoles": "",
"cheFlavor": "",
"cheWorkspaceClusterRole": "",
"gitSelfSignedCert": false,
"nonProxyHosts": "",
"proxyPassword": "",
"proxyPort": "",
"proxyURL": "",
"proxyUser": "",
"serverExposureStrategy": "multi-host",
"serverTrustStoreConfigMapName": "",
"tlsSupport": true,
"useInternalClusterSVCNames": true,
"workspaceNamespaceDefault": "<username>-che"
},
"storage": {
"postgresPVCStorageClassName": "",
"preCreateSubPaths": true,
"pvcClaimSize": "10Gi",
"pvcStrategy": "common",
"workspacePVCStorageClassName": ""
}
}
}' |
I think the problems comes when start v1 devfile with devworkspace enabled. |
v1 devfiles are expected to work with the devworkspace enabled I believe. |
I was able to reproduce with the following error:
|
AFAIK we didn't make a promise yet that two devfile engines will work together at the same time. The fact that it was working before I believe luck and not a deliberate action. As soon as we have more free hands we will take a look. |
cc: @benoitf not sure what shall we do with the dogfooding instance in this case |
expected behavior |
Describe the bug
Starting workspace in eclipse che nightly is not working on openshift 4.7 and openshft 4.8.
Che Server Error:
Openshift CI Job Logs: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/eclipse-che_che-operator/888/pull-ci-eclipse-che-che-operator-main-v8-multi-host-nightly-deployment/1411001758028664832/artifacts/multi-host-nightly-deployment/gather-extra/artifacts/pods/
Workspace used to start: "https://raw.githubusercontent.com/eclipse-che/che-devfile-registry/master/devfiles/go/devfile.yaml"
Che version
Steps to reproduce
Deploy che using
chectl server:deploy --platform=openshift --installer=olm
Expected behavior
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl version
commandEnvironment
Eclipse Che Logs
Additional context
The text was updated successfully, but these errors were encountered: