Deploy pod fails with error "couldn't get deployment : Unauthorized" in RHOCP4

Solution Verified - Updated -

Issue

  • The Deploy pod of a DeploymentConfig fails with the below error while deploying an application.
error: couldn't get deployment my-app-751: Unauthorized
  • The etcd pod logs populates high clock drift warnings.
2023-04-04T10:17:04.092014322Z {"level":"warn","ts":"2023-04-04T10:17:04.091Z","caller":"rafthttp/probing_status.go:82","msg":"prober found high clock drift","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"2f97cfedf7943407","clock-drift":"3m57.776923806s","rtt":"16.002915ms"}

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4

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