Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23561

Error in Cloning Submodule with LFS files in Pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Repository - LFS
    • None

      Issue Summary

      Cloning a Submodule with LFS files in a Pipeline result into "Authorization Error" with some specific build images

      This is reproducible on Data Center: No

      Steps to Reproduce

      1. Create a Pipeline in a main repository using build image Debian
      2. Create SSH keys in the Pipeline settings of the main repository
      3. Add the generated Public key in the Submodule repository
      4. Clone the submodule in the main repository 

      Expected Results

      The submodule should be cloned without any issues

      Actual Results

      The submodule clone results into the following error

       

      Cloning into '/opt/atlassian/pipelines/agent/build/tools'...
      Downloading <file> (<File Size>)
      Error downloading object: <object name>: batch response: Authorization error: https://bitbucket.org/<Repo_UUID>/info/lfs/objects/batch
      Check that you have proper access to the repository 

      Workaround

      There are multiple workarounds

              Unassigned Unassigned
              skhandelwal@atlassian.com Sandeep K
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: