[AMQ Broker] The provided "readinessProbe.sh" script fails silently

Solution In Progress - Updated -

Issue

  • the provided readinessProbe.sh scripts fetch an empty list from /proc/net/tcp and since it doesn't get an exception it won't fetch /proc/net/tcp6 where the ports are really are. It then doesn't find any open ports. The problem here is that the value-variable is not stripped before it is split. This results in all ports equals None and then it will always continue - no matter whether the ports are listening or not.

Environment

  • Red Hat AMQ Broker (AMQ) 7.11.0
  • Red Hat OpenShift Container (Openshift) 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