Some OpenShift GitOps applications are stuck in unknown status with error "exit status 128"

Solution Verified - Updated -

Issue

  • Some of the GitOps applications are stuck in unknown status.
  • Getting exit status 128 when trying to sync applications.
  • After updating OpenShift GitOps, some applications are showing the following error:

    Unable to load data: error acquiring repo lock: failed to initialize repository resources: rpc error: code = Internal desc = Failed to fetch default: `git fetch origin --tags --force --prune` failed exit status 128: fatal: could not read Username for 'https://my.repo.com/': terminal prompts disabled
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift GitOps Operator
    • 1.14
    • 1.15

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content