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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.