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

[airgap] Cloning private repo from bitbucket returns "Authentication failed"

    XMLWordPrintable

Details

    Description

      Description of problem:

      If the user will try to clone private repository through terminal with in-build extension or terminal after entering correct password authentication will be unsuccessful.

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

      DevSpaces deployed on OpenShift Cluster.

      Steps to Reproduce

      1. Create workspace with VS Code editor, for  example "Empty Workspace"
      2. Open workspace
      3. Go to terminal and try to clone private repo with https: "git clone https://bitbucket-bitbucket.apps.ds-airgap-v12.crw-qe.com/scm/~admin/private-bb-repo.git -c http.sslVerify=false"
      4. Input username
      5. Input password

      Actual results:

      Cloning into 'private-bb-repo'...
      Username for 'https://bitbucket-bitbucket.apps.ds-airgap-v12.crw-qe.com': admin
      Password for 'https://admin@bitbucket-bitbucket.apps.ds-airgap-v12.crw-qe.com'fatal: unable to get credential storage lock in 1000 ms: Read-only file system
      fatal: Authentication failed for 'https://bitbucket-bitbucket.apps.ds-airgap-v12.crw-qe.com/scm/~admin/private-bb-repo.git/'

      Expected results:

      Cloning into 'private-bb-repo'...
      Username for 'https://bitbucket-bitbucket.apps.ds-airgap-v12.crw-qe.com': admin
      Password for 'https://admin@bitbucket-bitbucket.apps.ds-airgap-v12.crw-qe.com'remote: Enumerating objects: 82, done.
      remote: Counting objects: 100% (82/82), done.
      remote: Compressing objects: 100% (59/59), done.
      remote: Total 82 (delta 1), reused 0 (delta 0), pack-reused 0
      Receiving objects: 100% (82/82), 7.65 KiB | 2.55 MiB/s, done.
      Resolving deltas: 100% (1/1), done.
      

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      ocp airgap 4.12; Dev Spaces 3.6.0.RC-05-01

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

      In local VS Code 1.78 works as expected

      It works in online OCP cluster.

      Attachments

        Issue Links

          Activity

            People

              ivinokur-1 Igor Vinokur
              rh-ee-mdolhalo Maryna Dolhalova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: