probe.eap.jolokia.EapProbe thrown ad exception with the registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-eap73-openjdk8-openshift-rhel7:7.3.0-2 image.
EAP-7.3.0
$ oc new-app --name=eap-73 registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-eap73-openjdk8-openshift-rhel7:7.3.0-2 --allow-missing-images $ oc get pod | grep eap-73 eap-73-1-deploy 0/1 Completed 0 18s eap-73-1-jng4t 1/1 Running 0 10s $ oc rsh eap-73-1-jng4t sh-4.2$ bash /opt/eap/bin/livenessProbe.sh true probe.eap.jolokia.EapProbe Traceback (most recent call last): File "/opt/eap/bin/probes/runner.py", line 85, in <module> probeModule = importlib.import_module(probe.rsplit(".", 1)[0]) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/opt/eap/bin/probes/probe/eap/jolokia.py", line 21, in <module> from probe.jolokia import JolokiaProbe File "/opt/eap/bin/probes/probe/jolokia.py", line 22, in <module> import configparser as ConfigParser ImportError: No module named configparser
The JDK11 variant of the same image works fine.
EAP-7.3.0.OpenJDK11
$ oc new-app --name=eap-73-openjdk11 registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-eap73-openjdk11-openshift-rhel8:7.3.0-1 --allow-missing-images $ oc get pod | grep eap-73-openjdk11 eap-73-openjdk11-1-deploy 0/1 Completed 0 52s eap-73-openjdk11-1-xwwkt 1/1 Running 0 44s $ oc rsh eap-73-openjdk11-1-xwwkt sh-4.4$ bash /opt/eap/bin/livenessProbe.sh true probe.eap.jolokia.EapProbe { "probe.eap.jolokia.EapProbe": { "probe.eap.jolokia.ServerStatusTest": "running", "probe.eap.jolokia.BootErrorsTest": "No boot errors", "probe.eap.jolokia.DeploymentTest": "No deployments", "probe.eap.jolokia.HealthCheckTest": "No outcome" } }
This is a regression against previous release.
EAP-CD18
$ oc new-app --name=eap-cd registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-tech-preview-eap-cd-openshift-rhel8:18.0 --allow-missing-images $ oc get pod | grep eap-cd eap-cd-1-deploy 0/1 Completed 0 3m50s eap-cd-1-fdwpj 1/1 Running 0 3m41s $ oc rsh eap-cd-1-fdwpj sh-4.4$ bash /opt/eap/bin/livenessProbe.sh true probe.eap.jolokia.EapProbe { "probe.eap.jolokia.EapProbe": { "probe.eap.jolokia.ServerStatusTest": "running", "probe.eap.jolokia.BootErrorsTest": "No boot errors", "probe.eap.jolokia.DeploymentTest": "No deployments", "probe.eap.jolokia.HealthCheckTest": "No outcome" } }
EAP-7.3.0-Beta
$ oc new-app --name=eap-73-beta brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/jboss-eap-7-tech-preview/eap73-openjdk8-openshift-rhel7:7.3.0.Beta-1 --allow-missing-images $ oc get pod | grep eap-73-beta $ oc get pod | grep eap-73-beta eap-73-beta-1-deploy 0/1 Completed 0 2m1s eap-73-beta-1-fx422 1/1 Running 0 113s $ oc rsh eap-73-beta-1-fx422 sh-4.2$ bash /opt/eap/bin/livenessProbe.sh true probe.eap.jolokia.EapProbe { "probe.eap.jolokia.EapProbe": { "probe.eap.jolokia.HealthCheckTest": "Status is UP", "probe.eap.jolokia.DeploymentTest": "No deployments", "probe.eap.jolokia.BootErrorsTest": "No boot errors", "probe.eap.jolokia.ServerStatusTest": "running" } }
- is cloned by
-
CLOUD-3467 livenessProbe probe.eap.jolokia.EapProbe doesn't work on eap73-openjdk8-openshift-rhel7 image
- Verified