This documentation is for a release that is no longer maintained
See documentation for the latest supported version.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Release notes and known issues
Release notes and known issues for Red Hat OpenShift Dev Spaces 3.1
Abstract
Making open source more inclusive 링크 복사링크가 클립보드에 복사되었습니다!
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.
Chapter 1. About Red Hat OpenShift Dev Spaces 링크 복사링크가 클립보드에 복사되었습니다!
Red Hat OpenShift Dev Spaces is a web-based integrated development environment (IDE). OpenShift Dev Spaces runs in OpenShift and is well-suited for container-based development.
OpenShift Dev Spaces provides:
- an enterprise-level cloud developer workspace server
- a browser-based IDE
- ready-to-use developer stacks for popular programming languages, frameworks, and Red Hat technologies
Red Hat OpenShift Dev Spaces 3.1 is based on Eclipse Che 7.50.
1.1. Supported deployment environments 링크 복사링크가 클립보드에 복사되었습니다!
OpenShift Dev Spaces 3.1 is available on the listed platforms with the listed supported installation methods:
Platform | Architectures | Deployment method |
---|---|---|
OpenShift Container Platform 4.10 |
| |
OpenShift Container Platform 4.11 |
| |
OpenShift Dedicated 4.10 |
| |
OpenShift Dedicated 4.11 |
| |
Red Hat OpenShift Service on AWS (ROSA) 4.10 |
| |
Red Hat OpenShift Service on AWS (ROSA) 4.11 |
|
Additional resources
1.2. Support policy 링크 복사링크가 클립보드에 복사되었습니다!
For Red Hat OpenShift Dev Spaces 3.1, Red Hat will provide support for deployment, configuration, and use of the product.
OpenShift Dev Spaces 3.1 has been tested on Chrome version 101.0.4951.54 (Official Build) (64-bit).
Additional resources
1.3. Differences between Eclipse Che and Red Hat OpenShift Dev Spaces 링크 복사링크가 클립보드에 복사되었습니다!
The main differences between OpenShift Dev Spaces and Eclipse Che are:
- OpenShift Dev Spaces is built on RHEL8 to ensure the latest security fixes are included, compared to Alpine distributions that take a longer time to update.
- OpenShift Dev Spaces uses OpenShift OAuth for user login and management.
- OpenShift Dev Spaces provides a smaller supported subset of plug-ins compared to Che.
- OpenShift Dev Spaces provides devfiles for working with other Red Hat technologies such as EAP and Fuse.
- OpenShift Dev Spaces is supported on OpenShift Container Platform, OpenShift Dedicated, and Red Hat OpenShift Service on AWS (ROSA); Eclipse Che can also run on other Kubernetes clusters.
Red Hat provides licensing, packaging, and support. Therefore, OpenShift Dev Spaces is considered a more stable product than the upstream Eclipse Che project.
Chapter 2. Notable enhancements 링크 복사링크가 클립보드에 복사되었습니다!
2.1. Improved CheCluster custom resource definition 링크 복사링크가 클립보드에 복사되었습니다!
With this update, the CheCluster
custom resource definition is improved to reflect the changes introduced with the switch to the DevWorkspace Operator. OpenShift Dev Spaces administrators now get a shorter and simpler configuration file to maintain.
Additional resources
2.2. Administrator-level settings for default editor and default container 링크 복사링크가 클립보드에 복사되었습니다!
With this update, OpenShift Dev Spaces administrators can now set the default in-workspace editor and default container. The default editor is used when the editor is not specified by using the .che/che-editor.yaml
file in the Git repository or by using the che-editor
URL parameter. The default container is used when a developer doesn’t specify a devfile when starting a new workspace. OpenShift Dev Spaces administrators can set these defaults by using the new defaultEditor
and defaultComponent
fields in the workspaces
section of the CheCluster
custom resource.
Additional resources
2.3. New page for stopped workspaces 링크 복사링크가 클립보드에 복사되었습니다!
Before this update, the browser tab of a stopped workspace displayed a 503 error page when you visited the URL of the workspace or refreshed the tab. With this update, rather than seeing the 503 error, you see a warning message, a link to restart the workspace, and a link to return to the dashboard.
Additional resources
2.4. Removal of the IntelliJ IDEA Community sample devfile 링크 복사링크가 클립보드에 복사되었습니다!
In OpenShift Dev Spaces 3.1, the IntelliJ IDEA Community sample has been removed from the dashboard because you can use this editor with all of the samples. To start a workspace with this editor, use the factory URL parameter or create a .che/che-editor.yaml
file in the Git repository. See the User Guide section Selecting a workspace IDE.
Additional resources
2.5. OpenShift Dev Spaces 3.1 is also supported on Red Hat OpenShift 4.11 링크 복사링크가 클립보드에 복사되었습니다!
This update expands the supported platforms for OpenShift Dev Spaces 3.1 to include OpenShift Container Platform 4.11, OpenShift Dedicated 4.11, and Red Hat OpenShift Service on AWS (ROSA) 4.11, in addition to the already supported OpenShift Container Platform 4.10, OpenShift Dedicated 4.10, and Red Hat OpenShift Service on AWS (ROSA) 4.10.
To upgrade an existing CodeReady Workspaces 2.15 instance to OpenShift Dev Spaces 3, you must do so on Red Hat OpenShift 4.10 before upgrading your cluster to Red Hat OpenShift 4.11. Upgrading CodeReady Workspaces 2.15 on Red Hat OpenShift is only supported on OpenShift Container Platform 4.10, OpenShift Dedicated 4.10, and Red Hat OpenShift Service on AWS (ROSA) 4.10, and is NOT supported on OpenShift Container Platform 4.11, OpenShift Dedicated 4.11, and Red Hat OpenShift Service on AWS (ROSA) 4.11. This is because CodeReady Workspaces 2.15 is only supported on OpenShift Container Platform 4.10, OpenShift Dedicated 4.10, and Red Hat OpenShift Service on AWS (ROSA) 4.10.
Additional resources
Chapter 3. Bug fixes 링크 복사링크가 클립보드에 복사되었습니다!
3.1. Starting new workspaces by using a GitHub pull request URL 링크 복사링크가 클립보드에 복사되었습니다!
Before this update, OpenShift Dev Spaces failed to start a new workspace when using the #https://github.com/<user_or_org>/<repository>/pull/<pull_request_id>
URL syntax. The workspace-starting page displayed the following error message: Failed to resolve a devfile. Failed to request factory resolver: Internal Server Error occurred. With this update, you can start new workspaces with a clone of a GitHub-hosted repository when using the #https://github.com/<user_or_org>/<repository>/pull/<pull_request_id>
URL syntax.
Additional resources
Chapter 4. Known issues 링크 복사링크가 클립보드에 복사되었습니다!
Currently, the admin
users are unable to deploy applications from a Dev Spaces workspace to OpenShift because those users' default projects are not the same as the Dev Spaces workspace project. This problem affects all devfiles that project an example command to deployment the application to OpenShift, including Node JS or Red Hat Fuse. This problem does not affect non-administrative user accounts on OpenShift because such users only have access to one project, which is the default <username>-devspaces
namespace.
Workaround
-
Run the
oc project admin-devspaces
command as theadmin
user. -
Alternatively, use the environment variable and run
oc project $DEVWORKSPACE_NAMESPACE
to select the Dev Spaces namespace as theadmin
user.
Additional resources
4.2. Vert.x Health Check Example failing in restricted environments 링크 복사링크가 클립보드에 복사되었습니다!
Currently, deploying the Vert.x Health Check Example application by running the 6-deploy-to-openshift
command fails in disconnected environments. There is currently no workaround for this issue.
Additional resources
4.3. Private container images cannot be pulled from added container registries 링크 복사링크가 클립보드에 복사되었습니다!
Currently, pulling of a private container image fails when the image is pulled from a container registry that was added in the dashboard,
→ .Workaround
Delete the
devworkspace-container-registry-dockercfg
Secret:oc delete secret devworkspace-container-registry-dockercfg -n <openshift-project>
$ oc delete secret devworkspace-container-registry-dockercfg -n <openshift-project>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create a new
devworkspace-container-registry-dockercfg
Secret:oc create secret docker-registry devworkspace-container-registry-dockercfg --docker-username=<username> --docker-password=<password> -n <openshift-project>
$ oc create secret docker-registry devworkspace-container-registry-dockercfg --docker-username=<username> --docker-password=<password> -n <openshift-project>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Edit the metadata of the new Secret:
labels: controller.devfile.io/devworkspace_pullsecret: 'true' controller.devfile.io/watch-secret: 'true'
labels: controller.devfile.io/devworkspace_pullsecret: 'true' controller.devfile.io/watch-secret: 'true'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Additional resources
4.4. Visual Studio Code on OpenShift with a self-signed TLS certificate 링크 복사링크가 클립보드에 복사되었습니다!
Currently, starting a workspace that uses the Technology Preview Visual Studio Code on OpenShift with a self-signed TLS certificate results in a blank browser tab.
Workaround
- Import the TLS certificate into the browser.
Additional resources
4.5. Workspace starting and deletion might fail 링크 복사링크가 클립보드에 복사되었습니다!
Currently, a workspace might fail to start, and then you might be unable to delete it. This is caused by a persistent volume claim (PVC) issue. Subsequently, the same problem occurs with other workspaces.
Workaround
-
Remove the
DevWorkspace
object of the first stuck workspace. - Remove the PVC that is bound to the invalid volume.
Additional resources
Currently, using the Convert button in the OpenShift Dev Spaces dashboard to convert a Deprecated Node.js workspace with the node-debug
or node-debug2
plug-in fails. The following error message is displayed:
Workspace conversion failed. Failed to create a new workspace from the devfile, reason: Unable to resolve theia plugins ….
In OpenShift Dev Spaces 3.1, the node-debug
and node-debug2
plug-ins have been updated to js-debug
.
Workaround
-
Edit the devfile in the editor in the dashboard page. If the editor in the dashboard page is disabled, copy the devfile contents to a new
devfile.yaml
file. -
Edit your existing v1 devfile(s) to replace
ms-vscode/node-debug/latest
andms-vscode/node-debug2/latest
withms-vscode/js-debug/latest
. - Commit to a Git repository.
Start a new workspace from the edited devfile by using one of the following options:
The factory URL, using the
?new
URL parameter for starting a duplicate workspace:https://devspaces-<openshift_deployment_name>.<domain_name>#<git_repository_url>?new
https://devspaces-<openshift_deployment_name>.<domain_name>#<git_repository_url>?new
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Go to → → → → → .
Additional resources
4.7. Java Gradle sample fails in restricted environments 링크 복사링크가 클립보드에 복사되었습니다!
Currently, there is a known issue with the Java Gradle sample in restricted environments. Running the 1-build
command to build an application might result in the FAILURE: Build failed with an exception error and failure to load a native library or not resolving a plug-in artifact in plug-in repositories. This issue has no workaround.
Additional resources
4.8. Blank Welcome To Your Workspace page in Che-Theia workspaces 링크 복사링크가 클립보드에 복사되었습니다!
Currently, the Welcome To Your Workspace page in Che-Theia workspaces might appear blank when the workspace loads. This is caused by a missing self-signed TLS certificate in the browser.
Workaround
- If you use self-signed TLS certificates to connect over HTTPS to an OpenShift cluster running OpenShift Dev Spaces, import those certificates into your browser.
Additional resources
4.9. CheCluster custom resource retains its pre-upgrade name 링크 복사링크가 클립보드에 복사되었습니다!
Currently, the name of the CheCluster
custom resource remains the same as before upgrading from CodeReady Workspaces 2.15 to OpenShift Dev Spaces 3.1. Customers whose Checluster
custom resource name is codeready-workspaces
before the upgrade will find the same name after the upgrade. This issue has no workaround.
Additional resources
4.10. 502 Bad Gateway or application not available errors 링크 복사링크가 클립보드에 복사되었습니다!
When launching a sample application from the workspace, users can encounter an error message such as 502 Bad Gateway or application not available. The cause of this error is the Theia IDE displaying the notification that the application is ready before the application startup is complete.
Workaround: Wait a minute or two, and reload the browser tab.
See the related issue #21377.
Additional resources
4.11. Users cannot edit profile information in the dashboard 링크 복사링크가 클립보드에 복사되었습니다!
In CodeReady Workspaces 2.15, users were able to edit their profile information in the Account page of the dashboard. Because OpenShift OAuth is now used exclusively for user management in OpenShift Dev Spaces 3.1, users can only edit their user profile within OpenShift. The Account page in the dashboard remains for display purposes only.
Additional resources
4.12. Support for per-workspace storage strategy currently not available 링크 복사링크가 클립보드에 복사되었습니다!
Currently, the per-workspace
workspace storage strategy is not supported due to the change to the DevWorkspace engine. With migration from CodeReady Workspaces 2.15 to OpenShift Dev Spaces 3.1, existing workspaces change to the common
strategy. Setting the PVC storage size other than 10 GB is currently not possible. This issue has no workaround.
Additional resources
4.13. Error in the Cake-php sample project on IBM Power 링크 복사링크가 클립보드에 복사되었습니다!
When using the Cake-php
sample, the Configure Apache Web Server DocumentRoots
task fails with the following error: error sed: couldn’t open temporary file /etc/httpd/conf/sedSgv1Z4: Permission denied
. There is currently no workaround for this issue.
Additional resources
Upgrading a CodeReady Workspaces 2.15 instance with the DevWorkspace engine enabled (Technology Preview) is simpler than the upgrade procedure described in the Administration Guide.
Workaround
- Skip steps 1 and 2 in the upgrade procedure.
In step 5 of the upgrade procedure, use the following two values when setting the environment variables for the migration scripts:
-
export PRE_MIGRATION_PRODUCT_SUBSCRIPTION_NAME=codeready-workspaces2
rather than the documentedcodeready-workspaces
value -
export PRE_MIGRATION_PRODUCT_OPERATOR_NAMESPACE=openshift-operators
rather than the documentedopenshift-workspaces
value
-
-
In step 6 of the upgrade procedure, run only the
./3-subscribe.sh
and./4-wait.sh
scripts. Do not run./1-prepare.sh
and./2-migrate.sh
.
Support for deploying OpenShift Dev Spaces 3.1 with the DevWorkspace engine is available starting with OpenShift Container Platform 4.10. Administrators must upgrade clusters running earlier versions of OpenShift Container Platform to 4.10 or later before subscribing to and deploying OpenShift Dev Spaces.
Additional resources
On IBM Power, the list of supported image streams is missing, which causes component creation to fail. There is currently no workaround for this issue.
Additional resources
4.16. The DEBUG configuration is missing 링크 복사링크가 클립보드에 복사되었습니다!
The DEBUG panel displays No Configurations in the drop-down list because no configurations are loaded.
Workaround
- Refresh the page to display the debug configurations.
Additional resources
4.17. OpenShift Connector plug-in fails to deploy an application in a restricted environment 링크 복사링크가 클립보드에 복사되었습니다!
The OpenShift Connector plug-in fails to deploy because of the inability to access the odo
image in the disconnected environment. There is no workaround for this issue.
Additional resources
4.18. No display for a task after a networking issue 링크 복사링크가 클립보드에 복사되었습니다!
When a task is running and there is some networking issue, the terminal window is cleared and contains no text. Even when the connection is restored, the terminal remains empty and loading. There is no workaround for this issue.
Additional resources
4.19. No delegateCommandHandler error for Java with the JBoss EAP 7.3 devfile 링크 복사링크가 클립보드에 복사되었습니다!
A workspace using Java with the JBoss EAP 7.3 devfile fails with the following error message: No delegateCommandHandler for vscode.java.startDebugSession
. There is no workaround for this issue.
Additional resources
4.20. Unsupported devfiles on IBM Z and IBM Power 링크 복사링크가 클립보드에 복사되었습니다!
Currently, the following devfiles are not supported on IBM Z and IBM Power:
- .Net
- Apache Camel K by Red Hat
This issue has no workaround.
Additional resources
4.21. Workspace creation fails on unstable networks 링크 복사링크가 클립보드에 복사되었습니다!
OpenShift Dev Spaces might fail to create a workspace when the network is unstable. OpenShift Dev Spaces displays an error such as Failed to run the workspace: "Waiting for pod 'workspace9fbid1gnx7273d47.maven-545f8c9cf4-hw79f' was interrupted." This issue has no workaround.
Additional resources
4.22. Language server features are not preinstalled in Go workspaces 링크 복사링크가 클립보드에 복사되었습니다!
Currently, Golang-based workspaces do not include basic language server features such as code autocompletion.
Workaround
- Run the OpenShift Dev Spaces instance in a non-restricted environment.
- Install the required module by clicking Install in the IDE dialog box.
Additional resources
4.23. Debugging cannot be activated in Go workspaces on IBM Z and IBM Power 링크 복사링크가 클립보드에 복사되었습니다!
On IBM Z and IBM Power, the debugging features cannot be activated in the Go workspace in OpenShift Dev Spaces 3.1. Delve, the required debugger for the Go programming language, is not available for these platforms. Because the debugger doesn’t exist, attempting to use it results in a Failed to continue error message. This issue has no workaround.
Additional resources
Chapter 5. Frequently asked questions 링크 복사링크가 클립보드에 복사되었습니다!
- Is it possible to deploy applications to an OpenShift cluster from OpenShift Dev Spaces?
-
Yes. The user must log in to the OpenShift cluster from their running workspace using
oc login
. - For best performance, what is the recommended storage to use for Persistent Volumes used with OpenShift Dev Spaces?
- Use block storage.
- Is it possible to deploy more than one OpenShift Dev Spaces instance on the same cluster?
- It is not recommended. This feature is subject to removal in a future release.
- Is it possible to install OpenShift Dev Spaces offline (that is, disconnected from the internet)?
- Yes. See Installing OpenShift Dev Spaces in restricted environments.
- Is it possible to use non-default certificates with OpenShift Dev Spaces?
- Yes, you can use self-signed or public certificates. See Importing untrusted TLS certificates.
- Is it possible to run multiple workspaces simultaneously?
- Yes. See Configuring the number of workspaces that a user can run.
- What specific changes have been implemented for IBM Power Systems?
The memory limit for some plug-ins has been increased, to give Pods sufficient RAM to run.
Expand Table 5.1. Example memory limits differences between IBM Power System and other architectures Plug-in IBM Power System Other architectures Che-Theia editor
2G
512M
OpenShift connector
2.5G
1.5G