Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3922

Failed to open the workspace in DS 3.4.0.RC-02-03 with disableContainerBuildCapabilities: false deployed to openshift-operators namespace

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      Description of problem:

      When we try to installDespace into openshift-operators namespace and change disableContainerBuildCapabilities: false workspaces start with failures 

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Get an empty cluster and set up a  DS 3.4.0 with the Operator using UI. We can set up the operator click on the default values
      2. After setting up the operator create Che server instance thing UI in the current  ** openshift-operators namespace
      3. Waiting for installation. Got to the Che-Server and change
      4.  disableContainerBuildCapabilities: -> false 
      5. Got to the DevSpaces Dashboard and create for instance Empty workspace

      Actual results:

      The workspace fails with problem like  Error provisioning rbac: roles.rbac.authorization.k8s.io "devworkspace-use-container-build" is forbidden: user "system:serviceaccount:openshift-operators:devworkspace-controller-serviceaccount" (groups=["system:serviceaccounts" "system:serviceaccounts:openshift-operators" "system:authenticated"]) is attempting to grant RBAC permissions not currently held: {APIGroups:["security.openshift.io"], Resources:["securitycontextconstraints"], ResourceNames:["container-build"], Verbs:["use"]}

      Expected results:

      The workspace should start with enabled build capabilities mode

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

       ** DS 3.4.0.RC-02-03 + DWO.18.0.1

      Additional info (Such as Logs, Screenshots, etc):

      Attachments

        1. openshift-ui-ns-selection.gif
          openshift-ui-ns-selection.gif
          426 kB
        2. screenshot-1.png
          screenshot-1.png
          131 kB
        3. Selection_003.png
          Selection_003.png
          82 kB

        Activity

          People

            amisevsk Angel Misevski
            mmusiien Maksym Musienko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: