Build fails with error "No user exists for uid..."

Solution Verified - Updated -

Issue

Builds fail with errors similar to the following:

"Cloning "git@github.*****.com:example/example-repo.git" ...
error: No user exists for uid 1000370000
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists."

Environment

OpenShift Container Platform 3.9

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