-
Bug
-
Resolution: Done
-
Major
-
7.13.4.GA
-
None
-
False
-
None
-
False
-
CR1
-
-
-
-
-
-
+
-
-
---
-
---
-
-
runOnOpenShift.sh fails to deploy optaweb-vehicle-routing application on OpenShift
[1]CreateContainerError
Error: container create failed: time="2023-10-13T13:11:07Z" level=error msg="runc create failed: unable to start container process: eaccess /deployments/run-java.sh: permission denied"
Solution: Update backend configuration to use registry.access.redhat.com/ubi8/openjdk-11:1.14 with all security parameters preset
Further investigation: After this solution^:
If user wants to add demo location, it causes "403 CORS Rejected - Invalid origin" error.
Steps to reproduce:
1. Go to
http://frontend-vehicle-routing-0b11b31e.apps.production.rhba.baqe.org/
2. In Add location input insert "Garz"
3. From drop down menu choose the first option
Expected :
Button demo-clear-button appear
Actual:
http://frontend-vehicle-routing-b11b31e.apps.production.rhba.baqe.org/api/location
Request Method:
POST
Status Code:
403 CORS Rejected - Invalid origin