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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

      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.

        1. Screenshot from 2020-04-14 12-06-10.png
          76 kB
          Nick Boldt
        2. Screenshot from 2020-04-14 12-09-33.png
          109 kB
          Nick Boldt
        3. Screenshot from 2020-04-14 12-09-47.png
          109 kB
          Nick Boldt
        4. Screenshot from 2020-04-14 12-10-13.png
          225 kB
          Nick Boldt

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

                Created:
                Updated:
                Resolved: