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

Can't start workspace because admission webhook "mutate-ws-resources.che-workspace-controller.svc" denied the request: 'org.eclipse.che.workspace/creator' label is missing.

XMLWordPrintable

      Upstream issue: https://github.com/eclipse/che/issues/17108

      Workaround: remove webhooks from QE OCP:
      1. Download oc client and log into QE OCP
      2. Clone https://github.com/devfile/devworkspace-operator
      3. Execute make uninstall command:

      [ashmaraiev@localhost devworkspace-operator]$ make uninstall
      fatal: not a git repository: 'devworkspace-crds/.git'
      /bin/sh: line 0: cd: devworkspace-crds: No such file or directory
      /bin/sh: operator-sdk: command not found
      kubectl delete devworkspaces.workspace.devfile.io --all-namespaces --all
      No resources found
      kubectl delete devworkspacetemplates.workspace.devfile.io --all-namespaces --all
      No resources found
      kubectl delete workspaceroutings.workspace.che.eclipse.org --all-namespaces --all --wait
      No resources found
      oc delete -f ./deploy
      clusterrole.rbac.authorization.k8s.io "edit-workspaces" deleted
      clusterrole.rbac.authorization.k8s.io "che-workspace-controller" deleted
      clusterrolebinding.rbac.authorization.k8s.io "che-workspace-controller" deleted
      clusterrole.rbac.authorization.k8s.io "view-workspaces" deleted
      Error from server (NotFound): error when deleting "deploy/controller_config.yaml": configmaps "che-workspace-controller" not found
      Error from server (NotFound): error when deleting "deploy/service_account.yaml": serviceaccounts "che-workspace-controller" not found
      make: *** [Makefile:131: _do_uninstall] Error 1
      

            sleshche Sergii Leshchenko (Inactive)
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: