Integrating Gitlab in VCF Automation embedded orchestrator fails with error 'cannot open git-upload-pack'
search cancel

Integrating Gitlab in VCF Automation embedded orchestrator fails with error 'cannot open git-upload-pack'

book

Article ID: 430093

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

GIT integration within embedded orchestrator of VCF Automation has following error:
Error: https://REPOSITORY_URL Cannot open git-upload-pack

DEBUG vco [host='vco-app-1' thread='https-####-nio-####-exec-2' user='########' org='########-####-####-####-########' trace='########-####-####-####-########'] {} com.vmware.o11n.git.remote.LsCommandBuilder - ls-remote failed: https://REPOSITORY_URL: cannot open git-upload-pack
org.eclipse.jgit.api.errors.TransportException: https://REPOSITORY_URL: cannot open git-upload-pack

  • Repository URL has .git added at the end as per required format.
  • Curl to repository url fails with: Connection timed out
    curl -v https://REPOSITORY_URL

Environment

VCF Automation 9.x

Cause

Firewall blocking the communication between VCF Automation and GIT.

Resolution

Work with internal Firewall team and ensure there are no rules blocking connection between VCF Automation and GIT.