Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-8476

The provided "readinessProbe.sh" script fails silently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • AMQ 7.10.2.GA
    • container image, operator

      The problem is that when the 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.

              rhn-support-aboucham Abel Bouchama
              rhn-support-aboucham Abel Bouchama
              Mikhail Krutov Mikhail Krutov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: