You just have to make a service acc and role bindings and apply it to your deployments.yaml file(Or else delete the deployment.yaml file and try this below):
Copy and paste it from UI . click on the '+' icon and directly paste the below after deleting the .yaml file:
Just change the namespace to your porject name. It will work.
Original Message:
Sent: Fri November 07, 2025 12:04 PM
From: HEMANT KHOT
Subject: Permission denied error while deploying IBM ACE Docker image on Red Hat OpenShift
Hi Abhishek,
In OpenShift environments, containers don't always run as the fixed user aceuser.
Instead, OpenShift enforces Security Context Constraints (SCC) which run the container using a random non-root UID (for example, 1001), belonging to the root group (gid 0).
Because of this:
Files owned only by aceuser:aceuser may become inaccessible when OpenShift assigns a different UID at runtime.
To ensure the container runs safely without requiring root privileges, we pre-set ownership and group permissions on all relevant directories (/home/aceuser and /var/mqsi).
The command chown -R 1001:0 and chmod -R g+rwX (or 777 in some cases) make sure that whichever user OpenShift assigns can still read/write the required paths.
In short: These extra permission commands make the image OpenShift-compatible and non-root ready, following Red Hat container security guidelines.
So, while the basic example (USER root → chown → USER aceuser) works fine on Docker or plain Kubernetes,
OpenShift needs slightly broader permissions to support its security model.
------------------------------
HEMANT KHOT
Original Message:
Sent: Fri November 07, 2025 04:03 AM
From: Abhishek Sahani
Subject: Permission denied error while deploying IBM ACE Docker image on Red Hat OpenShift
Hi Hemant,
As per the document,
USER root
RUN chown -R aceuser:aceuser /home/aceuser/initial-config /home/aceuser/ace-server
USER aceuser
this much changes are given but what you shared is:
USER root RUN mkdir -p /home/aceuser/ace-server \ /var/mqsi/registry/utility/HASharedWorkPath && \ chown -R 1001:0 /home/aceuser /var/mqsi && \ chmod -R g+rwX /home/aceuser /var/mqsi && \ chmod -R 777 /home/aceuser /var/mqsi
Could you please let me know why such changes are required?
------------------------------
Abhishek Sahani
Original Message:
Sent: Thu November 06, 2025 01:35 PM
From: HEMANT KHOT
Subject: Permission denied error while deploying IBM ACE Docker image on Red Hat OpenShift
Hi Francois,
Thank you for your suggestion.
I have tried updating the chown command to use mqbrkrs:mqbrkrs as you recommended, and I also tried 1001:1001. Unfortunately, the pod still goes into a CrashLoopBackOff with the same permission error on /var/mqsi/registry/utility/HASharedWorkPath.
I am deploying this on Red Hat OpenShift Developer Sandbox. I have the following available for review:
Could you please check and guide if this issue can be resolved, or if there is a different recommended approach for running IBM ACE on OpenShift's restricted SCC?
Best regards,
Hemant Khot
------------------------------
HEMANT KHOT
Original Message:
Sent: Thu November 06, 2025 08:05 AM
From: Francois Brandelik
Subject: Permission denied error while deploying IBM ACE Docker image on Red Hat OpenShift
Have you tried deploying the base image instead of the custom one and do you get the same result or a different one?
What group has permissions on the Integration server's path?
Is the user running the integration a member of the mqbrkrs group?
------------------------------
Francois Brandelik
Original Message:
Sent: Wed November 05, 2025 11:38 AM
From: HEMANT KHOT
Subject: Permission denied error while deploying IBM ACE Docker image on Red Hat OpenShift
Description:
Hello IBM Support Team,
I have created a custom IBM ACE Docker image using the base image ibmcom/ace:11.0.0.6.3-amd64.
The image builds successfully and runs locally, but when I deploy it to Red Hat OpenShift, the pod repeatedly goes into a CrashLoopBackOff state.
Below are the key details:
Dockerfile Used
Error Observed in Pod Logs
Additional Details
Platform: Red Hat OpenShift Developer Sandbox
Namespace: khotbaba-111-dev
Deployment Type: Custom-built ACE image deployed using oc new-app
Pod Status: CrashLoopBackOff
ACE Version: 11.0.0.6.3-amd64
Request for Assistance
Could you please review this configuration and suggest:
If any specific directories under /var/mqsi or /home/aceuser require different permissions or ownerships when running on OpenShift's restricted SCC.
Whether IBM recommends a different USER or file permission strategy for ACE base images on OpenShift.
Any known fixes or ACE base image versions that resolve this "Permission denied" issue with /var/mqsi/registry/utility/HASharedWorkPath.
------------------------------
HEMANT KHOT
------------------------------