[AMQ Broker] The provided "readinessProbe.sh" script fails silently
Issue
- the provided
readinessProbe.shscripts fetch an empty list from/proc/net/tcpand since it doesn't get an exception it won't fetch/proc/net/tcp6where 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 equalsNoneand 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.