Pushing to remote GIT repository via Aria Orchestrator remains in a spinning state without making any progress
search cancel

Pushing to remote GIT repository via Aria Orchestrator remains in a spinning state without making any progress

book

Article ID: 413183

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

Pushing changes to GIT repository from Aria Orchestrator never completes.

Environment

Aria Orchestrator 8.18.x

Cause

Excessive local changes in vRO hinders the ability to push updates to the remote repository

Resolution

Note : Please take non-memory snapshots of Aria Automation cluster and proceed with below steps.

1. Install git client on any Linux virtual appliance

tdnf install git

2. If there is no internet access tdnf will fail. Download git package from the url below and copy it to the Virtual Appliance and install it with tdnf from the local file

wget https://packages.vmware.com/photon/4.0/photon_updates_4.0_x86_64/x86_64/git-2.43.7-1.ph4.x86_64.rpm

tdnf install ./git-2.43.7-1.ph4.x86_64.rpm

3. Clone vRO local git repo in the current folder in the Virtual Appliance

git clone /data/vco/usr/lib/vco/app-server/data/git/__SYSTEM.git

cd __SYSTEM


4. Add proxy if needed. You can use proxy service of the Virtual Appliance if it is already configured

git config --global http.proxy http://proxy-service.prelude.svc.cluster.local:3128

5. Add remote repo (located on github for example) as remote location

git remote add upstream <upstream repo url>

git remote -vv

6. If there are too many local changes for example, you find the last common commit between vRO local git and remote git. After this commit everything will be local changes (commits that have in their message @local-only). You squash them in one commit and rewrite

7. The commit message not to have @local-only in it.

git rebase -i <sha of the last common commit between local and remote repos>

8. Push the changes in the upstream repo

git push upstream main:<remote branch name>