Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2041822

Summary: codeReady workspaces is not started and displayed with error logs
Product: OpenShift Container Platform Reporter: BalajiMakam <bmakam>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED NOTABUG QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, nmukherj, rhopp
Target Milestone: ---Keywords: TestBlockerForLayeredProduct
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-10 06:21:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
code ready workspaces failed on OCP 4.10 cluster version none

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