Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-1806

Update docs re Openshift connector plugin - need to manually connect to target cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • CRW 2.1.0
    • CRW 2.1.0
    • Dev Spaces
    • None
    • devex docs #182 Apr 1-Apr 21
    • Hide

      Launch a RHPDS instance and install CRW
      Start any workspace
      Install the openshift connector plugin and restart the workspace
      Open the Openshift Application Explorer and try to create a new project on the logged in cluster

      Show
      Launch a RHPDS instance and install CRW Start any workspace Install the openshift connector plugin and restart the workspace Open the Openshift Application Explorer and try to create a new project on the logged in cluster

    Description

      By default the plugin is logs into the cluster as `inClusterUser` which may not have permission to manage projects.

      In this case, an error may be thrown:

      Failed to create Project with error 'Error: Command failed: "/tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.qvkozqtkba.openshift-connector-0.1.4-523.vsix/extension/out/tools/linux/odo" project create test-project ✗ projectrequests.project.openshift.io is forbidden: User "system:serviceaccount:admin-codeready:che-workspace" cannot create resource "projectrequests" in API group "project.openshift.io" at the cluster scope '
      

      To work around this, the user simply needs to log out from the local cluster, and log in as the correct openshift user / cluster details.

      Attachments

        Issue Links

          Activity

            People

              mmaler@redhat.com Michal Maléř
              tdancs Tibor Dancs (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: