-
Bug
-
Resolution: Done
-
Blocker
-
3.2.0.GA
-
False
-
-
False
It's not possible to open DS 3.2.0.ER-09-10 workspace from devfile samples:
- devspaces-operator-bundle-container-3.2-132
- Index image v4.10: brew.registry.redhat.io/rh-osbs/iib:313573
DWO:
- registry-proxy.engineering.redhat.com/rh-osbs/devworkspace-operator-bundle:0.15-3.1661828401
- Index image v4.10: registry-proxy.engineering.redhat.com/rh-osbs/iib:304693
Released DWO version: 0.15.2+0.1661828401.p
screencast-devspaces.apps.ocp410.crw-qe.com-2022.09.12-12_48_15.webm
There is only "che-gateway" container available:
time="2022-09-12T09:48:18Z" level=info msg="Configuration loaded from file: /etc/traefik/traefik.yml" time="2022-09-12T09:48:18Z" level=info msg="Traefik version c9520 built on 2022-09-10_01:45:07AM" time="2022-09-12T09:48:18Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://doc.traefik.io/traefik/contributing/data-collection/\n" time="2022-09-12T09:48:18Z" level=warning msg="Traefik Pilot is deprecated and will be removed soon. Please check our Blog for migration instructions later this year." time="2022-09-12T09:48:18Z" level=info msg="Starting provider aggregator aggregator.ProviderAggregator" time="2022-09-12T09:48:18Z" level=info msg="Starting provider *file.Provider" time="2022-09-12T09:48:18Z" level=error msg="Cannot start the provider *file.Provider: routers cannot be a standalone element (type map[string]*dynamic.Router)" time="2022-09-12T09:48:18Z" level=info msg="Starting provider *traefik.Provider" time="2022-09-12T09:48:18Z" level=info msg="Starting provider *acme.ChallengeTLSALPN"
schemaVersion: 2.1.0
metadata:
name: jboss-eap-quickstarts
namespace: admin-devspaces
projects:
- name: jboss-eap-quickstarts
zip:
location: 'http://devfile-registry.openshift-devspaces.svc:8080/resources/v2/jboss-eap-quickstarts.zip'
components: []
commands:
- exec:
commandLine: 'mvn ${MVN_ARGS_APPEND} clean install'
component: tools
group:
kind: build
workingDir: '${PROJECTS_ROOT}/jboss-eap-quickstarts/kitchensink-jsp'
id: 1-build
- exec:
commandLine: './jboss-cli.sh --connect --command="data-source add --name=ExampleDS --jndi-name=java:jboss/datasources/ExampleDS --driver-name=h2 --connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE --user-name=sa --password=sa" && echo ''Server was configured'''
component: eap
group:
kind: build
workingDir: /opt/eap/bin
id: 2-configure-web-server
- exec:
commandLine: 'cp target/*.war /opt/eap/standalone/deployments/ROOT.war && echo ''Archive was deployed, click on eap endpoint from Workspace view to open the application'''
component: eap
group:
kind: run
workingDir: '${PROJECTS_ROOT}/jboss-eap-quickstarts/kitchensink-jsp'
id: 3-copy-war
- exec:
commandLine: 'mvn ${MVN_ARGS_APPEND} clean install && sleep 2 && cp target/*.war /opt/eap/standalone/deployments/ROOT.war'
component: eap
group:
kind: run
workingDir: '${PROJECTS_ROOT}/jboss-eap-quickstarts/kitchensink-jsp'
id: 4-hot-update
apiVersion: workspace.devfile.io/v1alpha2
kind: DevWorkspace
metadata:
annotations:
che.eclipse.org/che-editor: eclipse/che-theia/latest
che.eclipse.org/devfile-source: |
factory:
params: >-
devWorkspace=https://devspaces.apps.ocp410.crw-qe.com/devfile-registry/devfiles/00_java11-maven-eap/devworkspace-che-theia-latest.yaml&storageType=persistent&url=https://github.com/devspaces-samples/jboss-eap-quickstarts/tree/devspaces-3.2-rhel-8
che.eclipse.org/last-updated-timestamp: '2022-09-13T14:06:30.726Z'
controller.devfile.io/started-at: '1663077993553'
resourceVersion: '25393473'
name: jboss-eap-quickstarts
uid: 8b03b899-c29e-4f70-931c-873b9dd3da18
creationTimestamp: '2022-09-13T14:06:29Z'
generation: 2
managedFields:
- apiVersion: workspace.devfile.io/v1alpha2
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
.: {}
'f:che.eclipse.org/che-editor': {}
'f:che.eclipse.org/devfile-source': {}
'f:che.eclipse.org/last-updated-timestamp': {}
'f:spec':
.: {}
'f:routingClass': {}
'f:started': {}
'f:template':
.: {}
'f:commands': {}
'f:components': {}
'f:projects': {}
manager: unknown
operation: Update
time: '2022-09-13T14:06:29Z'
- apiVersion: workspace.devfile.io/v1alpha2
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
'f:controller.devfile.io/started-at': {}
manager: devworkspace-controller
operation: Update
time: '2022-09-13T14:06:33Z'
- apiVersion: workspace.devfile.io/v1alpha2
fieldsType: FieldsV1
fieldsV1:
'f:status':
'f:conditions': {}
'f:message': {}
'f:phase': {}
manager: devworkspace-controller
operation: Update
subresource: status
time: '2022-09-13T14:06:33Z'
namespace: admin-devspaces
labels:
controller.devfile.io/creator: b19b0ecb-4299-48cf-bd65-d95b57ef0b6e
spec:
routingClass: che
started: true
template:
commands:
- exec:
commandLine: 'mvn ${MVN_ARGS_APPEND} clean install'
component: tools
group:
kind: build
workingDir: '${PROJECTS_ROOT}/jboss-eap-quickstarts/kitchensink-jsp'
id: 1-build
- exec:
commandLine: >-
./jboss-cli.sh --connect --command="data-source add --name=ExampleDS
--jndi-name=java:jboss/datasources/ExampleDS --driver-name=h2
--connection-url=jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
--user-name=sa --password=sa" && echo 'Server was configured'
component: eap
group:
kind: build
workingDir: /opt/eap/bin
id: 2-configure-web-server
- exec:
commandLine: >-
cp target/*.war /opt/eap/standalone/deployments/ROOT.war && echo
'Archive was deployed, click on eap endpoint from Workspace view to
open the application'
component: eap
group:
kind: run
workingDir: '${PROJECTS_ROOT}/jboss-eap-quickstarts/kitchensink-jsp'
id: 3-copy-war
- exec:
commandLine: >-
mvn ${MVN_ARGS_APPEND} clean install && sleep 2 && cp target/*.war
/opt/eap/standalone/deployments/ROOT.war
component: eap
group:
kind: run
workingDir: '${PROJECTS_ROOT}/jboss-eap-quickstarts/kitchensink-jsp'
id: 4-hot-update
projects:
- name: jboss-eap-quickstarts
zip:
location: >-
http://devfile-registry.openshift-devspaces.svc:8080/resources/v2/jboss-eap-quickstarts.zip
status:
conditions:
- lastTransitionTime: '2022-09-13T14:06:30Z'
message: No warnings in processing DevWorkspace
status: 'False'
type: DevWorkspaceWarning
- lastTransitionTime: '2022-09-13T14:06:30Z'
message: DevWorkspace is starting
status: 'True'
type: Started
- lastTransitionTime: '2022-09-13T14:06:30Z'
message: Resolved plugins and parents from DevWorkspace
status: 'True'
type: DevWorkspaceResolved
- lastTransitionTime: '2022-09-13T14:06:30Z'
message: Storage ready
status: 'True'
type: StorageReady
- lastTransitionTime: '2022-09-13T14:06:30Z'
message: Networking ready
status: 'True'
type: RoutingReady
- lastTransitionTime: '2022-09-13T14:06:31Z'
message: DevWorkspace serviceaccount ready
status: 'True'
type: ServiceAccountReady
- lastTransitionTime: '2022-09-13T14:06:31Z'
message: DevWorkspace secrets ready
status: 'True'
type: PullSecretsReady
- lastTransitionTime: '2022-09-13T14:06:33Z'
message: DevWorkspace deployment ready
status: 'True'
type: DeploymentReady
- lastTransitionTime: '2022-09-13T14:06:33Z'
status: 'True'
type: Ready
devworkspaceId: workspace8b03b899c29e4f70
message: Workspace is running
phase: Running
The issue has been reproduced with DS 3.2.0.ER-09-12 deployed to OCP 4.10 on IBM Z / Power, and on x86 OCP 4.11 deployed to AWS:
- Dev Spaces: index image v4.11: brew.registry.redhat.io/rh-osbs/iib:314259
- pre-installed DWO 0.15.2: index image v4.11: brew.registry.redhat.io/rh-osbs/iib:304696
!!! Workspace has started successfully using factory link: https://github.com/dmytro-ndp/dotnet-web-simple/tree/devspaces-3.2-rhel-8
schemaVersion: 2.1.0
metadata:
name: dotnet
namespace: admin-devspaces
attributes: {}
projects:
- git:
checkoutFrom:
revision: devspaces-3.2-rhel-8
remotes:
origin: 'https://github.com/devspaces-samples/dotnet-web-simple.git'
name: dotnet-web-simple
components:
- attributes:
app.kubernetes.io/name: tools
che-theia.eclipse.org/vscode-extensions: []
container:
args:
- sh
- '-c'
- '${PLUGIN_REMOTE_ENDPOINT_EXECUTABLE}'
endpoints:
- exposure: public
name: hello-endpoint
protocol: http
targetPort: 5000
env:
- name: PLUGIN_REMOTE_ENDPOINT_EXECUTABLE
value: /remote-endpoint/plugin-remote-endpoint
- name: THEIA_PLUGINS
value: 'local-dir:///plugins/sidecars/tools'
- name: CHE_DASHBOARD_URL
value: 'https://devspaces.apps.ocp410.crw-qe.com'
- name: CHE_PLUGIN_REGISTRY_URL
value: 'https://devspaces.apps.ocp410.crw-qe.com/plugin-registry/v3'
- name: CHE_PLUGIN_REGISTRY_INTERNAL_URL
value: 'http://plugin-registry.openshift-devspaces.svc:8080/v3'
image: 'registry.redhat.io/devspaces/udi-rhel8@sha256:192aa3b05a83ed9af5bcf256ab01268304d8a0b3f2ae0e629a9e046509619610'
memoryLimit: 2Gi
mountSources: true
sourceMapping: /projects
volumeMounts:
- name: nuget
path: /home/user/.nuget
- name: remote-endpoint
path: /remote-endpoint
- name: plugins
path: /plugins
name: tools
- name: nuget
volume:
size: 1G
commands:
- exec:
commandLine: dotnet restore
component: tools
group:
kind: build
workingDir: '${PROJECTS_ROOT}/dotnet-web-simple'
id: 1-update-dependencies
- exec:
commandLine: dotnet build
component: tools
group:
kind: build
workingDir: '${PROJECTS_ROOT}/dotnet-web-simple'
id: 2-build
- exec:
commandLine: dotnet run
component: tools
group:
kind: run
workingDir: '${PROJECTS_ROOT}/dotnet-web-simple'
id: 3-run
apiVersion: workspace.devfile.io/v1alpha2
kind: DevWorkspace
metadata:
annotations:
che.eclipse.org/che-editor: eclipse/che-theia/latest
che.eclipse.org/devfile-source: |
scm:
repo: 'https://github.com/devspaces-samples/dotnet-web-simple.git'
revision: devspaces-3.2-rhel-8
fileName: devfile.yaml
factory:
params: >-
url=https://github.com/devspaces-samples/dotnet-web-simple/tree/devspaces-3.2-rhel-8
che.eclipse.org/last-updated-timestamp: '2022-09-13T14:48:55.639Z'
controller.devfile.io/started-at: '1663080550797'
resourceVersion: '25413006'
name: dotnet
uid: c5bbd6a4-3644-488b-9693-301992bcc56d
creationTimestamp: '2022-09-13T13:20:33Z'
generation: 10
managedFields:
- apiVersion: workspace.devfile.io/v1alpha2
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
.: {}
'f:che.eclipse.org/che-editor': {}
'f:che.eclipse.org/devfile-source': {}
'f:che.eclipse.org/last-updated-timestamp': {}
'f:spec':
.: {}
'f:routingClass': {}
'f:started': {}
'f:template':
.: {}
'f:attributes':
.: {}
'f:dw.metadata.annotations':
.: {}
'f:che.eclipse.org/che-editor': {}
'f:che.eclipse.org/devfile-source': {}
'f:che.eclipse.org/last-updated-timestamp': {}
'f:commands': {}
'f:components': {}
'f:projects': {}
manager: unknown
operation: Update
time: '2022-09-13T14:48:56Z'
- apiVersion: workspace.devfile.io/v1alpha2
fieldsType: FieldsV1
fieldsV1:
'f:status':
'f:conditions': {}
'f:message': {}
'f:phase': {}
manager: devworkspace-controller
operation: Update
time: '2022-09-13T14:49:10Z'
namespace: admin-devspaces
finalizers:
- storage.controller.devfile.io
labels:
controller.devfile.io/creator: b19b0ecb-4299-48cf-bd65-d95b57ef0b6e
spec:
routingClass: che
started: true
template:
attributes:
dw.metadata.annotations:
che.eclipse.org/che-editor: eclipse/che-theia/latest
che.eclipse.org/devfile-source: |
scm:
repo: 'https://github.com/devspaces-samples/dotnet-web-simple.git'
revision: devspaces-3.2-rhel-8
fileName: devfile.yaml
factory:
params: >-
url=https://github.com/devspaces-samples/dotnet-web-simple/tree/devspaces-3.2-rhel-8
che.eclipse.org/last-updated-timestamp: '2022-09-13T13:20:33.610Z'
commands:
- exec:
commandLine: dotnet restore
component: tools
group:
kind: build
workingDir: '${PROJECTS_ROOT}/dotnet-web-simple'
id: 1-update-dependencies
- exec:
commandLine: dotnet build
component: tools
group:
kind: build
workingDir: '${PROJECTS_ROOT}/dotnet-web-simple'
id: 2-build
- exec:
commandLine: dotnet run
component: tools
group:
kind: run
workingDir: '${PROJECTS_ROOT}/dotnet-web-simple'
id: 3-run
components:
- attributes:
app.kubernetes.io/name: tools
che-theia.eclipse.org/vscode-extensions: []
container:
args:
- sh
- '-c'
- '${PLUGIN_REMOTE_ENDPOINT_EXECUTABLE}'
endpoints:
- exposure: public
name: hello-endpoint
protocol: http
targetPort: 5000
env:
- name: PLUGIN_REMOTE_ENDPOINT_EXECUTABLE
value: /remote-endpoint/plugin-remote-endpoint
- name: THEIA_PLUGINS
value: 'local-dir:///plugins/sidecars/tools'
- name: CHE_DASHBOARD_URL
value: 'https://devspaces.apps.ocp410.crw-qe.com'
- name: CHE_PLUGIN_REGISTRY_URL
value: 'https://devspaces.apps.ocp410.crw-qe.com/plugin-registry/v3'
- name: CHE_PLUGIN_REGISTRY_INTERNAL_URL
value: 'http://plugin-registry.openshift-devspaces.svc:8080/v3'
image: >-
registry.redhat.io/devspaces/udi-rhel8@sha256:192aa3b05a83ed9af5bcf256ab01268304d8a0b3f2ae0e629a9e046509619610
memoryLimit: 2Gi
mountSources: true
sourceMapping: /projects
volumeMounts:
- name: nuget
path: /home/user/.nuget
- name: remote-endpoint
path: /remote-endpoint
- name: plugins
path: /plugins
name: tools
- name: nuget
volume:
size: 1G
- name: eclipse-theia-workspacec5bbd6a43644488b
plugin:
kubernetes:
name: eclipse-theia-workspacec5bbd6a43644488b
namespace: admin-devspaces
projects:
- git:
checkoutFrom:
revision: devspaces-3.2-rhel-8
remotes:
origin: 'https://github.com/devspaces-samples/dotnet-web-simple.git'
name: dotnet-web-simple
status:
conditions:
- lastTransitionTime: '2022-09-13T14:48:56Z'
message: No warnings in processing DevWorkspace
status: 'False'
type: DevWorkspaceWarning
- lastTransitionTime: '2022-09-13T14:48:56Z'
message: DevWorkspace is starting
status: 'True'
type: Started
- lastTransitionTime: '2022-09-13T14:48:56Z'
message: Resolved plugins and parents from DevWorkspace
status: 'True'
type: DevWorkspaceResolved
- lastTransitionTime: '2022-09-13T14:48:56Z'
message: Storage ready
status: 'True'
type: StorageReady
- lastTransitionTime: '2022-09-13T14:48:56Z'
message: Networking ready
status: 'True'
type: RoutingReady
- lastTransitionTime: '2022-09-13T14:48:56Z'
message: DevWorkspace serviceaccount ready
status: 'True'
type: ServiceAccountReady
- lastTransitionTime: '2022-09-13T14:48:56Z'
message: DevWorkspace secrets ready
status: 'True'
type: PullSecretsReady
- lastTransitionTime: '2022-09-13T14:49:10Z'
message: DevWorkspace deployment ready
status: 'True'
type: DeploymentReady
- lastTransitionTime: '2022-09-13T14:49:10Z'
status: 'True'
type: Ready
devworkspaceId: workspacec5bbd6a43644488b
mainUrl: >-
https://devspaces.apps.ocp410.crw-qe.com/workspacec5bbd6a43644488b/theia-ide/3100/
message: >-
https://devspaces.apps.ocp410.crw-qe.com/workspacec5bbd6a43644488b/theia-ide/3100/
phase: Running
Workspace start works correctly with devspaces-operator-bundle:3.2-126 built at Fri, Sep 9.
The problem has been firstly reproduced with devspaces-operator-bundle:3.2-131 built at Sat, Sep 10, but I didn't test any repsins in between.
- is caused by
-
CRW-3098 Confirm how to refer to third party IDEs within Dev Spaces, and how/where to document licenses
-
- Closed
-
- is cloned by
-
CRW-3529 Unable to launch sample workspace with any IDE on DS 3.3.0: "The workspace has not received an IDE URL in the last 20 seconds. Try to re-open the workspace."
-
- Closed
-
- relates to
-
CRW-3444 VS Code is run in {{che-code-runtime-description}} container
-
- Resolved
-