-
Bug
-
Resolution: Done
-
Critical
-
7.13.4.GA
-
None
-
False
-
None
-
False
-
-
-
-
-
-
+
-
+
-
Workaround Exists
-
-
-
---
-
---
-
-
Kie Server S2I build on the verification of the project build in the image, because there is no java command available in the image. Failing script is here https://github.com/jboss-container-images/jboss-kie-modules/blob/7.13.x/jboss-kie-kieserver/added/launch/kieserver-verify.sh#L23
Failing verification in S2I cause a loop for the build and Kie Server S2I image is not able to deploy image.
The failure is cause by missing java command in /usr/bin.
Installation of java-11 is done during image build (via cekit) using microdnf install command, the installation script is part of the cct_modules https://github.com/jboss-openshift/cct_module/tree/0.39.8/jboss/container/openjdk/jdk/11 and for the image build it is defined here https://github.com/jboss-container-images/rhpam-7-openshift-image/blob/7.13.x/kieserver/image.yaml#L301
Step with installation of java in build passed and there are no error or warning, JAVA_HOME is set and also the whole image can be start and Kie Server on EAP works fine. Also java is set to the alternatives. Only the symlink in the /usr/bin is missing. Same issue we spot in Dashbuiler image, but for the rest of the images the java command works and symlink is available in /usr/bin.
This issue was not spotted before, and current 7.13.4 GA image (rhpam-kieserver-rhel8:7.13.4-3) does have the java symlink available. This problem was spot in cve image rebuilds during testing.