oc commands giving error "connection reset by peer" in RHOCP4

Solution Verified - Updated -

Issue

  • connection reset by peer' error upon executingoccommands againstAPI calls`
  • Is it possible to deploy multiple OCP4.x clusters on the Same Network?
  • What are the potential risks if there are multiple clusters on the same network?
  • How to configure custom VRID in keepalived.conf during the IPI Installation?
  • How to specify VRIDs in keepalived.conf post successful OCP deployment?
E1017 08:01:12.150418 4006359 request.go:1011] Unexpected error when reading response body: read tcp 10.x.x.x:46164->192.x.x.x:6443: read: connection reset by peer
error: unexpected error when reading response body. Please retry. Original error: read tcp  10.x.x.x:46164->192.x.x.x:6443: read: connection reset by peer

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • VSphere IPI
  • Keepalived

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