Bug 2041822 - codeReady workspaces is not started and displayed with error logs
Summary: codeReady workspaces is not started and displayed with error logs
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jaivardhan Kumar
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-18 10:45 UTC by BalajiMakam
Modified: 2022-06-10 06:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-10 06:21:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
code ready workspaces failed on OCP 4.10 cluster version (119.72 KB, image/png)
2022-01-18 10:45 UTC, BalajiMakam
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CRW-2652 0 None None None 2022-01-19 05:18:40 UTC

Description BalajiMakam 2022-01-18 10:45:33 UTC
Created attachment 1851545 [details]
code ready workspaces failed on OCP 4.10 cluster version

Created attachment 1851545 [details]
code ready workspaces failed on OCP 4.10 cluster version

Description of problem:
Select the code ready workspaces operator icon of a workload in topology page and workspace is not getting loaded instead failed with error.


Version-Release number of selected component (if applicable):
Code ready workspaces operator [2.14.0/2.13.0]is installed in OCP cluster version: 4.10.0-0.nightly-2022-01-17-023213

How reproducible:


Steps to Reproduce:
Create the workload with below steps
1.Login as Developer using added htpasswd credential.  Click on Add item and select 
Go into the topology view
2. Click +Add
3. Click From Git
4. In the Git Repo URL field, enter https://github.com/edeandrea/summit-lab-spring-music.git
5. Expand Show Advanced Git Options
6. In the Git Reference field, enter pipeline
7. In the Resources section, select Deployment Config
8. In the Advanced Options section, click the word Labels and enter the label app.openshift.io/runtime=spring and hit enter
9. Click Create
10. After build complete, click on the code ready workspaces icon


Actual results:
code ready workspaces is not started and displayed with error logs

Failed to run the workspace: "Plugins installation process failed. Error: Unrecoverable event occurred: 'FailedMount', 'MountVolume.SetUp failed for volume "ssshkeyconfigvolume" : object "user1-codeready"/"workspaceh05yzl2aipmyd2j8.sshconfigmap" not registered', 'workspaceh05yzl2aipmyd2j8.che-plugin-broker'"


Expected results:
code ready workspaces should be displayed


Additional info:
Verified with both crw 2.13 and crw 2.14 operator versions on OCP 4.10 cluster, error is displayed on starting workspace

For 2.14 installation, follow the steps: https://docs.google.com/document/d/1LIFweQV-t0nhNPjXYiJp7h93M7zDtFwCcRq-EqdfdHY/edit?pli=1#heading=h.hu9080ifwvit

Comment 1 Jaivardhan Kumar 2022-01-18 15:21:32 UTC
the error reported here looks like an issue from Che end

```
Failed to run the workspace: "Plugins installation process failed. Error: Unrecoverable event occurred: 'FailedMount', 'MountVolume.SetUp failed for volume "ssshkeyconfigvolume" : object "user1-codeready"/"workspaceh05yzl2aipmyd2j8.sshconfigmap" not registered', 'workspaceh05yzl2aipmyd2j8.che-plugin-broker'"
```

as per the message `Plugins installation process failed` this should be in che, as from it just redirects to che.

Comment 2 BalajiMakam 2022-01-18 15:59:51 UTC
Unable to identify the crw component in Bugzilla, so selecting devconsole as component

Comment 3 BalajiMakam 2022-01-19 05:18:40 UTC
Created a separate ticket in Jira to track this defect: https://issues.redhat.com/browse/CRW-2652

Comment 5 Jaivardhan Kumar 2022-06-10 06:21:27 UTC
Closing it as per linked ticket in jira https://issues.redhat.com/browse/CRW-2652


Note You need to log in before you can comment on or make changes to this bug.