Liveness check should probe the storage backend for OpenShift

Solution Unverified - Updated -

Issue

  • registry is stuck in a non-usable state
  • There's a liveness check in the registry, but it only checks the API, not the underlying storage, so it doesn't restart automatically

Environment

  • OpenShift Container Platform 3.6
  • integrated OpenShift registry is using glusterfs (CNS).
  • after a loss of connection from the registry to the glusterfs storage with the connection to glusterfs is restored.
  • Connecting to the pod reveals a broken mount point from the registry pod to the glusterfs.
  • In DR scenarios when glusterfs nodes are moved to a different host, or moved back.

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